Can I Whitelist Individual IP Addresses for AWS RDS?

0
5
Asked By CuriousCat42 On

I'm looking to find out if there's a way to whitelist specific IP addresses for accessing an AWS RDS instance. The database stands alone without any EC2 instances tied to it. I've seen that it's possible to add CIDR blocks in Network ACLs or Subnet rules, but I'm struggling to figure out how to restrict access to just individual public IP addresses.

1 Answer

Answered By TechieTraveler99 On

You can use security groups to manage access, but they generally work with CIDR blocks too. If your goal is to allow only specific IP addresses, you might set a security group rule for each IP you want to whitelist—just keep in mind you'll still enter them in a format that might look like a CIDR block, which can be confusing. Overall, while you can't precisely whitelist one IP without a block structure, you can get pretty close by setting up those rules correctly!

DataDynamo88 -

This is true! Just remember that every IP needs its own rule, and if you have multiple addresses, it can get a bit messy.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.