How To Create Route Tables In VPC Network On Amazon cloud
In our previous article, we have created a VPC network and attached them with an Internet gateway. you can create a route table and perform routing with VPC networks in AWS. we can also list route tables in AWS.
Open the VPC network and look for route tables on the left side.
Click on create public/private route table, give it any name and connect with your VPC network.
I’m assuming it public Route tables created
If you want to make it public route, You will have to add a route in this route created. Click on edit routes.
Public route network: 0.0.0.0/0
The default route is 10.0.0.0/16 when you create a network and you can’t remove these networks.
Now add the network and choose internet gateway in target then your IGW name.
Now you have successfully created a routing table but you haven’t attached any public subnets yet. All the servers will be public in this subnet.
Select the route table and go to subnet associates.
Select your public-facing subnets here and click on save.
In a similar way, you can create for your private subnets.
We have successfully created VPC, route tables for private and public and Internet gateway. You can now launch a server to test if you’re getting connected to the internet or not.
Youtube Link: Setup Route Tables
You’re done aws routing table crea route aws list route tables aws