Updated on 2024-04-18 GMT+08:00

Subnet

A subnet is a unique CIDR block with a range of IP addresses in a VPC. All resources in a VPC must be deployed on subnets.

  • After a subnet is created, its CIDR block cannot be modified. Subnets in the same VPC cannot overlap.

    A subnet mask can be between the netmask of its VPC CIDR block and /28 netmask. If a VPC CIDR block is 10.0.0.0/16, its subnet mask can be between 16 and 28.

    For example, if the CIDR block of VPC-A is 10.0.0.0/16, you can specify 10.0.0.0/24 for subnet A01, 10.0.1.0/24 for subnet A02, and 10.0.2.0/24 for subnet A03.

    By default, you can create a maximum of 100 subnets in each region. If this cannot meet your service requirements, request a quota increase by referring to What Is a Quota?

Figure 1 Subnet