- 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.
推薦閱讀
- scikit-learn Cookbook
- Android開發精要
- Vue.js前端開發基礎與項目實戰
- Hands-On JavaScript High Performance
- Quarkus實踐指南:構建新一代的Kubernetes原生Java微服務
- Data Analysis with Stata
- iOS編程基礎:Swift、Xcode和Cocoa入門指南
- Learning JavaScript Data Structures and Algorithms
- Python Data Structures and Algorithms
- C#程序設計教程(第3版)
- Spring Boot+Vue全棧開發實戰
- Java EE架構設計與開發實踐
- Microsoft HoloLens By Example
- 編程的原則:改善代碼質量的101個方法
- Getting Started with Windows Server Security