Articles → AWS → VPC Peering In AWS

VPC Peering In AWS






Purpose





Steps




  1. Create a peering connection
  2. Accept the peering request
  3. Adding an entry in the route tables
  4. Launch 2 EC2 instances
  5. Enable inbound and outbound rules in the firewall
  6. Ping EC2



Create A Peering Connection




Picture showing 2 VPC connection in AWS console
Click to Enlarge



Picture showing the Peering Connections left-side menu
Click to Enlarge



Picture showing the Peering Connection screen in AWS console
Click to Enlarge



Picture showing the Create peering connection screen in AWS console
Click to Enlarge




Accept The Peering Request




Picture showing accepting the peering connection
Click to Enlarge



Picture showing a popup window to accept the peering connection
Click to Enlarge




Adding An Entry In The Route Tables




Picture showing adding an entry of VPC in route table
Click to Enlarge

Picture showing adding an entry of VPC in route table
Click to Enlarge




Launch 2 EC2 Instances




Picture showing launching 2 EC2 instances
Click to Enlarge


Enable Inbound And Outbound Rules In The Firewall




  1. Enable inbound rules in the security group
  2. Enable File and Printer Sharing (Echo Request - ICMPv4) in the firewall



Ping EC2




Picture showing pinging the EC2 instance in another VPC
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Thursday, April 7, 2022

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250