The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again

Viewed 5416

I am trying to create an Postgresql RDS in costume VPC. when i try to modify the publicly accessible to "YES"

I am getting this below error:

Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again (Service: AmazonRDS; Status Code: 400; Error Code: InvalidVPCNetworkStateFault; Request ID: fcd53ba0-f6c6-4da3-ac4f-a2608b30623f)

Cloud someone help is out in resolving this?

2 Answers

In your VPC configurations, in the actions, enter on DNS hostnames and DNS resolutions. Check then as ENABLED enter image description here

If you want your DB instance in the VPC to be publicly accessible, you must enable the VPC attributes DNS hostnames and DNS resolution.

Related