- AWS Networking Cookbook
- Satyajit Das Jhalak Modi
- 342字
- 2021-07-02 19:41:39
How to do it...
- Log in to your AWS account and open the VPC Dashboard as shown in the earlier recipe.
- Click on Route Tables under the Virtual Private Cloud menu. We can see the Main Route Table created and associated with the VPC that we created from the console. You can see that no subnet is associated with any route explicitly:

Route Table console
- Click on Routes. You can see there is only one route with the Target as local. Click on Edit, and then click on Add another route. Add all destinations with 0.0.0.0/0 and target the Internet Gateway that we created earlier. Also, add the NAT Gateway in as another route. Click on the Save button:

Configure main route table
- Go to the Subnet Associations tab. You can see that no subnet is explicitly associated with this route:

Subnet association console for Route Table
- Click on Edit. The following console will open. Select the subnet that we created from the console. Click on the Save button:

Edit subnet association for main route table
- You can see that Explicitly Association has been modified from 0 to 1:

Route Table subnet association
- Let's add another route for creating a private subnet. Click on Create Route Table. The following window will open. Put the Name tag and select the VPC that we created from the console earlier. Click on Yes, Create:

Console for Route Table creation
- We can see the newly created Route Table in the console. However, the Main column is No for this case:

Console with custom route table
- Go to Subnet Associations. Click on the Edit button. Choose the other subnet that we created. Click on the Save button:
Subnet association for custom route table
- After removing the subnet association with a particular route table, you can delete it by clicking the Delete Route Table button.
推薦閱讀
- Learn Blockchain Programming with JavaScript
- C語(yǔ)言程序設(shè)計(jì)案例教程(第2版)
- JavaScript 從入門(mén)到項(xiàng)目實(shí)踐(超值版)
- 編程的修煉
- C#程序設(shè)計(jì)教程
- 深入淺出Android Jetpack
- 秒懂設(shè)計(jì)模式
- Instant Debian:Build a Web Server
- Mobile Forensics:Advanced Investigative Strategies
- SSH框架企業(yè)級(jí)應(yīng)用實(shí)戰(zhàn)
- Java語(yǔ)言程序設(shè)計(jì)實(shí)用教程(第2版)
- Tkinter GUI Application Development Blueprints
- OpenCV輕松入門(mén):面向Python
- MySQL高可用實(shí)踐
- Android 3D游戲開(kāi)發(fā)技術(shù)寶典:OpenGL ES 2.0