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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南