Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Connecting VPCs with VPC Peering in AWS

In this hands-on lab scenario, you’re a cloud network engineer working for a large organization that has multiple VPCs. Each VPC is dedicated to a business unit (e.g., Marketing, Sales, Services, etc.). The Marketing department requires access to all resources in the Sales department, and vice versa. We will create a VPC peering connection between the Marketing and Sales VPCs, allowing them to act as if they are on the same network. We'll also add the necessary routes to the associated network route tables.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 23, 2025
Duration
1h 30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Secure the EC2 Instance
    1. In the AWS Management Console, navigate to VPC.
    2. Under SECURITY, select Network ACLs.
    3. Select Public2-NACL.
    4. Click Inbound Rules.
    5. Click Edit Inbound Rules.
    6. Change the source for Rule # 104 to 10.0.0.0/13.
    7. Click Save.
  2. Challenge

    Create a VPC Peering Connection
    1. Navigate to VPC.
    2. Under VIRTUAL PRIVATE CLOUD, select Peering Connections.
    3. Click Create Peering Connection.
    4. Set the following values:
      • Peering connection name tag: Marketing<->Sales
      • VPC (Requester): Marketing-VPC
      • VPC (Accepter): Sales-VPC
    5. Leave the rest as their defaults and click Create Peering Connection.
    6. Click OK. The Status should now be Pending Acceptance.
    7. To accept the VPC peering connection, select the newly created connection and click Actions > Accept Request.
    8. Review and click Yes, Accept
    9. Click Close.
  3. Challenge

    Configure Routing
    1. Under VIRTUAL PRIVATE CLOUD, select Route Tables.
    2. Select Public1-RT.
    3. Select Routes.
    4. Click Edit Routes.
    5. Click Add Route and enter the following values:
      • Destination: 10.2.0.0/16
      • Target: Marketing<->Sales
    6. Click Save routes.
    7. Repeat the steps above for Private1-RT.
    8. Repeat the steps above for Public2-RT and Private2-RT, setting the Destination to 10.1.0.0/16.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

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.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight