<?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: Chimdi Uche Eni</title>
    <description>The latest articles on DEV Community by Chimdi Uche Eni (@chimdi_ucheeni).</description>
    <link>https://dev.to/chimdi_ucheeni</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%2F3319577%2F46685108-f842-4897-9044-0c7064ff6944.png</url>
      <title>DEV Community: Chimdi Uche Eni</title>
      <link>https://dev.to/chimdi_ucheeni</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chimdi_ucheeni"/>
    <language>en</language>
    <item>
      <title>Step-by-Step Guide to Creating and Attaching Volumes in AWS.</title>
      <dc:creator>Chimdi Uche Eni</dc:creator>
      <pubDate>Mon, 14 Jul 2025 19:25:03 +0000</pubDate>
      <link>https://dev.to/chimdi_ucheeni/step-by-step-guide-to-creating-and-attaching-volumes-in-aws-2lgo</link>
      <guid>https://dev.to/chimdi_ucheeni/step-by-step-guide-to-creating-and-attaching-volumes-in-aws-2lgo</guid>
      <description>&lt;h3&gt;
  
  
  INTRODUCTION
&lt;/h3&gt;

&lt;p&gt;Launching an EC2 instance on AWS is similar to creating a cloud-based virtual machine.  However, it needs storage, which is where volumes come in, just like any other computer. In AWS, a volume is essentially a virtual hard drive (also known as an &lt;strong&gt;EBS volume&lt;/strong&gt;) that houses the data, programs, and files on your server.  Your instance wouldn't have a location to save modifications or install applications without it. You will discover the functions of volumes, their management, and their importance in the operation of cloud servers in this guide.&lt;/p&gt;

&lt;p&gt;Before you begin, ensure your AWS account is operational. If you haven’t set one up yet, no worries, I’ve broken it down step-by-step in a previous guide. You’ll also need Git Bash for this setup, so be sure to download it if you haven’t already.&lt;/p&gt;

&lt;p&gt;Let's begin!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log in to your &lt;strong&gt;AWS account&lt;/strong&gt; and &lt;strong&gt;create an instance&lt;/strong&gt;, but for this, we will launch two instances.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa7s56fmysz6e0tkdyy87.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the instances&lt;/strong&gt; (&lt;em&gt;web1 and web2&lt;/em&gt;):
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqv458cn18gmzc2op3zlm.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flztxu8iqpiutxc3pn0sc.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Amazon Linux 2&lt;/strong&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fid0mna4q33k0yw7xx714.png" alt=" " width="800" height="448"&gt;
&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;t2 micro&lt;/strong&gt; and select the already created &lt;strong&gt;key pair&lt;/strong&gt; from the last article:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ukrk5doice9m3z1ecn7.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxz70554tlahng3u10bbs.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Allow &lt;strong&gt;HTTP&lt;/strong&gt;: with this setup, you’ll be able to view and test your work directly in the browser.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs57ytlgr58f5tq98697f.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Make sure both instances are in the same region and availability zones.&lt;br&gt;
Don't forget to copy the IP address&lt;/p&gt;

&lt;h3&gt;
  
  
  Open GiT BASH
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Connect to the key pair: &lt;em&gt;cd downloads&lt;/em&gt; 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxxufuyu6qpfqncmeq0vg.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Connect to the instance: &lt;em&gt;ssh -i your-key.pem ec2-user@ip address&lt;/em&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1hds9dp15x0xjhwr4fo.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Update the system and install: to &lt;strong&gt;update&lt;/strong&gt; (&lt;em&gt;sudo yum update -y&lt;/em&gt;), and to &lt;strong&gt;install&lt;/strong&gt;(sudo yum install httpd -y)
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvw1avhem92cloazy3dt0.png" alt=" " width="800" height="461"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftql4j888kjual7ouamlg.png" alt=" " width="800" height="449"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09h28c8ctoyibg2760ev.png" alt=" " width="800" height="449"&gt;
(Operational) Customize each server’s homepage so you can tell them apart: &lt;em&gt;echo "This is Web Server 1" | sudo tee /var/www/html/index.html&lt;/em&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1fkr8xipo31tve848sl0.png" alt=" " width="800" height="445"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now we go back to the EC2 dashboard&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a &lt;strong&gt;Target Group&lt;/strong&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh8lqdn291ivdkapssn6h.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the target group&lt;/strong&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fska0niexlzo83q1r75n3.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8l9jj6wopy2qgxd7rr0s.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8cdnwi7ijtb09t73uive.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Leave every other thing in default and click next to add both instances.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Register both instances&lt;/strong&gt;: make sure you tick both boxes, and then create.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr1nl94f9uspxwyfxsk8w.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkwvn9s7x57yw403dd1m7.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Go back to the dashboard so we can create the load balancer&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a &lt;strong&gt;load balancer&lt;/strong&gt;: 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjakyo9f23rspgd9q12a4.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Application Load Balancer&lt;/strong&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb3yh6mx2bsi89tjzrjh4.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name it:&lt;/strong&gt; 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyzzqctwt3pwxhfr5waem.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;availability Zone&lt;/strong&gt; of your instance:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftfp2j4t38r3ahp7kgy54.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxcxn8gcn03b4qtsqezty.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;target group&lt;/strong&gt; that you created earlier:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbcs8eqg8artlv98tqizu.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Floxxbr09jgqv3c2md9lb.png" alt=" " width="800" height="377"&gt;
Go back to the dashboard and copy your DNS and paste it in your web browser, and that's it 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7fdgwc48nj4iguhpamxv.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;At first, getting your AWS load balancer to function can be a little challenging, but after Apache configuration, security groups, and health checks all work together, it becomes easy.  Don't worry if yours didn't load immediately. The most important thing is to ensure that your load balancer is correctly linked, your firewall rules are open, and your EC2 instances are in good health.  You're ready for scalable, seamless web traffic once things are in place.&lt;/p&gt;

&lt;p&gt;Until next time, stay curious.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>webdev</category>
      <category>awschallenge</category>
    </item>
    <item>
      <title>Step-by-Step Beginner Guide: Set Up Apache on AWS EC2 with Git Bash.</title>
      <dc:creator>Chimdi Uche Eni</dc:creator>
      <pubDate>Sun, 13 Jul 2025 18:00:05 +0000</pubDate>
      <link>https://dev.to/chimdi_ucheeni/step-by-step-beginner-guide-set-up-apache-on-aws-ec2-with-git-bash-2knk</link>
      <guid>https://dev.to/chimdi_ucheeni/step-by-step-beginner-guide-set-up-apache-on-aws-ec2-with-git-bash-2knk</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
Ever wondered how websites go live? In this guide, you’ll learn how to launch your web server on AWS EC2 using Git Bash on Windows. We’ll use Apache, a popular web server that delivers your site to anyone who visits it. No techy background needed, just clear, beginner-friendly steps. By the end, you’ll have a live server you can access from any browser. Let’s get started!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log in to your &lt;strong&gt;AWS account&lt;/strong&gt; and &lt;strong&gt;create an instance&lt;/strong&gt;: 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3s14ime8574nlz4gflqk.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the instance&lt;/strong&gt; (ApacheServer):
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F50lnd8jbkpn5oy99qlm1.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Selete &lt;strong&gt;Ubuntu&lt;/strong&gt;:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyoqqc05fcjfrlxjzmfrq.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;t2 micro&lt;/strong&gt; and select the already created &lt;strong&gt;key pair&lt;/strong&gt; from the last article:
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmuukrjuuzd2nkdmj5nkq.png" alt=" " width="800" height="377"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4aiyvijm69jcmp8kpkus.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;Allow &lt;strong&gt;HTTP&lt;/strong&gt;: with this setup, you’ll be able to view and test your work directly in the browser.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn95km5oenxe3xgc16bms.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Launch the Instance&lt;/strong&gt;: &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3lonb4u8w0jp2xhzq496.png" alt=" " width="800" height="377"&gt;
&lt;strong&gt;Now, copy the IP address&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  OPEN GiTBASH
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Connect your &lt;strong&gt;key pair&lt;/strong&gt;: &lt;em&gt;cd downloads&lt;/em&gt;  &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5vmnour8es6d3mbr62iz.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Run this to &lt;strong&gt;set permission&lt;/strong&gt;: &lt;em&gt;chmod 400 your-key.pem&lt;/em&gt; 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F156my2a7exwxxbku3324.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Connect to &lt;strong&gt;the instance&lt;/strong&gt;: &lt;em&gt;ssh -i your-key.pem ubuntu@ip address&lt;/em&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy9ot3pduihgvdorf4rm1.png" alt=" " width="800" height="449"&gt;
When prompted, &lt;strong&gt;type yes and press Enter&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Upgrade the system and Install: to &lt;strong&gt;upgrade&lt;/strong&gt;(&lt;em&gt;sudo apt upgrade -y&lt;/em&gt;) and to &lt;strong&gt;install&lt;/strong&gt;(&lt;em&gt;sudo apt install apache2 -y&lt;/em&gt;): 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxf8zqtj13imtmd55xxnj.png" alt=" " width="800" height="449"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw6n0xbpy0czrxa9lv9cr.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Start &lt;strong&gt;Apache and Enable&lt;/strong&gt; on Boot: 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft8i4vllcij9ubzbv70av.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Go back to your instance dashboard and copy the &lt;strong&gt;IP address&lt;/strong&gt; and paste it into your web browser. You should see &lt;strong&gt;IT WORKS!&lt;/strong&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkpw3c7hdbaumvlo9zjcp.png" alt=" " width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;🎉 &lt;strong&gt;AMAZING RIGHT&lt;/strong&gt;!&lt;br&gt;
You’ve just launched a working Apache server on AWS using Git Bash.&lt;/p&gt;

&lt;p&gt;And there you have it, my very first Apache web server running in the cloud, powered by AWS and set up entirely through Git Bash. Not bad for a beginner, right? This is just the beginning. &lt;br&gt;
Until next time, stay curious.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>devops</category>
      <category>aws</category>
    </item>
    <item>
      <title>🚀My First Web Server with NGINX: Step by Step guide.</title>
      <dc:creator>Chimdi Uche Eni</dc:creator>
      <pubDate>Fri, 11 Jul 2025 01:47:55 +0000</pubDate>
      <link>https://dev.to/chimdi_ucheeni/your-first-ec2-web-server-with-nginx-a-quick-cloud-tutorial-9fl</link>
      <guid>https://dev.to/chimdi_ucheeni/your-first-ec2-web-server-with-nginx-a-quick-cloud-tutorial-9fl</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
  Deploying a web server on the cloud doesn’t have to be complicated, and AWS makes it even easier. In this beginner-friendly guide, I’ll walk you through how I installed NGINX on an Ubuntu-based EC2 instance, step by step. &lt;strong&gt;Ubuntu&lt;/strong&gt; is a popular, beginner-friendly Linux operating system often used on servers. &lt;strong&gt;NGINX&lt;/strong&gt; (pronounced as “engine-x”) is a powerful, high-performance web server used to host websites and apps. &lt;/p&gt;

&lt;p&gt;Before you begin, make sure you have the following in place: Make sure your AWS account is up and running. If you haven’t set one up yet, no worries, I’ve broken it down step-by-step in a previous guide. You’ll also need Git Bash for this setup, so be sure to download it if you haven’t already."&lt;/p&gt;

&lt;p&gt;Alright, &lt;strong&gt;let’s dive in&lt;/strong&gt;, shall we?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Login to your &lt;strong&gt;AWS account&lt;/strong&gt; and  &lt;strong&gt;create an instance&lt;/strong&gt;: &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8u65ij4wbpn5xopelknf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8u65ij4wbpn5xopelknf.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Name the Instance&lt;/strong&gt; (mynginxweb):&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flq0366onl1oofxf10d2r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flq0366onl1oofxf10d2r.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Ubuntu Server&lt;/strong&gt;:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ojs5eadqhm4rrpk183t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ojs5eadqhm4rrpk183t.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use &lt;strong&gt;t2 micro&lt;/strong&gt; and select the already created &lt;strong&gt;key pair&lt;/strong&gt; from the last article:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6t6uzzjo0fn0kzk16388.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6t6uzzjo0fn0kzk16388.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frge77tjkslmwj562ettu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frge77tjkslmwj562ettu.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Allow &lt;strong&gt;HTTP&lt;/strong&gt;: with this setup, you’ll be able to view and test your work directly in the browser.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftw01w3p2s5ey2hvw2is6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftw01w3p2s5ey2hvw2is6.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Launch the Instance&lt;/strong&gt;:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodwuuidagqzdb15k0del.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fodwuuidagqzdb15k0del.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;br&gt;
Don't forget to copy the Ip address&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Open GiT BASH
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Connect to the &lt;strong&gt;key pair&lt;/strong&gt;: _cd downloads.&lt;br&gt;
_&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy4ycd5dcijz3dblo955g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy4ycd5dcijz3dblo955g.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Connect to &lt;strong&gt;the instance&lt;/strong&gt;: &lt;em&gt;ssh -i your-key.pem ubuntu@ip address&lt;/em&gt; &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrx9kbt65vzfg3fm0x5g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrx9kbt65vzfg3fm0x5g.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
When prompted, type &lt;strong&gt;yes&lt;/strong&gt; and press &lt;strong&gt;Enter&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Upgrade the system and Install: to &lt;strong&gt;upgrade&lt;/strong&gt;(&lt;em&gt;sudo apt install nginx -y&lt;/em&gt;) and to &lt;strong&gt;install&lt;/strong&gt;(&lt;em&gt;sudo apt install nginx -y&lt;/em&gt;).&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foo178qdiwvm03baem5md.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foo178qdiwvm03baem5md.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff8hez4j9i8ayggfyimi9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff8hez4j9i8ayggfyimi9.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;To &lt;strong&gt;start&lt;/strong&gt; and &lt;strong&gt;Enable&lt;/strong&gt; the NGINX: to &lt;strong&gt;Start&lt;/strong&gt;(sudo systemctl start nginx) and to &lt;strong&gt;Enable&lt;/strong&gt;(&lt;em&gt;sudo systemctl enable nginx&lt;/em&gt;)&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jmlbyninj8305h74gv4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jmlbyninj8305h74gv4.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
You can also check if NGINX is running and active.(&lt;em&gt;sudo systemctl status nginx&lt;/em&gt;). &lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnrjn0qb5gf7mezu4hokw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnrjn0qb5gf7mezu4hokw.png" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go back to your instance dashboard and copy the IP address and paste it into your web browser. You should see the default NGINX welcome page!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdk0g2u1sqzlvabix1vei.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdk0g2u1sqzlvabix1vei.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I went further to customize my page with &lt;em&gt;sudo nano /var/www/html/index.nginx-debian.html&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ezwwmghyr74ts9eej1y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ezwwmghyr74ts9eej1y.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;:&lt;/p&gt;

&lt;p&gt;🎉 That’s it! You’ve launched an &lt;strong&gt;Ubuntu EC2 instance&lt;/strong&gt;, connected via SSH, installed NGINX, and served your first web page from the cloud, a solid first step into cloud computing and DevOps.&lt;/p&gt;

&lt;p&gt;Until next time, stay curious. &lt;/p&gt;

</description>
      <category>nginx</category>
      <category>ubuntu</category>
      <category>aws</category>
      <category>devops</category>
    </item>
    <item>
      <title>Beginner's Journey: How I Launched an EC2 Instance for the First Time.</title>
      <dc:creator>Chimdi Uche Eni</dc:creator>
      <pubDate>Sun, 06 Jul 2025 02:21:44 +0000</pubDate>
      <link>https://dev.to/chimdi_ucheeni/beginners-journey-how-i-launched-an-ec2-instance-for-the-first-time-49ma</link>
      <guid>https://dev.to/chimdi_ucheeni/beginners-journey-how-i-launched-an-ec2-instance-for-the-first-time-49ma</guid>
      <description>&lt;p&gt;Launching your cloud server might sound complex, but with AWS EC2, it’s surprisingly straightforward. In this article, I’ll walk you through how I set up my very first virtual machine using a t2.micro instance. Whether you’re just getting started with DevOps or exploring cloud infrastructure for the first time, this beginner-friendly guide will help you take that first step with no overwhelm.&lt;/p&gt;

&lt;p&gt;Before we begin, ensure you have the following ready:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;strong&gt;AWS&lt;/strong&gt; account: To get started, you’ll need an AWS account. If you don’t have one, you can create it at &lt;a href="https://aws.amazon.com/registration-confirmation/" rel="noopener noreferrer"&gt;https://aws.amazon.com/registration-confirmation/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3jhzrpsaoe493jnvmdey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3jhzrpsaoe493jnvmdey.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Already have an account? Log in to your AWS root account to get started.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create an EC2 Instance&lt;/strong&gt;: In the AWS Management Console, use the search bar to find EC2, then click “Launch Instance” to begin setting up your virtual server.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0p50kijxgfmcuzvi42g.png" alt="Image description" width="800" height="377"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To get your EC2 instance up and running, complete the following steps:&lt;br&gt;
a. &lt;strong&gt;Enter a name for your instance&lt;/strong&gt; (e.g., my_happy_instance).&lt;br&gt;
&lt;em&gt;Note: Avoid using spaces in the instance name stick to underscores or hyphens instead&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzogjjq81w66gw8axpys3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzogjjq81w66gw8axpys3.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b. &lt;strong&gt;Select an operating system&lt;/strong&gt;: For this beginner-level setup, we’ll be using Amazon Linux — a lightweight, secure, and AWS-optimized OS that’s perfect for getting started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzpo7lnappbv9qpfew9k5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzpo7lnappbv9qpfew9k5.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c. &lt;strong&gt;Choose an instance type&lt;/strong&gt;: For this article and basic testing, select &lt;strong&gt;t2.micro&lt;/strong&gt;, which is free-tier eligible and ideal for beginners experimenting with AWS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdff7nzn52ucahok2dovp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdff7nzn52ucahok2dovp.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d. &lt;strong&gt;Create a key pair&lt;/strong&gt;: Key pairs are essential for securely connecting to your EC2 instance. You can either select an existing key pair (if you’ve previously created one) or generate a new key pair. Be sure to &lt;strong&gt;download and store it securely&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F13oiei0ciai6gy2o4u2t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F13oiei0ciai6gy2o4u2t.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7r3d08140vv9vucvl24.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7r3d08140vv9vucvl24.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e. &lt;strong&gt;Configure your security group&lt;/strong&gt;: For this tutorial, create a new security group and enable the following inbound rule:&lt;br&gt;
&lt;em&gt;SSH (port 22): Allow access from anywhere (0.0.0.0/0) to connect to your instance via the internet.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkfogy3w6moreqvwl8wb0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkfogy3w6moreqvwl8wb0.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;⚠️ Note: Allowing SSH from anywhere is fine for testing, but for production environments, it's best to restrict access to specific IP addresses for security.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;f. Review your settings, then click &lt;strong&gt;“Launch Instance”&lt;/strong&gt; to create and deploy your EC2 virtual machine.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download Git Bash&lt;/strong&gt;: If you're using Windows, download and install Git Bash, a terminal tool that allows you to run Linux commands and securely connect to your EC2 instance using SSH&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Navigate to your key pair location&lt;/strong&gt;: Make sure you change into the directory where your &lt;strong&gt;key pair&lt;/strong&gt; was downloaded.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9r6yvmqu7fahbw4eouas.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9r6yvmqu7fahbw4eouas.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update the file permissions to secure the key&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmfofx1j2uik18452fqq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmfofx1j2uik18452fqq.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connect to your instance using the following SSH command: Go back to the EC2 dashboard and copy your instance’s public IPv4 address. You’ll need this IP to connect to your instance via SSH in Git Bash&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F37ijocapiutg9bui3wbg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F37ijocapiutg9bui3wbg.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
When prompted during your first SSH connection, type &lt;strong&gt;yes&lt;/strong&gt; and press Enter. This confirms the connection and adds your instance to the list of known hosts.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You’ll see a terminal prompt that looks something like this: that means you're now logged in and ready to interact with your instance
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9hca2j75afl1k2urro9.png" alt="Image description" width="800" height="449"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Let’s run a small, satisfying command just to make sure your EC2 instance is up and responding.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Create a File&lt;/strong&gt;: To verify that your EC2 instance is working as expected, we’ll start by creating a simple text file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcs4jdbstulitol5h790b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcs4jdbstulitol5h790b.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read the File&lt;/strong&gt;: Let’s take a peek inside the file we just created just to make sure the magic happened. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzebpnqcqmrpmpyeutpb0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzebpnqcqmrpmpyeutpb0.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
**&lt;/p&gt;

&lt;h3&gt;
  
  
  🎉Boom! You just ran your first command on the cloud🎉
&lt;/h3&gt;

&lt;p&gt;**&lt;br&gt;
🎉And that’s it!!!. You just launched your first EC2 instance and ran your first cloud command! It might’ve seemed complex at first, but now you’ve taken a solid step into the world of cloud computing.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>aws</category>
      <category>linux</category>
      <category>cloudcomputing</category>
    </item>
  </channel>
</rss>
