I'm having an issue with Security Groups in AWS. I have 4 security groups, 2 in EC2 and 2 in RDS.
ec2-prod ec2-test rds-prod rds-test
On the other hand, I have a database DEV, having the rds-test security group associated. In the rds-test inbound rules I've added ec2-prod and ec2-test, and my IP is added into the ec2-test, but for some reason it's not working.
If I add my IP directly on rds-test I can connect to the database, but this behavior make no sense to me. Just in case, in the ec2-test security group, my IP has permission ALL TCP.
Any ideas?