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

How to do it...

  1. Click on Subnets in VPC Dashboard. You can see that one default subnet is created in each AZ available in that region associated with the default VPC:
 Default subnet
  1. Click on Create Subnet link. Put the Name tag, select the VPC, CIDR range and Availability Zone. Click on Yes, Create:
Create subnet from console
  1. A subnet is created with the Route Table and the Network ACL. We can select a subnet and, from the Subnet Actions menu, delete a subnet or modify other settings:
 Dashboard with newly created subnet
  1. Click on the Route Table tab. You can see two entries, one for local VPC communication and the other for external communication through the Internet Gateway (starting with igw). The Internet Gateway enables resources hosted in AWS to communicate with the outside world. As the subnet is capable of communication with the external world through an Internet Gateway, it is a public subnet:
 Route Table of subnet
  1. Click on Edit, so we can change the Route Table. If we associate a subnet with the Route Table that does not have an IGW attached to it, the subnet will act as a private subnet because the external world cannot connect through it. In the later section, we'll see how to create a route table.
  2. You can delete a subnet by choosing the Delete option from the Subnet Actions menu.
主站蜘蛛池模板: 云阳县| 津南区| 肇东市| 巴彦淖尔市| 康马县| 中江县| 黑水县| 株洲县| 四会市| 古田县| 永济市| 玉树县| 无棣县| 鄂托克旗| 长沙市| 大埔区| 湘阴县| 曲阳县| 东至县| 湟源县| 七台河市| 淅川县| 清苑县| 深圳市| 叶城县| 孝感市| 江华| 兰考县| 威海市| 文山县| 漯河市| 北京市| 喀喇沁旗| 米泉市| 板桥市| 定襄县| 沂南县| 清远市| 天全县| 靖远县| 安平县|