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

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
Nov 06, 2025
Duration
30m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use.
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. It must have the following IPv4 subnet CIDR block: 10.0.1.0/24

  3. Challenge

    Create and Attach an Internet Gateway

    Create an Internet Gateway named inetGW and attach it to labvpc.

  4. Challenge

    Launch EC2 Instance

    Create an EC2 named labec2 in the labvpc, and enable Auto-assigned Public IP. Then, modify the Security Group to allow HTTP and HTTPS traffic from Anywhere.

  5. Challenge

    Test EC2 Connectivity

    Use ping to test outbound connectivity to plurasight.com. Then test inbound connectivity by installing the Apache HTTP daemon and connecting to the EC2's Public IP using a web browser.

  6. Challenge

    Create and Configure a Route Table

    Create a Route Table named publicroutetab for the destination: 0.0.0.0/0 and attach it to the Internet Gateway inetGW, then associate the route table to the publicsubnet.

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