Now you have a greater understanding of some of the key VPC components, let's build our very own VPC. This allows you to have full control and customization of how the VPC is configured, allowing you to optimize its design from an architectural and security standpoint.
This will encompass the following tasks:
- The creation of a new VPC
- The creation of two subnets, one public and one private, across different Availability Zones
- The creation and configuration of an IGW and a NAT gateway
- The creation and configuration of new route tables, security groups, and NACLs
- The launch of instances in both subnets
By the end of this section, you will have built the following network infrastructure:
The corresponding route tables can be seen as follows:
Although this diagram might look complicated, when it's broken down into individual parts it's very easy to digest and understand as long as you have an understanding of the VPC components...