I am running Ubuntu 14.04 and I want to implement a simple yet effective Failover for my Wordpress site, to enable High Availability.
Currently, I am running my Wordpres site on just 1 Droplet. I was thinking about cloning the current Droplet and setup MySQL Master-Master replication in combination with DNS failover from DNSMadeEasy. However, the failover time is too long. It takes up to 10 minutes before the failover takes effect due to the nature DNS works with TTLs and such.
Hence, I started looking for another solution and found this: https://www.linode.com/docs/websites/cms/high-availability-wordpress However, DigitalOcean does not offer Load Balancers, so I am looking for alternatives…
My requirements are as pretty simple: In case the main/master Droplet goes down, it should switch over to the Backup/Failover Droplet. That’s all. No load balancing required, just failover only. Ofcourse, this requires that the databases on both Droplets are continously synced, else a failover makes no sense. Also, As soon the main/master Droplet comes back online, it should automatically sync the database again and switch back over to the main/master Droplet.
Would you please advise if this can be done on Digital Ocean? I would greatly appreciate if you provide me with a simple tutorial or hints to do it. I am still beginner to this technology.
This textbox defaults to using Markdown to format your 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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!