1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
If an RDS instance is running in the VPC to be deleted, it cannot be deleted because an ENI will be created in the VPC.
Therefore, first delete resources such as RDS instances and RDS Proxy, and then delete the VPC.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc
Relevant content
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago

I have a free-tier RDS running, I cannot delete that. VPC is recurring charges even though the DB instance is created in free-tier version. When I had a chat with billing support team, they told me to delete the VPC because it generating charges.
I believe that if I have to keep my DB instance on RDS up and running, I will have to maintain a VPC. Could you please provide some help on this?
By any chance, have you enabled public access for RDS? In this case, a public IPv4 address is attached to RDS, which incurs costs. If public access is enabled, disabling it will remove RDS's public IPv4, which will reduce costs. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Hiding
By the way, to access RDS locally, you can use the SSM port forwarding function as described in the document below, which eliminates the need to enable public access. https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/
Yes, I have enabled public access for RDS. I think disabling the public access will resolve the issue. Thank you for providing the resource on SSM.
Will I be able to connect to the DB instance using SSMS using the above resource?
Appreciate your help.