I created a MySQL instance in AWS RDS and selected the create new security group option which created a new security group as below
Inbound rule created with a specific allowed ip
This allows traffic from only the specified ip. In the public accessibility option I have selected yes. Now, I am able to connect to this database on my local computer. I am not able to understand the point of this security group inbound rule and where this ip in inbound rule is coming from?