MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Robustness of EC2 Autoscaling

WebPagetest Forums

Full Version: Robustness of EC2 Autoscaling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Patrick -

I have been frustrated with some of the performance of agents in specific locations on so am looking to create a server and agents of my own. Was ecstatic to hear that you have a server image on EC2 that is set to autoscale depending on usage!

However, looking through the code, I'm wondering how 'public-ready' is this? Here are the things that caught my attention:
1) Reference to this url ( in www/cli/ec2init.php
2) Summary emails going directly to in www/cli/scrub-ec2.php
3) Am I correct that it's set to start up m1.small instance types? Those are pretty old and from my testing under spec of what's needed to have reliable results.

Not trying to critique your code (I love what you've done with WPT), just curious if this really can be done in 5 minutes according to these instructions or if I should expect some headaches and debugging?

Thanks a ton!
FWIW, none of the cli code is used in the newer auto-scaling code.

The EC2 scaling code is here:

The shutdown check for instances are triggered every 5 minutes here: (no need to hook it up to actual cron, it is triggered automatically as agents poll for work).

The code in cli/ is from a few years ago and is more of a sample if people wanted to use it as a base for EC2 instance scaling and it was used on the public instance for some testing.

The instance size is m2 medium by default I believe but it can be overridden in the locations:
Reference URL's