This is the fourth and final part of a series of articles on how to set up an AWS VPC using Terraform version 0.12.29.
Up until now we are setting up our VPC using Terraform the hard way. There is a better and easier way to provision the AWS resources using the third-party Terraform AWS VPC module.
In this post, we will create a new Terraform project with significantly fewer codes.
This is the third part of a series of articles on how to set up an AWS VPC using Terraform version 0.12.29.
We have created our first Terraform project in Part 1 and had our introduction to remote state files and workspaces in Part 2. In this post, we will finish creating our VPC by adding these resources:
AWS VPC (done) Internet Gateway 3x Public subnet — one for each AZ 3x Private subnet — one for each AZ 3x Database subnet — one for each AZ Public subnet route table Private subnet route table Database subnet route table EC2 Bastion Host Elastic IP Address NAT Gateway The instructions here is the hard way of doing it!
This is the second part of a series of articles on how to setup an AWS VPC using Terraform version 0.12.29.
In Part 1 of this series of post, we have created our first Terraform project and ran basic commands to generate an execution plan, and then provision our first AWS VPC. In this follow-up post, we will continue on updating our script to complete our VPC.
This is part 1 of a series of articles on how to setup an AWS VPC using Terraform version 0.12.29.
Imagine you will be working on a greenfield project where everything will be running in AWS. Because you have watched more AWS tutorial videos than anyone else in your team, you were given the responsibility to set up all the needed AWS resources. Everyone in the team is blocked until you complete it.