Report this

What is the reason for this report?

Automatically spin up droplets depending on the current load

Posted on December 1, 2015
cen

By cen

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.



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.

Try kubernetes managed by rancher

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.