I suggest you ...

Autoscale using saved images when behind a load balancer

You already have alerts and images (snapshots/backups), now all you have to do, is setup some config that when XYZ alert goes off (80% CPU) auto spin up a new droplet (size determined by config) and attach that to the load balancer. This Droplet would start accepting traffic once the health check passes.

As a phase 2, when certain alerts get hit (cpu below 20% for 60 minutes), then de-scale by killing off the youngest droplet.

It seems like all the pieces of the puzzle are there, and it appears that nobody has asked for this specifically like this before on here. Please correct me if I'm wrong.

25 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    David Plappert shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Ben Yanke commented  ·   ·  Flag as inappropriate

        Minor point: if you killed off the oldest droplet, it would help with configuration drift and other bugs which only manifest in long-running systems.

      Feedback and Knowledge Base