As the two location on DO are sometimes not available, either due to non availability or DDOS or others. So I wanted to know whether there is anyway to make use of 2 location and then use either of the server in case on failure of 1 server.
Thanks of any help
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Depending on the circumstance, you might want to use a cache instead as well.
Then you need to duplicate the database, in case one is failed
You can use a DNS service such as Amazon Route 53 with Health Checks so you can create two droplets in two different regions and have Amazon route to the second droplet if the first droplet cannot be reached.