How to whitelist an RDS endpoint

0

I need to whitelist an RDS Postgres endpoint in my security group. But the form only accepts CIDR block, SecurityGroup ID or Prefix list. How can I work around this?

1 Answer
2

When you add the security group rule, choose Custom, then input the ID of the RDS's Security Group (sg-abcdefg)

https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#adding-security-group-rules

In this way, you are whitelisting all instance that use that particular Security Group sg-abcdefg (Including the RDS instance)

To avoid over whitelisting, I would also suggest creating a dedicated Security Group for the RDS instance.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions