Module 7 - Guided Lab - Creating A VPC Peering Connection
Module 7 - Guided Lab - Creating A VPC Peering Connection
At the end of this lab, your architecture will look like the following example:
Duration
This lab will require approximately 20 minutes to complete.
Tip: If you need more time to complete the lab, restart the timer for the environment by
choosing the Start Lab button again.
2. Wait until the Start Lab panel displays the message Lab status: ready, then close the panel by
choosing the X.
3. At the top of these instructions, choose AWS .
This action opens the AWS Management Console in a new browser tab. The system
automatically logs you in.
Tip: If a new browser tab does not open, a banner or icon is usually at the top of your
browser with the message that your browser is preventing the site from opening pop-up
windows. Choose the banner or icon, and then choose Allow pop-ups.
4. Arrange the AWS Management Console tab so that it displays alongside these instructions.
Ideally, you will have both browser tabs open at the same time so that you can follow the lab
steps more easily.
Do not change the Region unless specifically instructed to do so.
A VPC peering connection is a one-to-one networking connection between two VPCs that enables
you to route traffic between them privately. Instances in either VPC can communicate with each
other like they are in the same network. You can create a VPC peering connection between your
own VPCs, in a VPC in another AWS account, or with a VPC in a different AWS Region.
Two VPCs are provided as part of this lab: Lab VPC and Shared VPC. Lab VPC has an Inventory
application that runs on an Amazon Elastic Compute Cloud (Amazon EC2) instance in a public
subnet. Shared VPC has a database instance that runs in a private subnet.
https://labs.vocareum.com/web/3005538/1931069.0/ASNLIB/public/docs/lang/en_us/README.html?vockey=ae4e256c8589e3dcae58c1808… 2/5
11/14/24, 8:20 PM README
15. In the Routes tab, choose Edit routes then configure these settings:
Choose Add route
Destination: 10.0.0.0/16 (This setting is the CIDR block range of Lab VPC.)
Target: Select Peering Connection, and then from the list, select Lab-Peer.
Choose Save routes then choose Close .
The route tables are now configured to send traffic via the peering connection when the
traffic is destined for the other VPC.
https://labs.vocareum.com/web/3005538/1931069.0/ASNLIB/public/docs/lang/en_us/README.html?vockey=ae4e256c8589e3dcae58c1808… 4/5
11/14/24, 8:20 PM README
Lab complete
Congratulations! You have completed the lab.
24. Choose End Lab at the top of this page, and then select Yes to confirm that you want to
end the lab.
A panel indicates that DELETE has been initiated... You may close this message box now.
25. Select the X in the top right corner to close the panel.
©2020 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be
reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web
Services, Inc. Commercial copying, lending, or selling is prohibited.
https://labs.vocareum.com/web/3005538/1931069.0/ASNLIB/public/docs/lang/en_us/README.html?vockey=ae4e256c8589e3dcae58c1808… 5/5