- AWS account
- Installed AWS CLI
- Installed Git Bash
- Installed Terraform
- Generated private key for EC2 with name test2.pem and placed to the root
- Execute the following commands in git bash:
terraform init
terraform plan
terraform apply -auto-approve
- Copy public_dns output value, paste to browser
- Enjoy)
- To cleanup your environment execute in git bash
terraform destroy -auto-approve