✍️ [You need to choose a single cloud provider, unless your project is multi-cloud]
- Amazon Web Services
- Level 300 (Advanced)
- One hour
- Download terraform binaries Terraform binaries
- Initialize terraform working directory
- Document your environment (Draw.io)
- Create the following with Terraform deployment
- Virtual Private Cloud (VPC)
- Route Tables (public/private)
- Route Table Associations
- Internet Gateway
- Elastic IP
- Nat Gateway
- 1 EC2 Instance in public/ Private Subnet (Amazon Linux 2 AMI)
- Security Groups
- Verify connectivity of public instance / private instance
- Delete the Terraform deployment
- Verify resources are deleted
- What is Infrastructure as Code (IaC)?
- What is Terraform
- What is a state file used for?
- In what cases would you use Infrastructure as Code?
- Included in the Free Tier
- 60 minutes
- 2 hours
- Indent your code to make it concise and readable Some resources may need to wait for another resource to be created.
- It may be useful to create a key_pair in the management UI before creating the EC2 instances