Overview

Every subnet in a VPC must be associated with a route table, which controls the routing for the subnet. A route table contains a set of rules (routes) that specify the destination CIDR block and the target (e.g., an Internet Gateway, a NAT Gateway, or a VPC Peering connection).

Key Concepts

  • Main Route Table: The default route table that comes with a VPC.
  • Custom Route Table: A route table created by the user for specific subnets.
  • Destination: The range of IP addresses where you want your traffic to go.
  • Target: The gateway, network interface, or connection through which to send the traffic.

Importance

Route tables are the 'traffic controllers' of a VPC, ensuring that data reaches its intended destination securely and efficiently.

Related Terms