Question
Is it possible to have Multiple HaProxy?
Hello,
I just read this tutorial serie https://www.digitalocean.com/community/tutorials/an-introduction-to-haproxy-and-load-balancing-concepts
I have a question, with this haProxy, pretty much any server could go down, and the user won’t see a anything. But what about the haProxy server?
What if he goes down?
Is there a way to have 2 HaProxy (or more)? So one could go down and everything is still working?
Thank you
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
For this to work you would need an IP that floats between the 2 HAProxy Droplets. DO doesn’t offer floating IPs as of now.
Another way is to configure DNS failover with a low TTL value. AWS Route53 supports this feature, but if a client doesn’t obey this TTL they’ll get to the Droplet which is offline.