Search code examples
amazon-web-servicesamazon-rdsaws-security-group

I removed security groups from RDS but access still exists from EC2


I removed security groups for RDS, left access only for my IP. But access from EC2(ECS Fargate) still exists. Where I do have to look in order to fix it?

UPD:

I removed security groups from Connectivity tab in RDS > Databases Modify DB instance: ****

UPD2:

I have only one group: DevGroup with only one rule

MYSQL/Aurora TCP 3306 x.x.x.x/32 (my home IP)


Solution

  • The problem was that removing the security group from RDS didn't immediately affect it. After while access has gone.