load balancer the load balancers

  • Posted July 29, 2013

I am trying to figure out how to use your service to host a load balancer server with web servers set up in the back end. The front end load balancers would be nginx solely for proxying, caching and load balancing the traffic to the two back-end web servers. Of course I need to make sure that neither server fails so I am creating a pair of them to load balance each other.

My question is how to I set up a pair of nginx (or any other tech, ex. haproxy) in a cluster. Other environments provide a VIP that I would use for external access. I would then set up my DNS to point to this VIP. If one of the servers goes down, no big deal.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Thanks Jon! I will be keeping an eye on DO in the future.

Hi Brad, <br> <br>Not sure if Digital Ocean can support this, but here’s a link to a vanilla way of pairing nginx instances using Linux heartbeat: <br> <br> <br> <br>Enjoy! <br>

thanks for the response! <br>I have gone through these articles and I see that there still exists the problem that I am trying to solve; eliminate any single point of failure. If my load balancer fails my entire site will be down until that droplet can start back up again.