Create Route tables

Create Route tables

  1. Next, we create Route tables to direct our private instances to the internet. First, choose Route tables in current dashboard and choose Create Route table ConnectPrivate
  2. Conofigure Route tables
  • Name: public-route-table
  • VPC: my-workshop-01
  • Choose Create route table ConnectPrivate
  1. Next, we add subnets to our route table. Choose Subnet associations and Edit subnet associations ConnectPrivate
  2. Choose two public subnets and Save associations ConnectPrivate
  3. Next, we add routes to our route table. Choose Routes and Edit routes ConnectPrivate
  4. Configurate route:
  • Destination: 0.0.0.0/0
  • Target: Internet Gateway
  • Target: workshop-igw-01
  • Choose Save Changes ConnectPrivate
  1. Continue to add private route table for private subnets with the same process ConnectPrivate
  • In Subnet associations, choose our two private subnets ConnectPrivate
  • In Route, we route our private subnets to the internet through NAT Gateway ConnectPrivate
  1. We also create our route table for database subnets ConnectPrivate
  • Choose our two private database subnets ConnectPrivate
  • Routing these subnets to the internet through NAT Gateway ConnectPrivate