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 回答
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.

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则