aws connecting to your ec2 instances via ssh
To connect the ec2 instances, is pretty straight forward, just run ssh -i <your-key-pair-file-name>.pem and then follow by username@your-public-ec2-instance name.
However, sometime we tend to forget about the default username and spend time looking for this info.
This is documented here:-
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect.html#connection-prereqs-get-info-about-instance
Comments