Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I configure Auto Scaling with boto using scaling policies and metrics?

I'm trying to configure Auto Scaling with boto using scaling policies and metric alarms rather than triggers now that they are being deprecated. I have successfully created a launch configuration and a Auto Scaling group, but am having trouble creating scaling policies and metric alarms. If anyone could provide some links to some examples, or provide some of there own, it would be much appreciated.

like image 746
nicksweet Avatar asked Jan 05 '12 05:01

nicksweet


1 Answers

A concise but well documented code example from active boto committer Liam Friel is his gist that Demonstrates using patched boto to create an autoscaling group of servers, scaled up/down by CPU Utilisation.

A more elaborate and less code centric writeup on the subject matter is WallOfFire's tutorial Setting up Queue-size-based auto scaling groups in AWS, which apparently addresses current shortcomings within the AWS documentation as well.

In case none of these enable you to overcome your hurdles, you should amend your question with more details regarding the trouble you have.

Good luck!

like image 112
Steffen Opel Avatar answered Sep 21 '22 18:09

Steffen Opel