0% found this document useful (0 votes)
59 views11 pages

Hybrid Environment & VPC Peering

The document discusses hybrid environments using AWS VPC peering to connect on-premises networks to AWS networks. It describes how to configure a VPC peering connection between two VPCs to allow instances in different VPCs and accounts to communicate via private IP addresses. The lab guides the reader through creating two VPCs with subnets and instances, establishing a peering connection between the VPCs, modifying route tables, and verifying connectivity between instances in different VPCs via private IPs.

Uploaded by

I'm Ranga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views11 pages

Hybrid Environment & VPC Peering

The document discusses hybrid environments using AWS VPC peering to connect on-premises networks to AWS networks. It describes how to configure a VPC peering connection between two VPCs to allow instances in different VPCs and accounts to communicate via private IP addresses. The lab guides the reader through creating two VPCs with subnets and instances, establishing a peering connection between the VPCs, modifying route tables, and verifying connectivity between instances in different VPCs via private IPs.

Uploaded by

I'm Ranga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

7.

Hybrid Environments & VPC Peering


Wednesday, February 7, 2018 2:55 PM

VPN

Direct Connect

AWS Certified Solutions Architect - Associate Page 1


AWS Certified Solutions Architect - Associate Page 2
AWS Certified Solutions Architect - Associate Page 3
VPC Peering

Cross region peering is called inter-region peering is possible. Cross Account peering
is also possible.

AWS Certified Solutions Architect - Associate Page 4


Lab : Configure peering Connection between two VPC.

• Creating A VPC from scratch


• Configuring the VPC connection
• Configuring route tables for VPC peering routes
• Connecting from an instance in one VPC to an instance in another VPC via
its private IP address

1. Create a VPC having name as VPC2

2. Create Internet gateway having name as "VPC2-IGW" and attach it to VPC-2.

AWS Certified Solutions Architect - Associate Page 5


2. Create Internet gateway having name as "VPC2-IGW" and attach it to VPC-2.

3. Create a Subnet having name as "VPC2-Subnet" for VPC2.

4. Create a Route Table and add the igw to its route for internet traffic.

AWS Certified Solutions Architect - Associate Page 6


5. Create the EC2 Instances : In both the subnets

A. Configure the VPC Peering Connection

1. Initiating VPC Peering from VPC1 to VPC2

AWS Certified Solutions Architect - Associate Page 7


AWS Certified Solutions Architect - Associate Page 8
2. Create a route between our two instances. Adding the PCX into the Route

AWS Certified Solutions Architect - Associate Page 9


3. Ping the Instance from each other :

AWS Certified Solutions Architect - Associate Page 10


4. Try to connect from the Instance in VPC1 to Instance2 in other VPC

AWS Certified Solutions Architect - Associate Page 11

You might also like