- 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.
推薦閱讀
- Getting Started with ResearchKit
- CentOS 7 Server Deployment Cookbook
- Learning Flask Framework
- Java編程指南:基礎知識、類庫應用及案例設計
- Mastering Python High Performance
- R的極客理想:工具篇
- Learning Apache Mahout Classification
- Instant Nancy Web Development
- 現代C:概念剖析和編程實踐
- PyQt編程快速上手
- Python Machine Learning Cookbook
- Java核心編程
- 像程序員一樣使用MySQL
- 匯編語言程序設計
- Instant AutoIt Scripting