Networking · AWS SERVICE CHEATSHEET

VPC Route Table (RTB)

Governs Layer-3 IP routing logic within a VPC, directing packets to the local network, Internet Gateways, NAT Gateways, VPC peering connections, Gateway Endpoints, or Transit Gateways using longest prefix match.

Open Interactive RTB Sandbox → Simulate in Architecture Studio

AWS Container Placement

VPC

Summary

Contains a set of rules (called routes) that determine where network traffic from your subnet or gateway is directed.

When to Use (SAA-C03)

Always create separate Route Tables for Public Subnets vs Private Subnets; never route a Private DB Subnet to an IGW!

Allowed Ingress Connections & Ports

Source ServiceProtocolPortArchitectural Rationale
SUBNETALLAllPackets originating from compute/services within an associated subnet performing route lookup
IGWALLAllVPC Ingress Routing lookup for incoming edge traffic

Allowed Egress Targets & Ports

Target ServiceProtocolPortData Flow Rationale
IGWALLAllDefault internet route (0.0.0.0/0) pointing to Internet Gateway
NATALLAllPrivate outbound route (0.0.0.0/0) pointing to NAT Gateway
S3-ENDPOINTHTTPS443AWS Service Prefix List route (pl-63a5400a) pointing to Gateway VPC Endpoint
TRANSIT-GATEWAYALLAllInter-VPC or hybrid corporate network route
VPC-PEERINGALLAllPeer VPC CIDR route

Key Configuration Parameters & AWS Best Practices

ParameterFormat / ExamplePurpose & Rationale
VPC ID (vpcId) (Required)vpc-0a1b2c3d4e5f67890The VPC identifier in which the Route Table is created. Why: All route tables are strictly scoped to a single parent VPC and govern routing for its associated subnets.
Route Entries (rtbRules) (Required)[{ destination: "0.0.0.0/0", targetNodeId: "igw-01" }]List of routing rules containing destination CIDR blocks or AWS Prefix Lists and corresponding next-hop targets. Why: Without explicit routes, subnets can only communicate locally with other resources in the same VPC CIDR block.
Main Route Table (isMainRouteTable)falseDesignates this table as the default fallback route table for all subnets without an explicit route table association. Why: Ensures newly created subnets automatically inherit designated baseline routing rules.
Subnet Associations (associatedSubnetIds)Array of subnet-xxxxxxxx IDsExplicit list of subnet IDs associated with this route table. Why: Links subnets to this routing policy, overriding the VPC main route table.
Route Propagation (routePropagationEnabled)falseEnables automatic route propagation from Virtual Private Gateways (Direct Connect or Site-to-Site VPN) or Transit Gateway attachments. Why: Eliminates manual route updates when on-premises BGP routers announce new IP prefixes.

Practice Labs Using VPC Route Table

CLF-01

Missing Internet Gateway Route

Attach or route default outbound traffic 0.0.0.0/0 to the Internet Gateway in the public route table.…

CLF-02

Locked-Out Security Group Ingress

Add an inbound rule allowing TCP port 80 from 0.0.0.0/0 to the web instance Security Group.…

CLF-03

Public Database Exposure Vulnerability

Move or configure RDS to be in a private subnet, disable public accessibility, and restrict ingress exclusivel…

CLF-04

Single Point of Failure (Single-AZ)

Add a secondary subnet in us-east-1b and front instances with an Application Load Balancer across both Availab…

CLF-06

Tight Coupling in Transaction Processing

Decouple the architecture by placing an Amazon SQS queue between the producer and consumer.…

SAA-01

FinTech Payment Ledger: $6,750 NAT Gateway S3 Cost Surge

Add an S3 prefix-list destination route in the private route table targeting the S3 Gateway Endpoint.…

Frequently Asked Questions

Where does VPC Route Table live inside an AWS VPC architecture?

Valid container placement: VPC. Governs Layer-3 IP routing logic within a VPC, directing packets to the local network, Internet Gateways, NAT Gateways, VPC peering connections, Gateway Endpoints, or Transit Gateways using longest prefix match.

When should I use VPC Route Table on the AWS SAA-C03 exam?

Always create separate Route Tables for Public Subnets vs Private Subnets; never route a Private DB Subnet to an IGW!

Can I simulate VPC Route Table packet routing without an AWS account?

Yes. CloudTracer simulates VPC Route Table along with 53 AWS services directly in your browser and exports production Terraform HCL.

More Networking Cheatsheets

App Load Balancer → Network Load Balancer → Virtual Private Cloud → VPC Subnet → Internet Gateway → NAT Gateway →