Configuring VPC Peering

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Ted, the cloud engineer at Windyfront Air Conditioning, has been approached by one of the application teams. They would like to implement a shared services VPC so each of their applications can talk to a central location for these services. After researching, Ted has identified the easiest method to achieve their requirements is to configure VPC peering between the VPCs.

In this lab, you will configure VPC peering between two VPCs.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure VPC Peering between VPC 1 and VPC 2
  • Configure VPC peering between VPC 1 (FirstVPC) and VPC 2 (SecondVPC). The IP address ranges of these VPCs are:

    • FirstVPC = 10.0.0.0/16

    • SecondVPC = 10.1.0.0/16

  • Modify the private route table in each VPC to include a route for the peered VPC.

Enable Fleet Manager in AWS Systems Manager
  • Log in to AWS Systems Manager > Fleet Manager, and select Get Started.

  • Reboot all EC2 instances, and check Fleet Manager for their registration.

Ping Connectivity Test
  • Log in to EC2Instance1 and ping EC2Instance2 to confirm peering connection configuration.

Note: Check the credentials section for the EC2 instances’ assigned IPs.

Additional Resources

Please ensure you have completed the steps in objective 1, which enables the EC2 instances to be connected from AWS Systems Manager.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?