route table
A list of destinations and next hops that decides where packets leaving a subnet go.
In more detail
Every subnet uses one route table, which always contains a local route for the VPC range. When several routes match, the most specific destination wins. A route table only chooses a path; security groups and network ACLs decide whether a packet is accepted.
Example
aws ec2 describe-route-tables --query 'RouteTables[].Routes[].[DestinationCidrBlock,GatewayId]'Related terms
- local route — The route every VPC route table has for the VPC’s own range, which keeps all subnets in the VPC able to reach each other.
- default route — The route used for any destination that no more specific route matches, written 0.0.0.0/0 or shown as default.
- next hop — The neighbouring router or gateway a packet is handed to on its way to its destination.
- longest prefix match — The rule that when several routes match a destination, the one with the longest prefix, the most specific, wins.
- VPC — A virtual private cloud: your own isolated private network inside a cloud provider, with an address range you choose.
- internet gateway — The VPC component that connects public subnets to the internet in both directions.
Taught in
- Ten Requests From The Auditor — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Twelve Alerts, Ten Services — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Which Zone, Which Journey? — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Nine Jobs, Not Nine Servers — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- The Public Subnet That Was Not — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Nine Wishes On The Backlog — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- The Morning An Availability Zone Went Dark — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Network As A Control: CIDR, Routes, ACLs And Security Groups — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Private Paths: VPC Endpoints And PrivateLink — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Edge: WAF, Shield, CloudFront And GuardDuty — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Decoupling: SQS, SNS, EventBridge And Step Functions — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Load Balancers And Auto Scaling: Capacity That Arrives On Time — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Disaster Recovery By The Numbers — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Route 53 Routing: Where Does A Fan In Lagos Land? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Storage Performance: IOPS, Throughput And The Right Volume — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Network Performance: Peering, Transit Gateway And The Edge — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Network Cost: NAT Gateways, Zones And Data Out — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Long-Stem Clinic: The Phrase That Decides — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Monday, Five Tickets — Microsoft Azure Administrator (AZ-104) Exam Prep
- Twenty Minutes Down At Lunchtime: App Service Plans And Slots — Microsoft Azure Administrator (AZ-104) Exam Prep
- Bristol Cannot See The Scans: Address Plans, Peering And Routes — Microsoft Azure Administrator (AZ-104) Exam Prep
- The Reports Stopped On Friday: Troubleshooting With Network Watcher — Microsoft Azure Administrator (AZ-104) Exam Prep
- Before Marcus Asks: Azure Monitor, Alerts And Insights — Microsoft Azure Administrator (AZ-104) Exam Prep
- When Did It Start, And What Changed? KQL For Administrators — Microsoft Azure Administrator (AZ-104) Exam Prep
- Policies and Least Privilege — Cloud Infrastructure & Hyperscaler Architecture
- Virtual Private Clouds — Cloud Infrastructure & Hyperscaler Architecture
- Subnets: Public and Private — Cloud Infrastructure & Hyperscaler Architecture
- Route Tables and Internet Gateways — Cloud Infrastructure & Hyperscaler Architecture
- Network Address Translation — Cloud Infrastructure & Hyperscaler Architecture
- Security Groups and Firewalls — Cloud Infrastructure & Hyperscaler Architecture
- Load Balancing and DNS — Cloud Infrastructure & Hyperscaler Architecture
- Elastic Compute Cloud (EC2) — Cloud Infrastructure & Hyperscaler Architecture
- Elastic File System (EFS) — Cloud Infrastructure & Hyperscaler Architecture
- Infrastructure as Code (Handover to Terraform) — Cloud Infrastructure & Hyperscaler Architecture
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering
- Cloud Network Isolation: VPC Peering & PrivateLink — Cloud Security & DevSecOps Engineering
- Zero-Trust Network Access & IdP Federation — Cloud Security & DevSecOps Engineering
- Shift-Left Security Principles & Automated Pipeline Gates — Cloud Security & DevSecOps Engineering