In order for my RDS instance to receive access only from my EC2 instance via Security Group , I create the MySQL permission in Inbound Rules and use Private IP of the EC2 instance or the CIDR of my Subnet ?
Both works perfectly. Which one to use and why?