goldfire
By:
goldfire

How to setup auto-healing droplets?

April 5, 2018 180 views
API Configuration Management Deployment High Availability Load Balancing Scaling System Tools Ubuntu 16.04

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?

2 Answers

Your idea of using one node as a monitor / controller for the cluster could work, but agreed it would be a single point of failure. You could elaborate on this and use two or more droplets for this task to create a failover.

However it sounds like you would like setup an immutable infrastructure, perhaps something like a Kubernetes cluster?

-- https://go.digitalocean.com/containers-and-microservices-webinars-series

Have another answer? Share your knowledge.