Hey everyone! I'm trying to figure out which VPC and subnet the development version of my RDS database is deployed in. I've looked everywhere and it seems like there's no straightforward way to find this information. When I check the database UI, I only see details about connected compute resources and security groups, but nothing about the specific VPC or subnet. I saw suggestions online about checking the ENIs, but without a proper description, it's hard to know which resource each ENI belongs to. I even tried using the AWS CLI with the 'aws rds describe-db-instances' command, but it only gives me a list of subnets where the database *could* be deployed, not its actual subnet. Am I missing something? Is there truly no way to determine the exact subnet for my RDS database?
4 Answers
You can check the subnet group name in the RDS configuration. Look for it on the left sidebar and open it. There, you should find a list of subnets associated with your RDS database.
If you go to RDS, select your DB, and check under 'Connectivity and Security' > 'Endpoints', all the relevant info should be listed there.
Another option is to ping the database. If you find out what IP it resolves to, that can help you identify its subnet.
These details are pretty hidden in the console nowadays. What you can do is add the 'DB subnet group name' column to your cluster filter table. Once you have that name, head to the 'subnet groups' tab on the left, and you’ll see the VPC and subnets it can launch in. Unfortunately, there's no clear way to tell exactly which subnet it's currently using, just an educated guess based on the availability zones.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux