Create Route table

Create Route table

  1. In the VPC interface:
    • Choose Route tables
    • Click on Create route table

ConnectPrivate

  1. In the Create route table interface:
    • Name: Enter Route Table Public
    • VPC: choose workshop-vpc
    • Then click on Create route table

ConnectPrivate

ConnectPrivate

  1. Click on Actions
    • Choose Edit routes
    • In the Edit routes interface, choose Add route
    • Fill in the Destination: 0.0.0.0/0 representing the Internet.
    • In the Target section, choose Internet Gateway, then select the created Internet Gateway (workshop-internet-gateway).
    • Click on Save changes

ConnectPrivate

  1. Ensure that Route Table Public is selected
    • Select Actions, then click on Edit subnet associations
    • In the Edit subnet associations interface, choose Public Subnet 1 and Public Subnet 2
    • Then click on Save associations

ConnectPrivate

  1. Review and confirm the updated Subnet associations.

ConnectPrivate

  1. Next, we will create route table for private subnet
    • In the Route tables interface, choose Create route table
    • Name: Enter Route Table Private
    • VPC: choose workshop-vpc
    • Then click on Create route table

ConnectPrivate

  1. You have successfully created a route table for private subnet

ConnectPrivate

  1. Ensure that Route Table Private is selected
    • Select Actions, then click on Edit subnet associations
    • In the Edit subnet associations interface, choose Private Subnet 1 and Private Subnet 2
    • Then click on Save associations

ConnectPrivate

  1. Review and confirm the updated Subnet associations.

ConnectPrivate