AWS::EC2::Subnet
- Usually a VPC contains 3 subnets by default. One for each AZ
- The subnet is associated with a VPC and has a CIDR within the range of the CIDR of the VPC
- A subnet is tied to an
AZ -
AWS reserves the
first 4andlast 1IPs in each subnet -
Private Subnetsusually have a wider range, usually smaller than/20 -
Public Subnetsdo not need wide range, usually/24 -
Subnets can have
auto-assign Public IPto automatically request a public IP for each service within that subnet