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.
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
Click below to sign up and get $100 of credit to try our products over 60 days!
I don’t even need any file copying or anything else really, just provisioning of new VMs when load is close to 100%. Seems like a regular thing that should already exist, I just don’t know where to start.
Basically ideal horizontal scaling, no load balancers or anything, just more workers needed.
Cen,
This type of structure also very much depends on what you’re using those two pools of Droplets for - are these database servers, web servers, load balancers, app backend servers… etc. Essentially, what is creating the load on these servers, and how would a new Droplet mitigate this issue?
i do not think it is ridiculous.
You’re asking for something ridiculously complex and the solution is really to try the plethora of different solutions and buzzwords you found. This level is automation is a huge undertaking for most people. Try tools, see how they work, and try to accomplish your goal.