官术网_书友最值得收藏!

How to do it...

  1. Log in to your AWS account and open the VPC Dashboard as shown in the earlier recipe.
  2. 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
  1. 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
  1. Go to the Subnet Associations tab. You can see that no subnet is explicitly associated with this route:
 Subnet association console for Route Table
  1. 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
  1. You can see that Explicitly Association has been modified from 0 to 1:
 Route Table subnet association
  1. 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
  1. 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
  1. 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
  1. After removing the subnet association with a particular route table, you can delete it by clicking the Delete Route Table button.
主站蜘蛛池模板: 阜康市| 宜兰市| 蓬莱市| 高阳县| 龙里县| 江源县| 全州县| 阿拉善盟| 新巴尔虎左旗| 繁峙县| 靖边县| 吉安市| 开江县| 黔西| 金溪县| 西充县| 务川| 盐山县| 丽水市| 东乡县| 丰城市| 新乡市| 长沙市| 湘乡市| 武冈市| 西华县| 辰溪县| 神池县| 玉树县| 桂阳县| 太原市| 叶城县| 千阳县| 尉氏县| 锡林浩特市| 阜阳市| 扎兰屯市| 清水县| 永春县| 南宫市| 筠连县|