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

Taught in

References

Certification courses