- Terraform installed in your machine
- Amazon Web Services account enabled
- An existing EC2 KeyPair in the desired region
Initialize Terraform
terraform init
Deploy the infrastructure to your AWS account
terraform apply -var="key_name=<your-kp-name>"
Delete everything at the end
terraform destroy