...

/

Public Subnet, VPC Routing, and Route Tables

Public Subnet, VPC Routing, and Route Tables

Learn about VPC routing and route tables in this lesson.

After connecting an internet gateway to the VPC, we must configure the network traffic routes to continue creating a public subnet. Let’s first go over the concept of VPC routing and the route tables needed to implement it.

VPC router

A VPC router is a fully managed AWS networking component that controls the network traffic routing within and outside a VPC. It is a crucial element that upholds the essential traffic routing rules, which can also be configured in accordance with our needs. It operates across all AWS Availability Zones to guarantee high availability and uses a Network+1 address in each subnet for the router network interface.

We don’t need to worry about a VPC router’s availability because AWS manages and maintains it. For controlling and specifying the network path, we can use the route tables and associate them with the subnets.

Route tables

Route tables in an Amazon VPC define the network traffic path using the rules contained within it, known as routes. When we create an Amazon VPC, it comes with a default route table known as the main route table. The main route table is automatically associated with subnets that are not explicitly associated with any other custom route table, and it can’t be deleted.

A subnet ...