In this section, we will configure a VPC quickly for the infrastructure of this workshop using the automatic VPC setup.
VPC
In the VPC Settings section:
10.0.0.0/16
, no CIDR Block for IPv6Next:
In reality, it is better to configure manually to get the resources exactly how you want them. For this infrastructure, the production environment only has 2 subnets: private and public; while the development environment has only 1 public subnet.
We will also select Enable DNS hostname and Enable DNS resolution so EC2 in the private subnet can load content from the internet.
Wait for the VPC to be created.
Similar to the VPC for the production environment, we will now automatically create a VPC for the development environment. Follow the configurations shown in the images step by step.