However, the WPT server does not ‘see’ the configuration for showslow and does not send the test results to my showslow server. I wanted to check the logs but none of them (that I can find) have relevant information. From debugging the code, it looks like calls to GetSetting() are not returning all the information passed in the user data.
Do you have any suggestions for troubleshooting configuration problems with the server or what I have done wrong?
A more general question/observation. The blog post indicates that we can copy the AMI but that wasn’t possible for me until I created a new AMI from a running instance - I didn’t dig into this too much, but would like to sort it out because I would like WPT and all instances to run in VPCs. Can I configure VPC settings for the instances that are created, or would I solve this issue by creating a user that can only launch into VPCs?
Looks like my issues are due to the settings.ini NOT updating when new user data is passed into the instance (and it is restarted). Once the settings.ini is created it persists the params you initially configured it with and not the current user data (has the benefit of not leaving your EC2 access info in the user data field of the instance).
To update the settings.ini you can just ssh to the box and manually update it:
sudo vim /var/www/webpagetest/www/settings/settings.ini
[quote=“pherris, post:3, topic:9153”]
Looks like my issues are due to the settings.ini NOT updating when new user data is passed into the instance (and it is restarted).[/quote]
The docs were updated around a week ago to make it clear that the user data just populates the settings at the time of the initial launch. Any changes after that would need to be done to the settings.ini on the server.