I am trying to create a VPC with multiple subnets in AWS. I am pretty sure I am get the concepts of CIDR to mask networks and available hosts.
Unfortunately, whenever I am trying to design the VPC I am getting errors. This is my VPC design:
- VPC: 10.0.0.0/16
- Public subnet 1: 10.0.1.0/16
Error:
Must be a valid CIDR block. Did you mean 10.0.0.0/16?
Then I assign my Public subnet as 10.0.0.0/16 due to the error.
Then I proceed to create my private network as 10.0.1.0/16 - I get an error:
CIDR block 10.0.1.0/16 overlaps with pre-existing CIDR block 10.0.0.0/16
What am I doing wrong? I just want to create two private network and one public network.
