Task : Build a VPC to launch an EC2 with WordPress installed on it
In this project I used IaC with terraform to deploy my infrastructure.
What did I use to build this environment?
- Visual Studio Code platform
- Terraform
What was built?
- Amazon VPC
- Public subnet
- Internet Gateway
- Custom Route Tables
- Security Groups
- EC2 (with WordPress installed)
Some of the highlights…
Terraform apply
Check if our EC2 instance was launched correctly
We copy our instance public IP to check if it’s working
and voila it’s working, I successfully launched an EC2 instance with WordPress installed in a few minutes thanks to leveraging Terraform.
Time to clean up
Terraform destroy…