My VPC CIDR block is 10.0.0.0/16
As I understand it, this should support 256 (effectively 254) subnets with 65534 hosts per subnet.
When I tried to create one subnet 10.8.0.0/24
and associate it with the VPC, I received this error:
Error creating subnet:
InvalidSubnet.Range: The CIDR '10.8.0.0/24' is invalid.
An address like 10.8.0.1
belongs to the subnet 10.8.0.0 which looks to be inside 10.0.0.0/16
. Perhaps I am misguided in my understanding. Please explain where I went wrong.