Chef recipe to auto scale apps deployment

Hi,

I am looking at ways to auto scale my infrastructure based on the
cpu/memory used by the apps,i know there is something similar in AWS,

this what i am trying to do ,

1 check cpu/memory usage on a server
2 if hits the fan on 1 above then pick a server from a list of serves
listed in a file
3. run the app on the server picked from 2.

Please advise, i believe someone has already done this in past i just don’t
know where and how to start it.

Thanks
Manoj

I’d use the nagios cookbookhttps://github.com/opscode-cookbooks/nagios and write checks that when these things happen scale up and scale down. It’s kinda hacky but with enough testing you should be able to make it happen.

Best Regards,
JJ Asghar
e: jj.asghar@peopleadmin.com | c: 512.619.0722 | o: 512.977.5876

From: Manoj Thakkar <manoj.thakkar@gmail.commailto:manoj.thakkar@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Wednesday, October 16, 2013 2:43 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] chef recipe to auto scale apps deployment

Hi,

I am looking at ways to auto scale my infrastructure based on the cpu/memory used by the apps,i know there is something similar in AWS,

this what i am trying to do ,

1 check cpu/memory usage on a server
2 if hits the fan on 1 above then pick a server from a list of serves listed in a file
3. run the app on the server picked from 2.

Please advise, i believe someone has already done this in past i just don’t know where and how to start it.

Thanks
Manoj