Question

Automatically spin up droplets depending on the current load

I want to setup a master droplet with some kind of orchestration/provisioning tool and then say “here is an initial Linux slave and an initial FreeBSD slave. When either type is overloaded, automatically spin up additional droplets of that type”.

Basically, automatic horizontal scaling of two server pools. I don’t want to manually have to create new droplet, it needs to be automatic depending on the load.

Can someone point me in the right direction? I’ve been reading around about various orchestration and provisioning tools but I just got lost in the plethora of different solutions and buzzwords which may or may not be what I am looking for.

Show comments

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.

Hi Cen,

Your best bet with something like this would probably be some custom code using the DO API. I would probably approach this with some python code and a lib like Skiff (https://github.com/Shrugs/skiff).

There is also some additional info out there located here: https://www.digitalocean.com/community/tutorials/how-to-automate-the-scaling-of-your-web-application-on-digitalocean https://www.digitalocean.com/community/search?q=automatic+scaling

Regards,

–Andrew