Creating a Route Table
You may need to create a route table if it is not already configured for your VPC setup. See the steps for creating this resource using the VPC Dashboard in the AWS Management Console.
To create a route table in the AWS Management Console:
-
From the VPC Dashboard, click Route tables in the side navigation bar.
-
Click the Create route table button in the top right.
-
On the Create route table page, set the following:
a. (Optional) For Name, enter a name for your new route table.
b. For VPC, select the VPC to associate with your route table.
-
Click the Create route table button.
-
After you are directed to your new route table, click the Edit routes button in the bottom left.
-
On the Edit routes page, click the Add route button and set the following:
a. For Destination, select 0.0.0.0/0.
b. For Target, select Internet Gateway. Then select your internet gateway from the dropdown.
-
For private subnets only, click the Add route button again and set the following:
a. For Destination, select 0.0.0.0/0.
b. For Target, select NAT Gateway. Then select your NAT gateway from the dropdown.
You will need to use a different destination CIDR block.
- Click Save changes.