VPCtoVPC Peering

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

VPC To VPC Peering Connection

1) Create VPC TESTVPC1 (IP range 145.0.0.0/16) and VPC TESTVPC2 (IP Range 145.1.0.0/16)

2) Create subnet in TESTVPC1 Public subnet TESTPUB1 (IP Range 145.0.0.0/24) and TESTVPC2
Public subnet TESTPUB2 (IP range 145.1.0.0/24)
3) Associate TESTPUB1 subnet to TESTVPC1 route table and TESTPUB2 subnet to TESTVPC2 route
table
4) Creating Peering connection TESTVPC1-2 for TESTVPC1 and TESTVPC2

5) Accept created peering connection as newly created connection is in pending accepting state
6) We need to add route entries of TESTVPC1 and TESTVPC2 in both TESTPUB1 and TESTPUB2
route table
7) Create EC2 instance in both VPC public subnet
8) And check the connectivity between them to Ping between the machines we need to add ICMP
protocol in security group

You might also like