- AWS Networking Cookbook
- Satyajit Das Jhalak Modi
- 246字
- 2021-07-02 19:41:34
How to do it...
- 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
- 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
- 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
- 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
- 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.
- You can delete a subnet by choosing the Delete option from the Subnet Actions menu.
推薦閱讀
- Learning Linux Binary Analysis
- Koa開發:入門、進階與實戰
- Mastering Elasticsearch(Second Edition)
- Raspberry Pi Robotic Projects(Third Edition)
- Android系統下Java編程詳解
- Java設計模式深入研究
- Building Microservices with Go
- ASP.NET Core 2 High Performance(Second Edition)
- 循序漸進Vue.js 3前端開發實戰
- C#程序開發參考手冊
- ASP.NET jQuery Cookbook(Second Edition)
- 流暢的Python
- 前端程序員面試筆試真題與解析
- 程序員的算法趣題2
- Expert Angular