how to connect amazon aws ec2 with key pair – windows
Post on 14-Aug-2015
516 Views
Preview:
TRANSCRIPT
How To Connect Amazon AWS EC2 with Key Pair – Windows
i | P a g e
Table of Contents Overview ....................................................................................................................................................... 1
Applies To ...................................................................................................................................................... 1
Pre-requisites ................................................................................................................................................ 1
Key Pair ......................................................................................................................................................... 1
Key Name / Key Pair .................................................................................................................................. 1
Instance – Public IP ................................................................................................................................... 2
Connect Instance – Connect ..................................................................................................................... 2
Connect Instance – Get Password ............................................................................................................ 2
Connect Instance – Key Pair Path ............................................................................................................. 3
Connect Instance – Decrypt Password...................................................................................................... 3
Connect Instance – Password ................................................................................................................... 4
Connect Instance – Login .......................................................................................................................... 4
Connect Instance – RDP ............................................................................................................................ 5
How To Connect Amazon AWS EC2 with Key Pair – Windows
1 | P a g e
Overview
The purpose of this guide is to assist the users to connect the Amazon AWS EC2 Instance(s). This guide
demonstrate connecting from a Windows host.
Applies To
Windows Server (Instance), when administrator password has not been changed.
Pre-requisites
Key Pair associated with the EC2 Instance
Download and copy PEM Key to the Linux Box, from where you would like to connect
Open inbound connection rule for port “3389” on the security group associated to the instance
Public IP association
Key Pair
A key pair is an encrypted RSA Private Key that’s generated and associated to a new instance when you
build it. You can choose existing key pair or create new one.
Note: When you create a new pair ensure that you download the copy of key pair, else you will not be
able to login to the box.
Key Name / Key Pair
You can identify the key pair associated to each instance in the “Key Name”. It is the key pair filename
that is associated when you create a new instance from the Amazon AWS Console.
How To Connect Amazon AWS EC2 with Key Pair – Windows
2 | P a g e
Instance – Public IP
Identify the public IP for the instance, you can find in the instance’s “Public IP” field.
Connect Instance – Connect
Right click on the instance and click on “Connect” option.
Connect Instance – Get Password
Right click on the instance and click on “Get Password” button.
How To Connect Amazon AWS EC2 with Key Pair – Windows
3 | P a g e
Connect Instance – Key Pair Path
Choose the key pair file, “Key Name” filename of the instance associated is automatically displayed.
Connect Instance – Decrypt Password
After loading the key pair file, click on “Decrypt Password” button. To decrypt administrator password.
How To Connect Amazon AWS EC2 with Key Pair – Windows
4 | P a g e
Connect Instance – Password
After loading the key pair file, click on “Decrypt Password” button. To decrypt administrator password.
Connect Instance – Login
To connect to the windows server, run the “mstsc”, you will be prompted for the user and password,
enter “administrator” and “password” that was decrypted and displayed in the earlier step.
How To Connect Amazon AWS EC2 with Key Pair – Windows
5 | P a g e
Connect Instance – RDP
To connect to the windows server, run the “mstsc”, you will be prompted for the user and password,
enter “administrator” and “password” that was decrypted and displayed in the earlier step.
top related