Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more
  • Labs icon Lab
  • Cloud
Google Cloud Platform icon
Labs

Creating a Basic VPC and Associated Components in AWS

AWS networking consists of multiple components, and understanding the relationship between the networking components is a key part of understanding the overall functionality and capabilities of AWS. In this hands-on lab, we will create a VPC with an internet gateway, as well as create subnets across multiple Availability Zones.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Oct 05, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a VPC

    1. Create a VPC named VPC1 from scratch (without using the VPC wizard).
    2. Set the VPC CIDR to 172.16.0.0/16.
  2. Challenge

    Create a Public and Private Subnet in Different Availability Zones

    • Create a public and private subnet in different Availability Zones using the following IP CIDR addresses:
      • Public1 subnet in us-east-1a: 172.16.1.0/24
      • Private1 subnet in us-east-1b: 172.16.2.0/24
  3. Challenge

    Create Two Network Access Control Lists (NACLs), and Associate Each with the Proper Subnet

    1. Create a public NACL named PublicNACL with inbound rules allowing HTTP and SSH traffic, as well as an outbound rule allowing traffic on port range 1024-65535.
    2. Associate the public NACL with the public subnet.
    3. Create a private NACL named PrivateNACL with an inbound rule allowing SSH traffic with a source of 172.16.1.0/24, as well as an outbound rule allowing traffic on port range 1024-65535.
    4. Associate the private NACL with the private subnet.
  4. Challenge

    Create an Internet Gateway, and Attach It to the VPC

    • Create an internet gateway named IGW, and attach it to the VPC.
  5. Challenge

    Create Two Route Tables, and Associate Them with the Correct Subnet

    1. Create two route tables:
      • One for the public subnet with an internet gateway route, named PublicRT
      • Associate your PublicRT route table with your "Public1" subnet
      • One for the private subnet without an internet gateway route, named PrivateRT
      • Associate your PrivateRT route table with your "Private1" subnet
    2. For the public route table, create a default route to the internet using the 0.0.0.0/0 CIDR notation.

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.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.