Find out how to Connect with EC2 Occasion utilizing Putty Rapidly
Connecting to an EC2 occasion is required many instances when it’s essential carry out any operations in your EC2 occasion.
There are lots of methods to do it together with from the browser itself utilizing AWS EC2 Occasion Join Choice. On this publish, we’ll see how to hook up with EC2 Occasion utilizing putty.
So are you prepared?
Let’s get began…
Don’t need to miss any posts from us? be a part of us on our Fb group, and comply with us on Fb, Twitter, LinkedIn, and Instagram. You may as well subscribe to our e-newsletter beneath to not miss any updates from us.
What’s Putty?
PuTTY is free and open-source software program that helps a number of community protocols comparable to SSH, Telnet, SCP, serial port and uncooked socket connection.
It’s mostly used to hook up with distant servers utilizing SSH, a safe protocol that encrypts all communication between the 2 machines.
Listed here are a few of it’s normal use cases-
- To connect with distant servers and run instructions
- To switch recordsdata between the native and distant machines
- To configure and troubleshoot community units
- To entry serial units, comparable to routers and switches
- To debug software program
- To observe system efficiency
Prerequisite
The prerequisite to hook up with the EC2 occasion utilizing putty is nothing particular. You simply must have an AWS account. Moreover, it’s essential have permission to create/connect with the AWS occasion.
See Find out how to Create a Free Tier AWS account in Proper Manner
Steps to Connect with EC2 Occasion utilizing Putty Rapidly
- Launch an Amazon Linux EC2 Occasion
- Obtain and Set up PuTTy
- Convert .pem Keypair to .ppk format
- Connect with EC2 Occasion utilizing Putty
Step 1: Launch an Amazon Linux EC2 Occasion
Earlier than you connect with an EC2 occasion, it’s essential have one up and operating. Should you don’t have one, use my earlier tutorial to create an Amazon Linux Occasion on AWS.
Be certain to avoid wasting your keypair (.pem) file at a handy location as you have to them whereas connecting to your occasion.
After you have an occasion, seize the general public IP/DNS as we’ll want it later. You will discover it from the console as proven below-

InstanceIP = 13.232.217.17
Step 2: Obtain and Set up PuTTy
We simply grabbed the general public IP of the occasion we need to connect with. Subsequent, it’s essential set up PuTTy in your native system when you don’t have already got it.
First, navigate to PuTTY downloads web page and choose an installer on your system. And set up it.
As soon as put in, it seems to be like below-

Step 3: Convert .pem Keypair to .ppk format
PuTTY understands the .ppk file as a substitute of the .pem file. Let’s convert our keypair which is at the moment in .pem format to .ppk.
Open Puttygen by typing Puttygen within the search bar.
Click on on the Load button
Navigate to the folder the place keypair is and set the filetype to *
As soon as you choose .pem file, PuTTy imports it as proven below-

Click on OK after which Click on Save Non-public Key.
Step 4: Connect with EC2 Occasion utilizing Putty
Shut the Puttygen utility and open PuTTy.
Present the ec2-user@PublicIp you saved earlier within the hostname subject, click on save-

Subsequent, click on on SSH from the left facet menu, click on on Auth-> Credentials and Click on Browse on Non-public key file for Authentication.
Choose the .ppk file we generated earlier. And Click on Open.

You will note a immediate just like the above to Settle for the connection for the primary time. Click on on Settle for and inside no time, you ought to be linked to your EC2 occasion like proven below-

Congratulations !!!
You will have efficiently linked to your EC2 Occasion utilizing Putty.
Conclusion
On this publish, you discovered learn how to Connect with EC2 Occasion utilizing Putty rapidly. We began from scratch, launched an EC2 occasion and linked to it by way of SSH utilizing SSH shopper PuTTy.
I hope you have been ready to hook up with your occasion utilizing PuTTy. Do let me know within the remark field.
Prompt Learn: