How to connect to an Amazon Linux EC2 in private VPC subnet?

AWS Linux EC2 instance by default use SSH key file instead of user id and password…