I have a VPC with a single subnet attached to a single AZ (us-east-1). Can I add another subnet with a different AZ to the VPC? How do I remedy the error below so I can fire up a Database Migration Services VM?
SYSTEM ERROR MESSAGE: Replication Subnet Group doesn’t meet availability zone coverage requirement. Please add valid subnets to cover at least 2 availability zones. Current coverage: 1. Valid availability zones are: [us-east-1a, us-east-1b, us-east-1c, us-east-1d, us-east-1e, us-east-1f]
When I go to the VPC console and create a new subnet, the final box is IPv4 CIDR block*
Nothing I place in IPv4CIDR works / is accepted. My current working subnet uses 192.168.1.0/24.
Off topic, but - Are the CIDR ranges of 10.x, 172.x, and 192.x the only internal ranges of AWS? What are differences between them, if any? Sorry, you’re reply sparked some curiosity! TY
Once you get this figured out, put some thought into the CIDR you want to use. When using transit vpc’s, vpc peering or tying the vpc to your lan with direct connect or something else you need to ensure that the CIDR’s do not overlap.
These are the generic private IP address classes. 192 is split in /16, 172 in /12 and 10 in /8. So 10.x got the largest ip pool. We usually use 10.x to segregate the vpc networks. So that your vpc cidr can be 10.1.0.0/8, subnets divided on that vpc by 10.1.1.0/16, next vpc 10.2.0.0/8, subnets of that vpc 10.2.1.0/16, 10.2.2.0/16 likewise.