VPC Peering
- Connect two
VPCusing AWS network - After
VPC Peeringcommunication between twoVPCuseAWS Networkinstead ofPublic Internet - Two
VPCcan not be peered, if - Have overlapping
CIDR - Any transitive peering with
on-premiseserver - Edge to Edge routing via a gateway
- Transitive peering
- A
Peered Connectionis to be created between twoVPC Peered Connectioncan be established with anVPCin anotherRegionand anotherAccount(inter-region,cross-account)- Can use
Peered VPC SGreference - Connection is not
Transitive VPC Ais peered toVPC BVPC Bis peered toVPC C- Does not imply
VPC Ais peered withVPC C - Still we need to peer
VPC AwithVPC Cexplicitly - Each
Subnet Route Tableof each peeredVPCshould be updated. - Target of the
Peered VPC CIDRshould be thePeered Connection - To establish
VPC Peering - Create
VPC Peer Connectionwith ownVPCand anotherVPC - Accept the
Peer Connectionrequest - Update
Subnet Route Tablefor bothVPC NAT Gatewaycan not be shared overVPC Peering