ryanl
April 20, 2016, 4:51pm
#1
Is there a way to increase the shutdown time to something greater than 1 hour while idle?
Also, is there a place I could find all the ec2 options that can be used?
I’ve checked https://github.com/WPO-Foundation/webpagetest/blob/master/docs/EC2/Server%20AMI.md and http://calendar.perfplanet.com/2014/webpagetest-private-instances-in-five-minutes/ but can’t find a full documentation, just a few keys/settings.
Thanks.
The idle timeout is actually 15 minutes but it only checks when the instances have been running close to an even multiple of hours since AWS bills hourly. It’s currently hard-coded but should be easy to make a setting instead: https://github.com/WPO-Foundation/webpagetest/blob/master/www/ec2/ec2.inc.php#L152
As far as the settings go, the EC2 user data just pre-populates the settings file so all of the settings in the sample file are available: https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/settings.ini.sample
ryanl
April 20, 2016, 4:58pm
#3
Great I will change the hardcoded value. Thanks Patrick!
[hr]
The sample settings helps a lot too. Thanks again.