Concept of VPC Peering
- Refers to connection between two VPCs
- Applicable within same region
- request/accept protocol for setup
- 1 to 1 relationship
- no overlapping CIDR
- cannot be different regions
- no transitive routing
- Connection between two VPCs that enables you to route traffic between them using private IP addresses via a direct network route
- Instances present in VPCs can communicate with each other akin to being in same network
- VPC peering connections can made
- between own VPCs
- with a VPC in another account but in a single region
- AWS infrastructure is used to create a VPC peering connection and separate gateway/VPN/ hardware is needed
- It enables in preventing SPOF or single point of failure
- It also addresses bandwidth bottleneck amongst VPCs
- There is no transitive peering between VPC peers (Can’t go through 1 VPC to get to another)
- Hub and spoke configuration model (1 to 1)
- Be mindful of IPs in each VPC, if multiple VPCs have the same IP blocks, they will not be able to communicate
- VPC belonging to different AWS accounts can also be peered with
Get ready to boost your learning and become AWS Certified Developer – Associate with hundreds of Practice Test Now!
AWS Certified Developer - Associate Free Practice TestTake a Quiz