Overview

Create a VPC in AWS

Create a VPC

Create a VPC first as follows

Add a routing table to be connected to internet

Router table:

click on Edit routes (need to add an internet gateway)

Add a new route and add Internet Gateway

Subnets

To deploy to more than one availability zone, we need to add more subnets. Lets add one more here:

Click on "Subnets" from left

The click "Create Subnet" and add anew subnet with different name, availability zone and CIDR block. Earlier we added 10.0.0.0/24 and now its 10.0.1.0/24