Post

07. Route Table - Traffic Control

07. Route Table - Traffic Control

Route Table


Prerequisites


1. Route Table

"aws-vpc0"

Route Table is a core networking component in AWS. It defines Where network traffic should go

A Route Table is:

  • A set of rules (routes)
  • Used to control traffic flow inside a VPC

👉 Think of it as:

A navigation system for network traffic

Each route consists of:

  • Destination (CIDR)
  • Target (where traffic goes)

2. How to work Route Table

1
2
3
Destination     Target
10.0.0.0/16     local
0.0.0.0/0       IGW
  • 10.0.0.0/16 → local → Internal VPC communication

  • 0.0.0.0/0 → IGW → Internet traffic goes to Internet Gateway

2-1. Subnet

Route Tables are associated with subnets. Subnet determines which route table is used.

Subnet is public or private based on its route table

Public Subnet
  • Has route:
1
0.0.0.0/0 → IGW

👉 Internet accessible

Private Subnet
  • No route to IGW

👉 No direct internet access

2-2. Route Targets

Common targets:

TargetDescription
localInternal VPC communication
IGWInternet Gateway
NAT GatewayPrivate subnet internet access
VPC PeeringCommunication between VPCs

3. How to create Route Table

3-1. Search VPC

"aws-vpc0"

3-2. Click Navigation pane → “Route tables”

"aws-rt0"

3-3. Click Button → “Create route table”

"aws-rt1"

3-4. Route table settings

"aws-rt2"

3-5. Step 1. Edit subnet associations

"aws-rt3"

3-6. Step 2. Add Public subnet

"aws-rt4"

3-7. Step 3. Edit routes

"aws-rt5"

3-8. Step 4. Arrange routes

"aws-rt6" "aws-rt7"

  • Components
    • VPC
    • Subnet
    • Internet Gateway
    • Nat Gateway
This post is licensed under CC BY 4.0 by the author.