How to setup auto-healing droplets?

We are in the process of moving from AWS where we have a highly available system setup using EC2’s auto scaling feature. However, we aren’t using this to change the size of the pool based on resource usage, we are strictly using it to spin up new instances when one of them fails or becomes unresponsive.

Since DO doesn’t have an auto-scale type feature, what are some options to achieve this with DigitalOcean? My first thought was to create a droplet that monitors the others, but then that droplet becomes a single point of failure. Are there any services out there for this that aren’t overkill for what seems like a fairly simple task or established patterns that we could script with the API that don’t create a single point of failure?

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.

Accepted Answer

We ended up writing our own solution to somewhat mimic the behavior in EC2. We called it healthcare.js and open-sourced it at Essentially, it uses the DigitalOcean API and tags for discovery, and then uses democracy.js ( to monitor which servers are running. This allows for a fully distributed self-healing system that will kill/re-build servers based on the passed server configs.

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up

    card icon
    Get our biweekly newsletter

    Sign up for Infrastructure as a Newsletter.

    Sign up
    card icon
    Hollie's Hub for Good

    Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

    Learn more
    card icon
    Become a contributor

    You get paid; we donate to tech nonprofits.

    Learn more
    Welcome to the developer cloud

    DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

    Learn more ->
    DigitalOcean Cloud Control Panel