Create a EC2 Key Pair

Open the Amazon EC2 console:

Navigation pane > Network & Security > Key Pairs

Create Key Pair

Enter a name for the key pair and press Create

You will be prompted to save the private key file on your local machine, save it in a safe place.

Creating Instance That Will Use Key Pair

More Options > Security > Virtual Machine Permissions > EC2 Key Pair

Existing Instance To Use Key Pair

Configuration > Instances > gear settings button > > EC2 Key Pair

Login Using SSH Client

Host: The instance URL

Login: ec2-user

Password: [leave blank, even if prompted]

Private Key: Your .pem file

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.


Your email address will not be published.