I'm in the process of coming up with a highly available Apache / MySql group of virtual servers using HAProxy Reverse Proxy & Keepalive.
I'm aware that I'm going to be using a floating public ip, then configuring HAProxy to relay traffic to the servers in the configuration file.
As far as I understand, all server instances need to be on the same network, this is a problem as if the datacenter does down, the group of servers fails. How can I create a highly available setup that does not require all virtual servers to be under one single network. I assume the problem will lie on the floating ip and HAProxy.
2 servers on Digital Ocean 2 servers on Linode 2 servers on aws
Digital Ocean specifies on this page "Both servers must be located within the same datacenter and should have private networking enabled."
They are using keepalive.