Create Route table
Create Route table
- In the VPC interface:
- Choose Route tables
- Click on Create route table

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


- 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

- 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

- Review and confirm the updated Subnet associations.

- 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

- You have successfully created a route table for private subnet

- 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

- Review and confirm the updated Subnet associations.
