VPC Peering
Learn how to connect multiple VPCs using VPC peering.
We'll cover the following...
VPC peering is a feature that allows us to connect different VPCs so that their resources communicate with each other such as they reside in the same VPC. These resources communicate with each other through private IP addresses over the AWS global network to route traffic between VPCs. Therefore, VPC peering doesn't use the public internet and is a highly secure mode of connection.
VPC peering has two modes of connection:
Intra-region connection: It allows us to connect VPCs within the same region. We need to ensure that the security groups allow the traffic to flow between the two VPCs.
Inter-region connection: If we connect the VPCs from different regions, we must use the CIDR address of the connecting VPC as the source or destination in the security group to control traffic. Resources use ...