Using DigitalOcean features to create a reliable server architecture

Today I have several droplets for single tasks:

  • Apache / PHP - Quantity: 1
  • PostgreSQL - Quantity: 1
  • NodeJS - Quantity: 1
  • ElasticSearch - Quantity: 1

Unfortunately on November 14, 2018 one of these droplets went offline due to a hardware failure on the server and the Hypervisor was under maintenance.

I know this has little chance of occurring, but when it did it caused huge inconvenience for us.

What would be the best way to use DigitalOcean’s features to prevent this? That is, when one server crashes there is another ready to run immediately.

Can using the load balancing feature solve this? Are there any risks of both droplets having hardware failure?

What are your suggestions?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.


Just came across this question. I believe that a good setup using the DigitalOcean products would be:

  • A Managed Loadbalancer to distribute the traffic between your Servers
  • A couple of Droplets behind that Load balancer to serve your Apache/PHP application
  • A Managed PostgreSQL cluster so that you could have a stand by failover node
  • Spaces for your static files

The setup would look like a little bit this:

This is taken from this tutorial here:

This tutorial is specifically for Laravel, but the scaling itself is applicable to all kinds of applications.

Best, Bobby