1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked 8 months ago
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago