VPC Peering and Transit Gateway

Learn how to connect multiple VPCs using VPC peering and Transit Gateway.

VPC peering

VPC peering is a feature that allows us to connect different VPCs securely such that their resources communicate with each other as they reside in the same VPC. VPC peering uses the AWS global network to route traffic between VPCs. Because all communication happens through private IP addresses, VPC peering connections never go outside the private IP space and use the internet.

Press + to interact

It is important to note that VPC peering does not require any additional physical hardware because it uses AWS’s existing infrastructure for connection, and therefore, no single point of failure or bandwidth bottleneck occurs in the communication.

Press + to interact
VPC peering connecting two VPCs
VPC peering connecting two VPCs

VPC peering in AWS Regions

VPC peering allows to connect VPCs in the same and different AWS Regions.

  • Intra-region connection: When configuring a VPC peering connection between VPCs within the same region, we can use security groups to allow traffic to and from the security group of the peering VPCs.

  • Inter-region connection: ...