I created an AWS VPC with public and private subnet.
I created an RDS(MySQL) inside private subnet. I want to access the RDS from internet (From my home machine).
I have kept the flag Publicly Accessible Yes. Also in the RDS security group, I tried to open port3306 for all IPs (I know not recommended but still) as well tried all ports with all IPs (the worst security ..I know) and tried to access but nothing worked. I can access the RDS from bastion machine created in public subnet but from internet I can not.
Do you think, am I required any other setting?
I verified ACL and they are fine too.
Any help would be appreciated.