Cannot create RDS SQL Server instance with easy create option

0

I get the error: "Your request to create DB instance lqms-test didn't work. VPC must have a minimum of 1 subnets in order to create a DB Subnet Group. Go to the VPC Management Console to add subnets."

However,

  • I have 8 subnets on the default VPC
  • I have tried making them private (block public access).
  • I have tried making the database subnet group manually (yes it includes subnets across service zones i.e. AZ's). I have also tried letting it automatically create a subnet group.
  • I can see it correctly select the VPC and subnet group. However, it still says I need a subnet on my VPC.
1 Answer
-1

The error you're encountering suggests that there might be an issue with the subnet configuration or visibility of subnets to RDS, rather than an actual lack of subnets in your VPC. Here are a few things to check and try:

  1. Ensure that your subnets are in different Availability Zones (AZs). RDS requires subnets in at least two different AZs for high availability.

  2. Verify that the subnets you're using are associated with the correct VPC. Sometimes, subnets may appear in the list but might not be associated with the VPC you're trying to use.

  3. Check if there are any Network ACLs (NACLs) or Security Group rules that might be restricting access to these subnets. Ensure that the necessary ports for RDS (typically 1433 for SQL Server) are open.

  4. If you're creating the DB subnet group manually, make sure you're selecting at least two subnets in different AZs.

  5. Try creating the RDS instance without using the "Easy Create" option. This will give you more control over the configuration and might help identify where the issue lies.

  6. Ensure that your IAM user or role has the necessary permissions to view and use the subnets in question.

  7. If possible, try creating a new VPC with new subnets specifically for this RDS instance to rule out any issues with the existing VPC configuration.

  8. Check if there are any Service Control Policies (SCPs) in your AWS organization that might be restricting subnet or VPC usage for RDS.

If none of these steps resolve the issue, you may need to contact AWS support for further assistance, as there could be an underlying issue with your account or the RDS service in your region.
Sources
why did i get a db creating error from terraform | AWS re:Post
Troubleshoot INCOMPATIBLE_CREATE issues due to missing instance profile permissions during Amazon RDS Custom instance creation | AWS Database Blog
Amazon RDS examples using AWS CLI - AWS SDK Code Examples

profile picture
answered 19 days ago
  • I have already done all these things. Even creating a new VPC to no avail. There are seemingly no permissions issues that I can tell either.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions