AWS, Cloud Computing

3 Mins Read

A Guide to Connect to Instances Using PuTTY

Voiced by Amazon Polly

Introduction

It is crucial to have remote access to virtual machines or instances in the age of cloud computing nowadays. You can carry out numerous administrative jobs, fix problems, and carry out tasks on your projects without a physical connection because of the ability to remotely access your instances. In this post, we’ll explore utilizing PuTTY to connect to an instance.

Pioneers in Cloud Consulting & Migration Services

  • Reduced infrastructural costs
  • Accelerated application deployment
Get Started

What is PuTTY?

Using the free, open-source SSH, Telnet, and Rlogin client PuTTY on the operating system, you can establish secure shell connections to distant machines. Any Windows PC may quickly obtain and set up the lightweight program PuTTY.

PuTTY supports several interfaces besides SSH, such as Telnet, SCP, and SFTP.

Connecting to an Instance using PuTTY

Let’s first define an instance before moving on to the instructions for connecting to one using PuTTY. On a cloud computing platform, an instance is a virtual machine that is running. It might be a virtual machine from Microsoft Azure, Google Cloud VM, or Amazon EC2.

Let’s now explore how to connect to an instance using PuTTY:

Step 1: Install PuTTY after downloading it

Downloading and installing PuTTY on your local computer is the first step. PuTTY can be downloaded from the putty.org website. To install PuTTY on your local PC after downloading the installer, launch the installation wizard and follow the on-screen directions.

Step 2: Obtain the Public IP Address of the Instance

You must find your instance’s public IP address to connect to it. The public IP address is a distinctive number that your cloud computing platform assigns to each instance. Your cloud computing platform’s dashboard will show your instance’s public IP address.

Suppose you’re working with an Amazon EC2 instance, for instance. In that case, you may seek the public IP address by choosing the instance in the Amazon EC2 dashboard and looking for the Public IPv4 address in the Instance information.

Step 3: Configure PuTTY for the Connection

Double-clicking the PuTTY shortcut on your desktop will start PuTTY. The PuTTY Configuration window will open as a result. The connection details for your instance should be established here.

Enter the public IP address associated with your instance in the Host Name (or IP address) column. Pick SSH as the protocol in the Connection Type section.

The port for SSH connections is 22 by default. You can type the port number in the Port box if your instance is set up to use a different port.

putty

Step 4: Save the PuTTY Session

After setting up the connection settings, you can save the session by naming it in the Saved Sessions field and hitting the Save button.

By saving the session, you can connect to your instance easily in future sessions without entering your connection credentials again.

Step 5: Open the PuTTY Session

Select the session’s name from the Saved Sessions list and press the Open button to start the saved PuTTY session. By doing so, a connection to your instance will be established.

Step 6: Authenticate Yourself

You will be asked to authenticate yourself when you connect to your instance. You might need to input a private key, username, and password, depending on how your instance is set up.

If you have to enter your login information and password, do so and then click the OK button to continue.

If a private key input box appears, click the Browse button to find the private key file on your local computer. Once you’ve found the private key file, click the Open button after selecting it. PuTTY will use the private key to verify your identity in the instance.

Step 7: Start Using the Instance

You can use the instance as soon as your self-authentication is successful. On the instance, you can run commands, upload or download files, and carry out different tasks related to administration.

Conclusion

In this blog post, we looked at using PuTTY to connect to an instance. Cloud computing users must be able to connect to their instances remotely using PuTTY to complete numerous administrative activities and work on their projects without a direct physical connection. You may quickly establish a secure shell connection to your instance and begin working on it by following the instructions provided in this blog.

This blog’s instructions are particular to connect to an instance via PuTTY on a Windows computer, so it’s vital to remember that. The instructions can differ if you use a different operating system or SSH client. However, the broad ideas and concepts covered in this blog should still be applicable.

Finally, it’s critical to check that you have correctly set up your instance’s security settings so that only authorized individuals can access it. To protect the security of your instance, always use powerful passwords or confidential keys and update them regularly.

Making IT Networks Enterprise-ready – Cloud Management Services

  • Accelerated cloud migration
  • End-to-end view of the cloud environment
Get Started

About CloudThat

CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.

CloudThat is the first Indian Company to win the prestigious Microsoft Partner 2024 Award and is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 850k+ professionals in 600+ cloud certifications and completed 500+ consulting projects globally, CloudThat is an official AWS Advanced Consulting Partner, Microsoft Gold Partner, AWS Training PartnerAWS Migration PartnerAWS Data and Analytics PartnerAWS DevOps Competency PartnerAWS GenAI Competency PartnerAmazon QuickSight Service Delivery PartnerAmazon EKS Service Delivery Partner AWS Microsoft Workload PartnersAmazon EC2 Service Delivery PartnerAmazon ECS Service Delivery PartnerAWS Glue Service Delivery PartnerAmazon Redshift Service Delivery PartnerAWS Control Tower Service Delivery PartnerAWS WAF Service Delivery PartnerAmazon CloudFront Service Delivery PartnerAmazon OpenSearch Service Delivery PartnerAWS DMS Service Delivery PartnerAWS Systems Manager Service Delivery PartnerAmazon RDS Service Delivery PartnerAWS CloudFormation Service Delivery PartnerAWS ConfigAmazon EMR and many more.

FAQs

1. What tasks can you carry out on my instance once you have connected to it using PuTTY?

ANS: – Once you have successfully authenticated yourself, you can run commands, upload or download files, and carry out different tasks related to the administration of your instance using PuTTY.

2. What should you do to protect the security of my instance?

ANS: – It is critical to check that you have correctly set up your instance’s security settings so that only authorized individuals can access it. To protect the security of your instance, always use strong passwords or private keys and update them regularly.

3. How can I save a PuTTY session for future connections?

ANS: – After setting up the connection settings, you can save the session by naming it in the Saved Sessions field and clicking the Save button. By saving the session, you can connect to your instance in future sessions without entering your connection credentials again.

WRITTEN BY Vinay Lanjewar

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!