aws ec2 create-subnet --vpc-id
aws ec2 create-subnet --vpc-id <vpc> --cidr-block <cidr>
Risk: Safe
What it does
Adds a row of units (a subnet) inside your VPC.
When to use it
To split the VPC into public and private rows, one per wing.
Example
$ aws ec2 create-subnet --vpc-id vpc-081ec835f3EXAMPLE --cidr-block 10.0.0.0/24A /24 row: 251 usable addresses, because AWS keeps 5.
$ aws ec2 describe-subnetsList your rows and their free addresses.
Learn it in: Public and private subnets · Official docs