Update Private Route Tables
We have two route tables, one for each private subnet. For now, these route tables just have a local route.
We need to add them another route that points to the ENI that will be attached to the NAT instance.
-
Open the VPC console (opens in a new tab).
-
In the sidebar, choose Route Tables.
-
Select the route table associated with the first private subnet.
-
Choose the Routes tab and then Edit routes.
-
Choose Add route.
-
In the Destination field, enter
0.0.0.0/0
. -
In the Target field, choose Network Interface and select the Network Interface ID we created in the previous step.
-
Choose Save changes.
Repeat the same steps for the route table associated with the second private subnet.