NETWORK & TRAFFIC Hybrid and multi-VPC networking

VPC peering

Creates a one-to-one networking connection between two VPCs routed over private IPv4 or IPv6 addresses.

Official AWS Reference https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

Two VPCs, possibly in different accounts or Regions, need direct private connectivity.

✕

When to Avoid

You need transitive routing, overlapping CIDR blocks, or shared use of another VPC's gateways.

// EXAM TRAPS & SIGNAL KEYWORDS

transitive routing, hub and spoke

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html ↗

"A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses. It is neither a gateway nor a VPN connection and does not rely on separate physical hardware."

  • There is no single point of failure for communication and no bandwidth bottleneck in a VPC peering connection.
  • VPC peering does not support transitive peering relationships.
  • You cannot create a peering connection between VPCs with matching or overlapping IPv4 or IPv6 CIDR blocks.
  • Inter-Region peering traffic is encrypted before leaving AWS facilities and never traverses the public internet.

// VPC PEERING TAKEAWAYS

01

Role: Creates a one-to-one networking connection between two VPCs routed over private IPv4 or IPv6 addresses.

02

Choose: Two VPCs, possibly in different accounts or Regions, need direct private connectivity.

03

Avoid: You need transitive routing, overlapping CIDR blocks, or shared use of another VPC's gateways.

04

Trap: Watch for exam signals like transitive routing, hub and spoke.

05

Fact: There is no single point of failure for communication and no bandwidth bottleneck in a VPC peering connection.

06

Fact: VPC peering does not support transitive peering relationships.

07

Fact: You cannot create a peering connection between VPCs with matching or overlapping IPv4 or IPv6 CIDR blocks.

// PRACTICE QUESTIONS

Ready to test your VPC peering knowledge?

15 practice questions cover VPC peering.

Start Practice →