I have two subnets, public and private. Web server on EC2 is in public subnet and MySQL database on EC2 server in private subnet. We decided not to go with RDS.
For RDS, the inbound rule for private subnet is "MySQL/Aurora". What should it be if MySQL is on an EC2 instance in a private subnet?
I'm trying to make it secure as possible.