You are now going to build two VPCs, both with two private and two public subnets, which follow AWS best practices for VPC design. This is a typical VPC architecture where you could create and run an application. Throughout this book, you will add more features to this VPC, including creating servers and simple code to run a small application. Once the VPCs are created, you are going to add internet connectivity to them and then connect the two VPCs together using VPC peering. Make sure you do not end up with overlapping IP ranges.
You have two options to create these VPCs, depending on personal preference. You can use the AWS Management Console, or you can use the AWS Command Line Interface (AWS CLI).
First, we will look at the console steps.
Creating the First VPC
The first step is to create a VPC. Rather than using the default VPC, creating one manually will help you to turn the theory you have learned in this chapter into real-world knowledge:
- Log...