Route Table

Route Tables in Amazon VPC

ℹ️ What is a Route Table?

  • A route table is a critical component of an Amazon VPC
  • It contains a set of rules (routes) used to direct network traffic
  • Every subnet must be associated with a route table

💡 Route Table Structure

  • Each route specifies a destination and a target
  • The default route allows internal communication within the VPC
  • You can add custom routes for external connectivity

⚠️ Rules and Limits

  • Each subnet can be associated with only one route table at a time
  • A VPC automatically creates a default main route table
  • The default route table contains a local route that allows internal VPC connectivity

🔒 Example Configuration When you create a VPC with CIDR 10.10.0.0/16 and two subnets (10.10.1.0/24, 10.10.2.0/24):

  • Each subnet is assigned the default route table
  • The default route: Destination 10.10.0.0/16 → Target local
  • This route allows all resources within the VPC to communicate with each other

Route Tables