hands-on lab

Introduction to Virtual Private Cloud (VPC)

Up to 1h 30m
You can pause this lab for up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Amazon Virtual Private Cloud (VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment, including the selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways. This hands-on lab guides you through the creation of a VPC and some of its common sub-resources.

Learning Objectives

Upon completion of this lab you will be able to:

  • Use the AWS Management Console to create a VPC
  • Use the AWS Management Console to create resources that work with Amazon VPC, including a subnet and an internet gateway
  • Configure routing for your VPC using a route table
  • Create and manage an EC2 instance and an associated Elastic IP Address (EIP) within your VPC

Intended Audience

This lab is meant for:

  • Those preparing for AWS certification
  • Professionals who aim to manage networking and private resources within AWS


You should be familiar with:

  • Some familiarity with basic networking principles is helpful but not required
  • Some familiarity with the AWS Management Console is helpful but not required


October 31st, 2023 - Updated the instructions and screenshots to reflect the latest UI

October 17th, 2022 - Updated the instructions and screenshots to reflect the latest UI

April 14th, 2022 - Minor update to VPC creation steps to reflect the latest user interface changes

January 24th, 2022 - Updated the instructions and screenshots to reflect the latest UI

September 17, 2021 - Updated instructions to match AWS interface labels

February 7th, 2020 - Updated instructions to clarify where the ping commands should be issued

June 24th, 2019 - Updated the format of the lab to improve quality

November 27th, 2018 - Added a validation lab step to check the work you perform in the Lab

May 14th, 2018 - Updated images and instructions to reflect user interface changes

Environment before

Environment after

About the author

Matt Martinez, opens in a new tab
Cloud Content & Labs QA
Learning paths

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating a VPC
Creating a VPC subnet
Creating a VPC Internet Gateway
Connecting the Internet Gateway to the VPC Route Table
Creating an EC2 instance
Allocating and Associating an Elastic IP