EC2.ini file and EC2_ScaleUp usage

How can I use the ec2.ini file? In the code there is a function that is called EC2_ScaleUp. How is this called and what is the $ec2_config parameter?


  • Rahul

Your best bet is to use the ec2 scaling script in the cli directory. You put it in cron to run every 15 minutes and it looks at the work queue lengths and spins up/terminates instances as needed based on config settings. I don’t think the plumbing for the other method is implemented anymore.