postgresql_cluster icon indicating copy to clipboard operation
postgresql_cluster copied to clipboard

Single Cloud Load Balancer (LB) with multiple ports

Open PhilWaldmann opened this issue 7 months ago • 4 comments

Hello,

I've created a PR that provides a single Hetzner LB with multiple ports – instead of one LB for primary, replica, and other servers. I'm still missing additions for AWS, Azure, and other servers. I'd like to know if the style/variable names are suitable for you.

Thanks, Philipp

PhilWaldmann avatar Apr 20 '25 21:04 PhilWaldmann

Hi @PhilWaldmann! Thank you for your contribution.

I'm still missing additions for AWS, Azure, and other

It would be nice to work this out for other clouds in the future. Would you like to try to implement this?

vitabaks avatar Apr 22 '25 06:04 vitabaks

I'll give it a try in the next few days!

PhilWaldmann avatar Apr 22 '25 08:04 PhilWaldmann

Hi, unfortunately it took a while. I'm not sure if it's doable with AWS, Digitalocean and GCP - the health checks can't be configured per "service", so it would lose all its usefulness. I've just read the ansible docs for the relevant services. Do you know if for example the aws classic LB is able to configure individual health checks per port?

PhilWaldmann avatar Jul 11 '25 23:07 PhilWaldmann

I'll take a look at it a bit later.

vitabaks avatar Jul 14 '25 07:07 vitabaks