This is my attempt at a (hopefully) well structured terraform project for a private WebPageTest setup, installing from a base Ubuntu OS.
You'll need to pass in your current IP address as a Terraform variable, e.g.
terraform apply -var my_ip=<your IP here>
- Get an AWS account.
- Go get Terraform.
- Grab this repo.
- Read this article and also this more recent article.
- Run
terraform apply
(you can pass in the variables instead withterraform apply -var 'keypair=MINE' -var 'region=us-east-1'
, for example) - Your very own private, autoscaling, WebPageTest!
If you want to refer to the exact code used in my "Automate Your WebPageTest Private Instance With Terraform: 2021 Edition" article, look in the "blog-post-reference" folder!