From the course: VPC Networking: Designing a Software Defined Data Center on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Route tables

Route tables

- [Instructor] When we're creating subnets at AWS, behind the scenes a route table is automatically added to every subnet that's created allowing local routing throughout the VPC. Any traffic patterns, egress, ingress, going out to the internet private traffic must be defined with a route table. If a route table isn't designed properly, your traffic is not leaving the subnet. Now each subnet can only be associated with just one route table and that route table can have multiple routes but it's up to you to assign them. Typically the default route table assigned to a new subnet hosted within a VPC is called the main route table. It's probably the safest one to assign to a subnet because it only allows local routing. If I wanted a public subnet to be able to route to the internet gateway, well then I would create a public route table. Note, I have the local designation for routing but I've also got a route to the internet gateway 0.0.0.0/0 meaning I don't know where the destination is…

Contents