Set Up VPC Peering between Amazon Virtual Private Clouds (VPCs)


260 students completed the lab in ~1h:12m

Total available time: 2h:0m

124 students rated this lab!

Lab Overview

In this Lab, you will make strides in migrating an on-premises application into the AWS cloud. You will configure the networking between two VPCs, one for the frontend web tier and one for the backend API tier. As part of a real-world scenario, you will complete design requirements and debug network issues.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Connect VPCs using peering connections
  • Use custom DNS names in your networks using Amazon Route 53 private hosted zones
  • Diagnose and debug network issues using VPC flow logs

Lab Prerequisites

You should be familiar with the following:

  • AWS networking concepts including VPCs, subnets, internet gateways, security groups, and route tables
  • AWS compute concepts including EC2 instances, load balancers, Auto Scaling groups, and launch configurations

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

Understanding the VPC Peering Scenario

Understand the scenario, pre-created cloud resources, and what you will complete

Diagnosing Network Issues with VPC Flow Logs

Use VPC Flow Logs to help identify and resolve network issues

Setting Up an Amazon Route 53 Private Hosted Zone

Enable DNS name resolution within your private clouds

Creating a Peering Connection between Your VPCs

Configure VPC Peering to allow communication between VPCs

Testing the Multi-VPC Environment

Test the application and network functionality in your two VPC environment