Create Route Table
Creating a Route Table in Amazon VPC
ℹ️ Overview
- A route table is the component that routes network traffic within a VPC
- It determines the path packets take between subnets and the internet
- It lets you control the flow of traffic in and out of the VPC
🔒 Steps
- Open the VPC console
- Select Route Tables from the left-hand menu
- Click Create route table

- Configure the Route Table
- Name: Enter
Route table-Public
- VPC: Select the ASG VPC (the VPC ID fills in automatically)
- Click Create route table

- Confirm the Route Table was created successfully
- You’ll see a success message
- The new Route Table appears in the list

💡 Configuring the Route
- Add a route for the Internet Gateway
- Select the Route Table you just created
- Click Actions
- Choose Edit routes

- Configure the new route
- Click Add route
- Destination: Enter
0.0.0.0/0 (representing all internet traffic)
- Target: Select Internet Gateway and choose the IGW you created
- Click Save changes

⚠️ Associating with Subnets
- Set up the subnet associations
- Select the Subnet associations tab
- Click Edit subnet associations

- Select the public subnets
- Widen the Subnet ID column if needed for a clearer view
- Select both public subnets you created earlier (Public Subnet 1 and Public Subnet 2)
- Click Save associations

- Confirm the subnet associations were configured successfully
- Check the Subnet associations tab
- Both public subnets are now associated with the route table
- The public subnets can now route traffic to the internet through the IGW
