Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

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

Launch an EC2 Instance in a Virtual Private Cloud (VPC)

In this hands-on lab, you'll launch an Amazon EC2 instance within a custom Virtual Private Cloud (VPC). You’ll design and configure a basic VPC architecture that includes a public subnet, an internet gateway, and route tables to manage network traffic. Finally, you’ll launch an EC2 instance into the public subnet and configure its security group to allow external access. By completing this lab, you will strengthen your understanding of core AWS networking concepts and gain practical experience deploying compute resources securely within a VPC.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Dec 04, 2025
Duration
30m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Create a VPC

    Create a VPC named labvpc with a CIDR of 10.0.0.0/16

    Do not use the VPC Wizard to create your VPC; instead, configure your VPC from scratch.

  2. Challenge

    Create a Public Subnet

    In labvpc, create a public subnet named publicsubnet.

  3. Challenge

    Create and Attach an Internet Gateway

    Create an Internet Gateway and attach it to labvpc.

  4. Challenge

    Launch EC2 Instance

    Create an EC2 named labec2 in your VPC.

  5. Challenge

    Test EC2 Connectivity

    Test inbound and outbound connectivity.

  6. Challenge

    Create and Configure a Route Table

    Create a Route Table, attach it to the Internet Gateway, then associate the route table with your public subnet.

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