Introduction to Virtual Private Cloud (VPC)

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

The hands-on lab is part of these learning paths

AWS Solutions Architect – Associate (SAA-C02) Certification Preparation for AWS
course-steps 29 certification 1 lab-steps 11 description 4
AWS Cloud Practitioner Certification Preparation
course-steps 11 certification 2 lab-steps 5
AWS Networking & Content Delivery
course-steps 7 certification 2 lab-steps 5
Fundamentals of AWS
course-steps 6 certification 6 lab-steps 6 description 2
more_horiz See 2 more

Ready for the real environment experience?

Time Limit1h 30m
star star star star star-half


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


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

Learning paths1

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