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

  • AWS Networking Cookbook
  • Satyajit Das Jhalak Modi
  • 342字
  • 2021-07-02 19:41:39

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.
主站蜘蛛池模板: 遂川县| 比如县| 湄潭县| 炎陵县| 依安县| 玉林市| 平湖市| 蚌埠市| 青神县| 延寿县| 银川市| 修文县| 寿光市| 甘泉县| 富顺县| 扬州市| 宁波市| 香港| 镇安县| 桦甸市| 当阳市| 石阡县| 广汉市| 大洼县| 江西省| 疏勒县| 双鸭山市| 双流县| 仙居县| 屏边| 基隆市| 东至县| 新密市| 望奎县| 策勒县| 石嘴山市| 濮阳县| 富蕴县| 新绛县| 靖江市| 长葛市|