Load balancing between servers in different regions mainly for high availability
We have set up new droplets and a load balancer.
Our main objective is to get syncing between two servers in different locations so that if one goes down the other one stays up and handles everything.
So we started doing our app on Droplet 1 (France)
And now we added These two:
Droplet 2 : for database (Amsterdam)
Droplet 3 : For copy of the system
Load Balancer 1 For balancing between Droplet 1 and 3
However, when adding droplets to the load balancer, the droplet 1 from France is not appearing. Why is that. The whole idea is to be able to switch traffic to another region if the server is overloaded or if there is some form of catastrophe in one of the halls.
- How can we get load balancing to work between Droplet 1 and 3?
Question two is regarding the fact that with the above setup, if Amsterdam goes down, that would include the database rendering the France server useless.
2.How could we also sync the database so both servers have an updated database in case one of the server halls go down?
Do you maybe have or know of any solutions that could help us do this?