This procedure is how to configure Amazon’s Virtual Private Connect. I will be creating two subnets for subnet 172.31.1.0 and 172.31.2.0 then creating an internet gateway and setting up routing between subnets and the internet.
Open the AWS console and open the VPC Dashboard
View Your VPCs and Click Create VPC
Create a Name tag [Sydney Core Subnet (172.31.0.0/16)]
And Enter a CIDR block 172.31.0.0/16
And click Yes, Create.
Now it is time to create subnets
Click on Create Subnet
Type in a name for the subnet
Add it one of the availability Zones
And enter a subnet that falls within the addressing of core VPC subnet
Using the same process create Subnet b
This time I am using the -2b availability zone.
Now it is time to create an internet gateway.
Navigate to Internet Gateways and click Create Internet Gateway
Name the internet gateway and click Create
Click Attach to VPC
Click Yes Attach
As it stands the subnets can talk to each other from a routing point of view.
However neither can get to the internet.
So we need to create routes.
Click on Route Tables then Click on the Routes tab.
Click on Edit
Create a default route 0.0.0.0/0 and point it at the Internet Gateway which was just created
Click on save
This creates a default gateway for each of the subnets.