top of page

puttyy

How to connect to AWS EC2 instance by using PuTTY from Windows 7?

Connecting to an AWS (Amazon Web Services) EC2 instance from a Windows 7 using PuTTY involve establishing a secure and remote connection to a virtual server hosted in cloud. AWS EC2 instances are used for a variety of reasons, including hosting applications and managing databases.

 

Download and Install PuTTY:

 

If you have not already on your windows 7 OS, then Download PuTTY software.

 

Generate Key Pair:

​

Make sure that you have the private key for the key pair linked with your AWS EC2 instance. If you do not have a key pair, you can create in the AWS Management Console.

​

 

IP address or Public DNS of AWS Management Console:

​

Login the EC2 Dashboard.

Find your EC2 instance and note down its Public IP or Public DNS.

 

Configure PuTTY:

 

Open PuTTY configuration window on your Windows 7 machine.

Enter the Public IP or Public DNS of your AWS EC2 instance in the Host Name section.

Set the connection type to SSH and port to 22.

 

Set up SSH authentication:

​

Navigate to Connection > SSH > Auth>Credentials on the left menu panel. Click on Browse and select the private key generated in AWS.

​

(The AWS instance generate key are in .pem format convert it into .ppk PuTTY format by PuTTYgen, which is part of PuTTY suite.)

 

Saving session:

​

Enter a name for your session in the Saved Sessions section and click the Save button to save it for future use.

 

Establish a connection:

 

To begin the connection, click the Open button.

 

You can now connect to AWS instance from Window system by using PuTTY through command line interface.

bottom of page