Search code examples
amazon-web-servicesamazon-rdsaws-security-group

RDS - Specify IP Addresses that can access RDS instance


After following the AWS Documentation, I was able to successfully create an RDS DB Instance (PosgreSQL) and wondering if I could create a rule that limits the allowed IP addresses that can access the database.

I honestly don't know where to start again from here. I'm lost somewhere in AWS' documentation for like 2 hours. I'd greatly appreciate if anyone can point me to something useful.

My Supported Platform in RDS is VPC and I have a default VPC if that helps.


Solution

  • You want to create a Security Group and create the rules there for the Inbound and outbound IP traffic that can communicate with RDS. You can specify there IP ranges, ports etc.

    See: Amazon RDS Security Groups - Amazon Relational Database Service