Configuring VPC without using the wizard

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

1

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

2

And click Yes, Create.

Now it is time to create subnets

3

Click on Create Subnet

4

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

5

Using the same process create Subnet b

6

This time I am using the -2b availability zone.

7

Now it is time to create an internet gateway.

8

Navigate to Internet Gateways and click Create Internet Gateway

9

Name the internet gateway and click Create

10

Click Attach to VPC

11

Click Yes Attach

12

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.

13

Click on Route Tables then Click on the Routes tab.

14

Click on Edit

15

Create a default route 0.0.0.0/0 and point it at the Internet Gateway which was just created

16

Click on save

17

This creates a default gateway for each of the subnets.