Question

Autoscaling solutions for Digital Ocean - are there existing solutions?

Hello. Our company is a Digital Ocean customer, we use it exclusively for all our projects. We love it =). And I personally love DO, and was an initiator to move our infrastructure to Digital Ocean.

My question is - does anyone know about such projects (open source or not)? I think, it is possible - Digital Ocean have awesome API that allows create/remove droplets, use snapshots, etc.

I was not able to find any (one small project on github, actually) and I want to implement it myself (if there is no such software). It seem pretty interesting.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

you can simply use DO API. we have some example configs here: https://github.com/magenx/Digitalocean-Auto-Scaling-Droplets-Auto-Scale-DIY

the idea is to check the load on master droplet and start new droplet if load is too high. configure it, rsync files and inject ip into load balancer.

This is a very interesting question. One I’ve spent considerable time working with for a lot of my projects as well. This really comes down to deciding what languages and tools you want to invest in, or which languages you are already familiar with to work on.

There are a couple components to any software solution that can do this. The ability to get feedback when your system is under- or over-loaded, and the logic/code for deciding when to build out or break down. The build-out and break-down part benefits from automation tools and the feedback part can leverage automation tools or monitoring solutions.

Check out the links to articles for saltstack, chef, puppet, ansible, vagrant and monitoring or search for any other tools you may already be acquainted with as they may already provide modules or extensions that can help get this type of solution off the ground.

Many of these already support getting information from the systems that are managed which can cover the feedback side of auto-scaling or you can use any type of monitoring software ( and interface with your automation tools ) that works for you. Some already have components for integrating with our API through modules to make things even easier as well.

The key thing to note here is that it will take quite a bit of an investment to work up configurations, find what works with the feedback for deciding which/when services get broken down or built up, and interface all the components in a reliable way. I typically leverage existing tools for this, but if you start something small that gets the job done, you could build it up to something beautiful and powerful.

We (ActOnCloud) are working on a solution for Digital Ocean; ActOnCloud for DO will be available in August. Pls read: http://www.actonmagic.com/blog/getting-started-actoncloud-auto-scaling/ and let me know if you have feedback for us.