EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

US

LAB: Configure VPC Peering between Two VPC

LAB: Configure VPC Peering between Two VPC

LAB: Configure VPC Peering between Two VPC

For VPC Peering , create a VPC in the us-east-1a region with an EC2 instance launched in a public subnet and another VPC in us-east-2a region with an EC2 instance launched in a private subnet. Now you will perform inter region VPC peering and then SSH into the private EC2 from the public EC2 instance.

Topology:

Refer Below Topology for VPC Peering.

Task:

Use previous LAB VPCs and Subnet for VPC Peering. 

Solution:

We have Already configured two VPC, one in N. Virginia region named Dclessons-prod-VPC with CIDR 10.10.0.0/16 having Public Subnet DCLESSONS-PROD-SUBNET ( 10.10.0.0/24). This VPC has one IGW attached to it and have routes towards IGW.

Another VPC DCLESSONS-DEV-VPC is in Ohio region with Subnet Dclessons-Dev-Subnet (10.11.0.0/24).

The VPC has EC2 launched already.

Configure VPC Peering:

Go to N.Virginia Region | Under AWS Services | VPC Section : Select Peering Connection

 Click to Create Peering Connection

In Create Peering Connection | Name: PROD-TO-DEV-PEERING | Select Local VPC: Dclessons-Prod-VPC | Select Account: My Account | Region: Other Region , Select US EAST Ohio (us-east2) with VPC Acceptor ID.| Click Create Peering Connection.

Once Peering connection is initiated, go to Ohio Region and under Peering Connection, you will see the Peering Connection ID with pending Acceptance Status.

Select Peering Connection | Actions: and Click to Accept Request.


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.