Question

Auto Scaling - possible with DO? And what are your suggestions on what/how?

I have a centos droplet here on DO, 8GB, with a Wordpress site on it.

I’m doing about 10,000 hits a day now. The server has handled spikes up to 16,000/day with no trouble.

But were publishing more and more and I’m concerned about getting a sudden surge of traffic. I want to be able to handle the digg effect as best as I can with little to no downtime.

So I’m looking at auto scaling. I see some hosts offer it through a control panel, but DO doesn’t seem to.

But I did find this:

https://www.digitalocean.com/community/tutorials/how-to-scale-your-infrastructure-with-digitalocean

It makes it look like I could scale up RAM, which is what I think would need during a crush… I think. Maybe CPU too? (Anyway to figure that out ahead of time?)

But I don’t see anything related to the pricing for scaling up specific resources like this (I thought all DO offered was the set plans, didn’t realize individual resources were available like this).

Or… would I be better off setting it up to scale up another droplet and load balancing (which I know little about)? And is that instant, or does it take a few minutes to scale up?

hmmm. I guess what I need is some suggestions on the best way to handle this issue. I’m not sure what the best solution is or if DO even has a good solution.

Appreciate any thoughts/ideas on this -

Chris


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.

Hi,

I needed to manage server creation form command line with some scripts, and I need it from different platforms (windows, linux, macos), so I’ve done it myself with java

https://github.com/naarani/selenev/wiki/DigitalOcean-provisioning

you’ll can customize the script with digital ocean zone, hardware, etc…

Hello Chris,

We support autoscaling for Digital Ocean.

How to deploy autoscaling on DO: http://www.actonmagic.com/blog/digital-ocean-autoscaling/

Also refer to: https://www.digitalocean.com/community/projects/actoncloud

Please let us know how we can help.

Cheers, Madan

ps: Inject ip into load balancer is WIP, which can be performed by ActOnCloud Agent on HA Proxy.