AWS — VPC Peering Connect VPCs
The article delves into the interconnections between VPCs . In network architecture, the standard practice is to design different subnets for various purposes or departments. Initially, VPCs are isolated from other private networks in AWS, meaning default there’s no connection between VPCs.
A common approach to the design involves creating two distinct VPCs, allowing for increased flexibility in configuring access control between them. For now, the focus will be solely on VPC peering between these VPCs. The diagram below illustrates two VPCs, VPC-Demo-A and VPC-Demo-B. Our aim is to establish VPC peering between them and explore the necessary steps for this configuration.
Let’s break this down into a clear, step-by-step guide for VPC creation and setup:
- Create VPC
First of all, we will go forward to create the VPC. Start by creating the VPC named “VPC-Demo-A” with a manually input CIDR of 10.100.0.0/16. Remember, the CIDR block size must fall between /16 and /28.
After successfully creating the VPC, establish the main route and main network ACL and associate them with the VPC. Repeat the same process to create “VPC-Demo-B”.