How to Create Virtual Private Cloud (VPC) with AWS CloudFormation

Lab Details

  1. This lab walks you through how to create a VPC using an AWS CloudFormation Stack. In this lab, we will launch an AWS CloudFormation template to create a four-subnet Amazon VPC that spans two Availability Zones and a NAT that allows servers in the private subnets to communicate with the Internet in order to download packages and updates.

  2. Duration: 55 minutes

  3. AWS Region: US East (N. Virginia)

Introduction to AWS VPCs 

A VPC is similar to a computer network that we can create in an on-premises data center. In the same way, as we create dedicated and private networks within an organization, where computers in a network share network devices such as routers, switches, and so on, we can create a VPC when we create a new account in AWS.

VPC makes it possible to shape similar network infrastructure as we can shape it in our own data center. The difference is, it is a virtual environment within a public cloud wherein the virtual network is logically isolated from other similar networks within the public cloud.

Subnet: Subnet is short for the subnetwork. As we saw at the beginning of this chapter, a network is subdivided into multiple logical parts for controlling access to individual logical subparts of the network


  1. Log into the AWS Management Console.

  2. Deploy an AWS CloudFormation template that creates an Amazon VPC

  3. Examine the components of the template

  4. Update a CloudFormation stack

  5. Examine a template with the AWS CloudFormation Designer

Architecture Diagram

Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses