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 Resposta
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.

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas