Create Peering Connection
Create Peering Connection
ℹ️ Information: In this section, you will create a VPC Peering Connection between My VPC and HG VPC.
💡 Pro Tip: VPC Peering allows resources in two different VPCs to communicate as if they are in the same network.
- Sign in to AWS Management Console

- In VPC Management Console, navigate to Peering Connections. Then click Create Peering Connection.

- On the Create Peering Connection page, enter the following settings:
- Peering connection name tag:
lab-vpc-peer - VPC (Requester): choose My VPC
- Account: choose My account because both VPCs in the peering connection are in the same account
- Region: choose This region (ap-southeast-7) because both VPCs in the peering connection are in the same region
- VPC (Accepter): HG VPC
- Click Create Peering Connection

- Complete Create Peering Connection

- On the Peering Connections info page, tick the newly created VPC Peering, then click Actions and Accept Request

- Choose Accept request

- Setup successful

- From EC2 - My VPC, try pinging the private IP of EC2 - HG VPC. Ping still fails because we have not configured the VPC route to route traffic between the two VPCs.
