<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mary Wanjiru </title>
    <description>The latest articles on DEV Community by Mary Wanjiru  (@wanjiru_ndirangu_ecb301d0).</description>
    <link>https://dev.to/wanjiru_ndirangu_ecb301d0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3215673%2F39cbf1b6-7c82-46d9-b3e2-0eaca80c13a9.png</url>
      <title>DEV Community: Mary Wanjiru </title>
      <link>https://dev.to/wanjiru_ndirangu_ecb301d0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wanjiru_ndirangu_ecb301d0"/>
    <language>en</language>
    <item>
      <title>Managing AWS EC2 Instances Securely and Easily Using SSH and PuTTY on Windows PC</title>
      <dc:creator>Mary Wanjiru </dc:creator>
      <pubDate>Tue, 27 May 2025 21:29:29 +0000</pubDate>
      <link>https://dev.to/wanjiru_ndirangu_ecb301d0/managing-aws-ec2-instances-securely-and-easily-using-ssh-and-putty-on-windows-pc-3akn</link>
      <guid>https://dev.to/wanjiru_ndirangu_ecb301d0/managing-aws-ec2-instances-securely-and-easily-using-ssh-and-putty-on-windows-pc-3akn</guid>
      <description>&lt;p&gt;As I learn more about cloud computing and AWS, I came across EC2 (Elastic Compute Cloud) – a service that enables me run virtual servers in the cloud. These instances gave me full control over how to set them up and access them.&lt;/p&gt;

&lt;p&gt;To connect to an EC2 instance securely, I used SSH (Secure Shell). Since I’m on a Windows machine I used a free tool called PuTTY, which helps me manage my instances both safely and conveniently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is SSH and Why Am I Using It?
&lt;/h2&gt;

&lt;p&gt;SSH (Secure Shell) is a secure way to connect to a remote device like a server. Instead of typing in a password I used a key pair – a public key stored on the server and a private key saved safely on my computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to connect to EC2 Using PuTTY
&lt;/h2&gt;

&lt;p&gt;To connect to AWS instance I followed below steps using PuTTY on Windows.&lt;/p&gt;

&lt;p&gt;What I Used:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A running EC2 instance on AWS&lt;/li&gt;
&lt;li&gt;A .ppt key pair that I downloaded when launching the instance&lt;/li&gt;
&lt;li&gt;PuTTY installed on my PC.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Connecting with PuTTY
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;I opened PuTTY.&lt;/li&gt;
&lt;li&gt;In the Host Name field, I entered the public IP of my EC2 instance (from the AWS console).&lt;/li&gt;
&lt;li&gt;Under Connection → SSH → Auth, I browsed and selected my .ppk file.&lt;/li&gt;
&lt;li&gt;I clicked Open to start the session.&lt;/li&gt;
&lt;li&gt;When prompted for a username, I used &lt;code&gt;ec2-user&lt;/code&gt; for Amazon Linux&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why PuTTY is Convenient on Windows
&lt;/h2&gt;

&lt;p&gt;PuTTY is lightweight and easy to use. It helps me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Save sessions for quick connections&lt;/li&gt;
&lt;li&gt;Use terminal commands like I would on a Linux server&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I’ve Learned
&lt;/h2&gt;

&lt;p&gt;Learning how to connect to AWS EC2 instances using SSH and PuTTY has been a valuable experience. It helped me understand the basics of secure server management and gives me hands-on practice in cloud computing.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>beginners</category>
      <category>basic</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
