WebPagetest Forums
EC2.ini file and EC2_ScaleUp usage - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: EC2.ini file and EC2_ScaleUp usage (/showthread.php?tid=13165)



EC2.ini file and EC2_ScaleUp usage - rahulkartgupta - 08-14-2014 06:52 AM

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?

Thanks!

- Rahul


RE: EC2.ini file and EC2_ScaleUp usage - pmeenan - 08-19-2014 03:11 AM

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.