Managing Peer Connections between Amazon Virtual Private Clouds
Managing Peer Connections between Amazon Virtual Private Clouds

CLOUD LABS

Managing Peer Connections between Amazon Virtual Private Clouds

In this Cloud Lab, you will learn about VPC peer connections by creating a peer connection between VPCs located in different regions.

10 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of VPC peering connections
Hands-on experience connecting two VPCs in different regions using VPC peering
Hands-on experience accessing EC2 instances in private subnets using EC2 Instance Connect Endpoint
Hands-on experience configuring route tables associated with your public and private subnets

Technologies
AWS logoAWS
VPC Peering
VPC
EC2
EC2 Instance Connect Endpoint
Cloud Lab Overview

Amazon VPCs are virtually isolated networks where you can launch resources such as EC2 instances. Amazon VPC peering connections can be used to connect two VPCs and allow them to route traffic between them using IPv4 and IPv6 addresses. 

In this Cloud Lab, you will first create two VPCs: a backend VPC in the US East 1 (N. Virginia) region and a frontend VPC in the US East 2 (Ohio) region. You’ll then launch EC2 instances in the private and public subnet of the backend and frontend VPC. Your backend instance will be in a private subnet, so you’ll create an EC2 Instance Connect Endpoint to connect to the EC2 terminal. You’ll then deploy your front- and back-end applications, but they won’t be able to communicate because they’re in different VPCs. Next, you’ll create a VPC peering connection between your VPCs and configure their route tables to ensure traffic can flow between them.

After completing this Cloud Lab, you’ll have an understanding of VPC peering connections and be able to create inter-region VPC peering connections. The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Deploy the Application
Configure VPCs
Launch the EC2 Instances
Deploy the Back-End Application
Deploy the Front-End Application
3.Connect the VPCs
Create a Peering Connection
Configure Route Tables
Putting It All Together
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image