VPC Subnet Fails Requirement Check

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]


Related discussions:

Yep exactly. Go into the VPC console and add another subnet to the VPC but put it in a different AZ than the existing one.

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.

Put 192.168.4.0/24. It should not overlap with the other subnets

What’s the CIDR of the VPC?

If your VPC CIDR is 192.168.0.0/16 and your first subnet in us-east-1a is assigned 192.168.1.0/24, create another subnet in us-east-1b and assign it 192.168.2.0/24.

What is your vpc cidr range ? Use a higher vpc cidr range of 10.1 or 172.16. 192 would be small.

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

It’s not specifically an AWS thing, it’s more of a general network thing.

RFC1918

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.

What does the VPC console say your VPC CIDR block is? If your VPC CIDR is as /u/blackjeep74 says, then their recommendation is a correct answer.

If your VPC CIDR range is something else, then the answer will differ.