Use HAProxy or Nginx to Load Balance between VPS
Posted
by
xperator
on Server Fault
See other posts from Server Fault
or by xperator
Published on 2012-11-08T08:19:35Z
Indexed on
2012/11/08
11:07 UTC
Read the original article
Hit count: 227
I want to load balance + failover backup multiple vps webservers hosted on different providers.
I heard that for HAProxy you need multiple server under the same subnet, plus a shared (virtual) ip address between load balancers.
But it's not possible in my case cause every VPS is on different node/network.
- Is there a way to use HAProxy in this kind of setup ? ( Please explain how briefly, I don't want to hear your "YES" answer )
- What about NginX? Is it possible to achieve same result with Nginx ? (when servers are located on different nets)
I know about Round Rubin DNS, but it doesn't provide a real failover solution, neither a load balance between servers.
© Server Fault or respective owner