<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abdulraman A on Medium]]></title>
        <description><![CDATA[Stories by Abdulraman A on Medium]]></description>
        <link>https://medium.com/@abdulramana2?source=rss-435f2cb4c09c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mnr0P6V_zYyFrYA_w0vSag.jpeg</url>
            <title>Stories by Abdulraman A on Medium</title>
            <link>https://medium.com/@abdulramana2?source=rss-435f2cb4c09c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:17:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdulramana2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Lambda vs EC2: Why Run a Server When You Can Run Just Your Code?]]></title>
            <link>https://medium.com/@abdulramana2/aws-lambda-vs-ec2-why-run-a-server-when-you-can-run-just-your-code-b86d01e7c0fc?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b86d01e7c0fc</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 13:10:49 GMT</pubDate>
            <atom:updated>2026-10-24T13:10:49.277Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered if it’s possible to run your application on AWS without launching an EC2 instance or managing a server?</p><p>In my previous article, I shared how I deployed my Go web application on <strong>Amazon EC2</strong>. During the deployment, I had to configure security groups, install Go, check network ports, and make sure my application was accessible through the internet.</p><p>But what if I just want to run a piece of code without going through all those server configurations?</p><p>Does AWS have a service that can handle that?</p><p>Well, let’s take a look at AWS Lambda, how it works, and what makes it different from Amazon EC2.</p><p><strong>What is AWS Lambda?</strong></p><p>AWS Lambda is a serverless compute service that allows us to run code without having to manage the underlying servers.</p><p>Does serverless mean there are no servers? <strong>NO</strong></p><p>What it means is that there are still servers somewhere running our code. However, AWS manages the underlying infrastructure for us.</p><p>When we run application on EC2, we need to:</p><ol><li>Launch an EC2 instance.</li><li>Select an operating system.</li><li>Install the required software.</li><li>Configure the environment.</li><li>Deploy and run our application.</li><li>Monitor and maintain the server.</li></ol><p>With <strong>AWS Lambda</strong>, we don’t need to manage all these server-related tasks ourselves.</p><p>Instead, we write our code, upload or deploy it to Lambda, configure how it should run, and AWS takes care of the underlying compute infrastructure.</p><p>But how does Lambda know when to run code?</p><p><strong>Let me explain how AWS Lambda works</strong></p><p>Let’s use a simple example.</p><p>Imagine you’re building an application where users upload images. Every time someone uploads an image, you want the application to automatically resize it. One way to achieve this is to create a server that continuously runs an application waiting for new images.</p><p><strong>But what happens if nobody uploads an image for several hours?</strong></p><p>Depending on how we’ve configured the server, it may still be running even when there’s nothing to process.</p><p><strong>Now let’s look at how Lambda can handle this.</strong></p><p>Suppose we’re using Amazon S3 to store uploaded images. We can configure an S3 event notification so that whenever a new image is uploaded, it triggers a Lambda function. The Lambda function then processes the image and saves the resized version.</p><p><strong>The process looks something like this:</strong></p><p><strong>User uploads image — Amazon S3 — AWS Lambda — Image processing — Resized image saved.</strong></p><p>We didn’t need to keep an EC2 instance running just to wait for an image upload. Instead, the function is invoked when the configured event occurs. This is one of the interesting things about Lambda.</p><p><strong>Lambda follows an event-driven computing model.</strong></p><p>Event-driven computing simply means that something happens, and that event causes another action to take place.</p><p>For example, when someone uploads an image to Amazon S3, the upload can trigger a Lambda function to process that image.</p><p>So instead of keeping an application running just to check whether a new file has arrived, Lambda can respond when the event occurs.</p><ol><li>Upload a file to Amazon S3.</li><li>A request reaches an API through Amazon API Gateway.</li><li>A scheduled event triggers a Lambda function.</li><li>A message becomes available in an Amazon SQS queue.</li></ol><p>These services can be integrated with Lambda, although the way they invoke or supply events to functions can differ.</p><p>The important thing to understand is that <strong>Lambda allows us to execute code in response to events without managing the underlying servers.</strong></p><p>Understanding AWS Lambda Functions</p><p>Now that we understand what triggers Lambda, let’s talk about the actual code. In AWS lambda, the code we deploy is organised into what AWS calls a Lambda function. A Lambda function contains our application logic and configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W49uBF2J9MWhSxW50XD-CQ.png" /></figure><p>For example I want to create a simple Python function that returns a message.</p><pre>import json<br><br>def lambda_handler(event, context):<br>    # TODO implement<br>    return {<br>        &#39;statusCode&#39;: 200,<br>        &#39;body&#39;: json.dumps(&#39;Hello from Lambda!&#39;)<br>    }</pre><p>This is a basic example of a Lambda function written in Python. But what do <strong>event </strong>and<strong> context</strong> mean?</p><p>The <strong>event</strong> parameter contains information passed to the function when it is invoked. while the context parameter provides information about the current invocation and execution environment.</p><p><em>For example, if the function receives an event from Amazon S3, the event can contain information about the object that was uploaded.</em></p><p>Our function can use that information to decide what action to perform.</p><p>In this example, the function just returns a message. <strong>Hello from Lambda!</strong></p><p><em>One thing worth mentioning is that returning </em><strong><em>statusCode</em></strong><em> and </em><strong><em>body</em></strong><em> doesn’t automatically make a Lambda function publicly accessible through a browser. We would need to configure something like API Gateway or a Lambda Function URL to expose an HTTP endpoint.</em></p><p><strong>AWS Lambda vs Amazon EC2</strong></p><p>Since I’ve already worked with EC2, I find it easier to understand Lambda by comparing the two services. With EC2, AWS provides the virtual server, but I’m responsible for managing the operating system, installing software, deploying my application, and maintaining the environment.</p><p>With Lambda, AWS manages the underlying server infrastructure and supported runtime environment. However, I’m still responsible for my <strong>application code, permissions, dependencies, and configuration.</strong></p><p><strong>Another difference is how applications run.</strong></p><p>An EC2 instance can continuously run an application, while Lambda functions are designed to execute individual tasks or requests. Lambda also has execution limits. For example, a single Lambda invocation can run for a maximum of 15 minutes. This doesn’t mean Lambda is better than EC2, it depends on what we’re trying to build.</p><p>If I need a virtual server where I have more control over the operating system and want to run a long-running application, EC2 might be a better choice. But if I want to process uploaded files, respond to events, or run short tasks without managing servers, Lambda could be a good option. Both services solve different problems.</p><p><strong>How Does AWS Lambda Pricing Work?</strong></p><p>Another thing that caught my attention while learning Lambda was its pricing model. Since I’ve already worked with EC2, I started wondering whether AWS would still charge me if my Lambda function wasn’t doing anything.</p><p>With Lambda, AWS mainly charges based on how many times our function is invoked and how long it runs, taking into account the memory we’ve allocated to it. Let’s go back to our image upload example. If nobody uploads an image for several hours, our Lambda function won’t need to process anything. During that period, we generally won’t pay for on-demand execution time.</p><p>But does that mean Lambda is completely free when it’s not running? Not necessarily. Features like provisioned concurrency can still cost money, and other AWS services connected to our function may have their own charges.</p><p>Lambda also offers a Free Tier, which can be useful when learning and testing small projects.</p><p><strong>Is AWS Lambda Completely Free From Server Management?</strong></p><p>Although AWS manages the underlying servers, that doesn’t mean we can forget about everything else. We still need to think about security, permissions, monitoring, and how our code behaves. For example, Lambda functions use IAM execution roles to access other AWS services. If my function needs to read an object from an S3 bucket, I need to make sure its execution role has the required permissions.</p><p>We can also use <strong>Amazon CloudWatch</strong> to monitor our functions and investigate errors. So even though Lambda removes much of the work involved in managing servers, we still have responsibilities as developers.</p><p><em>One thing I’m beginning to understand as I continue learning AWS is that cloud computing isn’t just about creating virtual servers. It’s also about choosing the right service for the problem we’re trying to solve.</em></p><p>Working with EC2 helped me understand how to launch and manage a server, configure networking, and deploy an application. Learning about Lambda introduces another way of running code.</p><p><em>Instead of managing a server and keeping an application running, I can build a function that executes when something happens.</em></p><p>As I continue learning AWS, I’m realising that understanding what problem a service solves is just as important as knowing how to use it.</p><p><strong>If you found this article helpful, kindly give it a clap and follow me as I continue sharing my AWS, cloud computing, and hands-on learning journey.</strong></p><p><strong>Keep learning. Keep building.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b86d01e7c0fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying My Go Web Application on AWS EC2- Part 2: From Localhost to Public Access]]></title>
            <link>https://medium.com/@abdulramana2/deploying-my-go-web-application-on-aws-ec2-part-2-from-localhost-to-public-access-06b0a8badeb4?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/06b0a8badeb4</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 10:09:10 GMT</pubDate>
            <atom:updated>2026-10-16T10:09:10.438Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>In my previous article,</strong> I explained how I launched an EC2 instance, connected to it using SSH, and transferred my Go web application from my Ubuntu computer to AWS. At this point, my project files were already on the EC2 instance.</p><p>Since my application was built using the Go programming language, I wanted to make sure Go was installed on the server so I could build and run the application.</p><p>But installing Go and transferring my application to the server didn’t automatically mean people could access it over the internet.</p><p>My next challenge was figuring out how to make the application accessible through a browser.</p><p><strong>Let’s continue from where I stopped.</strong></p><p>Since Go wasn’t installed on my EC2 instance, I had to install it first.</p><p>I used the following command:</p><pre>sudo dnf install golang -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o5t8K9mvk5jYvtiYLBWgwA.png" /></figure><p>After the installation, I verified that Go was installed successfully by checking its version using the following command:</p><pre>go version</pre><p><strong><em>Step 6: Running My Go Application on EC2</em></strong></p><p><em>With the appropriate Go version installed on the server, I could build my application using:</em></p><pre>go build -o ascii-art-web .</pre><p>This command creates an executable named <strong><em>ascii-art-web.</em></strong></p><p>In my transferred project, I already had an executable with that name, so I decided to try running it first.</p><pre>./ascii-art-web</pre><p>And the terminal displayed:</p><pre>Server starting on http://localhost:8080<br>Press Ctrl+C to stop</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zd7jCkER_uEnMCPC1bhhGQ.png" /></figure><p>That was a good sign. My application had started successfully on the EC2 instance.</p><p>But I had another question. “If my application is running on EC2, why is it showing localhost instead of my public IP address?”</p><p>This made me think more about how networking works and how my EC2 instance communicates with the outside world.</p><p><strong><em>Step 7: Understanding Localhost and Port 8080</em></strong></p><p>The message displayed by my application was: <em>Server starting on</em></p><pre> http://localhost:8080</pre><p>At first, I wanted to understand why the terminal was showing localhost.</p><p>“localhost” is the computer on which a program is running.</p><p>If I run my application on Ubuntu, localhost refers to my Ubuntu computer.<br>So even though the application was running in <strong>AWS,</strong> opening</p><pre>http://localhost:8080 </pre><p>on my laptop wouldn’t connect to it directly.</p><p>I needed to use the EC2 instance’s public IP address.</p><p>Something like</p><pre>http://18.237.229.59:8080</pre><p>But there was another important detail.</p><p>The application also needed to listen on a network interface that could accept incoming connections.</p><p>For a Go web server, using an address like this:</p><pre>http.ListenAndServe(&quot;:8080&quot;, nil)</pre><p>allows the application to listen on port<strong> 8080 </strong>on the available network interfaces.</p><p>On the other hand, binding specifically to <strong>127.0.0.1:8080</strong> would restrict direct access to the local machine.</p><p>To investigate what was happening, I used AI to help me find a command for checking the listening ports on my EC2 instance.</p><pre>sudo ss -tulnp | grep 8080</pre><p>The output showed that the application was listening on: <strong>*:8080</strong></p><p>This meant the application was listening on port 8080 across the available interfaces. So the application itself was ready to receive connections.</p><p>The next thing to check was whether <strong>AWS </strong>allowed incoming traffic to reach that port.</p><p><strong><em>Step 8: Configuring My EC2 Security Group</em></strong></p><p>My next stop was the <strong>EC2 security group.</strong></p><p>Even though my Go application was running, I still needed to make sure it was accessible through the internet. It controls which incoming connections are allowed.</p><p>When I checked my EC2 security group, I realised that allowing the application to run on port 8080 wasn’t enough. I also needed to allow incoming traffic on that port.</p><p>I navigated to:</p><pre>EC2 Dashboard → Instances → Security → Security Groups</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IiuuU6A7Ay8DpnAL0GSUtg.png" /></figure><p>I selected the security group attached to my instance and reviewed the inbound rules. I added a Custom TCP inbound rule for port 8080 and set the source to 0.0.0.0/0 to allow public access to my application.</p><p>For a public test application, this can be useful, but it should only be used when you intentionally want the service exposed to the internet.</p><p>For SSH access on <strong>port 22</strong>, it’s safer to restrict the source to your own public IP address.</p><p>During the configuration, I also wondered whether I needed to create a new security group.</p><p>The answer was <strong>NO.</strong></p><p>I could update the inbound rules of the security group already attached to my EC2 instance.</p><p>After checking the rules, I returned to my browser to test the application.</p><p><strong><em>Step 9: Testing My Application Through the Public IP Address</em></strong></p><p>I had:</p><ul><li>Created an EC2 instance.<br>- Resolved the public IP configuration.<br>- Connected using SSH.<br>- Transferred my Go project.<br>- Started the application.<br>- Checked port 8080.<br>- Reviewed the security group inbound rules.</li></ul><p>It was time to test whether everything worked together.</p><p>I opened my browser and entered:</p><pre>http://18.237.229.59:8080</pre><p>Boom! It worked! My ASCII Art Web application loaded successfully!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iBs1e8aBTtSiID0Rhmb7Yw.png" /></figure><p>I could now access my application through the EC2 public IP address instead of running it only on my local Ubuntu computer.</p><p>What made this interesting was that the application was now running on a remote server in <strong>AWS.</strong></p><p><em>As long as the EC2 instance was running, the application process remained active, and the required network configuration was in place, other people could also access it through the public URL.</em></p><p>Finally, I could open my application from a browser outside my EC2 instance.</p><p>What I Learned From the Deployment</p><p>Looking back at the entire process, I realized that deploying an application involves more than writing code and running a command.</p><p>This project helped me understand how several technologies work together.</p><p>Although the deployment was successful, there are still a few things I would like to improve on.</p><p>First, I would configure the application to run as a background service using <strong>systemd</strong>, so it doesn’t depend on keeping an SSH terminal session open.</p><p>Second, I would configure a domain name and HTTPS instead of relying on a public IP address and port 8080.</p><p>Finally, I would also like to explore using <strong>Nginx</strong> as a reverse proxy and automate future deployments.</p><p>My application is working now, but I know there are still things I need to improve before I can consider it ready for production.</p><p><em>Building my ASCII Art Web application using Go was one part of the project. Deploying it on AWS EC2 gave me another opportunity to understand how applications work outside a local development environment.</em></p><p><strong>One thing I enjoy about hands-on learning is that things don’t always work the first time.</strong></p><p><strong>Sometimes, an error message is what pushes you to understand a concept better.</strong></p><p><em>For me, this project wasn’t just about getting my application online. It was about connecting what I’ve learned in Go programming, Linux, networking, and </em><strong><em>AWS cloud computing.</em></strong></p><p><strong>If you found this article helpful, kindly give it a clap and follow me as I continue sharing my AWS, cloud computing, and hands-on learning journey.</strong></p><p><strong><em>Keep learning. Keep building</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06b0a8badeb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Deployed My Go Web Application on AWS EC2 (And Fixed the Errors Along the Way)]]></title>
            <link>https://medium.com/@abdulramana2/how-i-deployed-my-go-web-application-on-aws-ec2-and-fixed-the-errors-along-the-way-0e85be9f4991?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e85be9f4991</guid>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 13:55:40 GMT</pubDate>
            <atom:updated>2026-10-13T13:55:40.665Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever built a web application that works perfectly on your computer and thought of how other people could access it over the internet?</p><p>That was the question I wanted to answer while working on my ASCII Art Web project, a simple web application I built using the Go programming language.</p><p>The application allows users to enter text and convert it into ASCII art through a web interface.</p><p>Since the application was already running on my Ubuntu computer, I decided to deploy it on Amazon EC2.</p><p>I thought the process would be straightforward: launch an EC2 instance, transfer my application, run it, and access it through the browser.</p><p>But that’s not what I expected.</p><p>I encountered several challenges, from configuring a public IP address to transferring my project files, understanding how localhost works, and allowing traffic through my EC2 security group.</p><p>I had to go back and check some of my configurations, figure out what I was doing wrong, and try again until I got it working.</p><p>In this article, I’ll share how I moved my Go application from Ubuntu to AWS EC2, the problems I ran into, and how I managed to get it running.</p><p><strong><em>Step 1: Creating an Amazon EC2 Instance</em></strong></p><p>The first thing I needed was a server where my Go application could run.</p><p>Since I was working with AWS, I decided to use <strong>Amazon Elastic Compute Cloud (EC2).</strong></p><p>Think of EC2 as having another computer, but instead of keeping it in your house or office, you’re renting a virtual server from AWS to run your applications.</p><p>The difference is that AWS provides the infrastructure, so you don’t have to buy or maintain a physical server</p><p>For this project, I used an EC2 instance running Amazon Linux.</p><p>To create the instance, I logged in to my AWS Management Console and followed these steps:</p><ol><li>Navigate to the EC2 dashboard.<br>2. Click Launch instance.<br>3. Enter a name for the instance.<br>4. Select Amazon Linux as the Amazon Machine Image (AMI).<br>5. Choose an instance type suitable for the application.<br>6. Create or select an existing key pair for SSH access.<br>7. Configure the network settings and security group.<br>8. Launch the instance.</li></ol><p>After launching the instance, I expected to connect to it from my Ubuntu terminal and start preparing the environment for my application.</p><p>But I noticed something.<br>My EC2 instance had a private IP address, but no public IPv4 address.</p><p>That was my first challenge.</p><p><strong><em>Step 2: Troubleshooting the Missing Public IP Address</em></strong><br>You might be wondering: Why do I need a public IP address when my EC2 instance already has a private IP address?</p><p>Let’s take two computers connected to the same office network as an example. They can communicate using their private IP addresses because they are part of the same network.</p><p>But if someone outside that network wants to connect directly over the internet, additional networking configuration is required.The same applies to AWS.</p><p>A private IP address allows an EC2 instance to communicate within its VPC and connected networks.</p><p>For someone outside my VPC to connect directly to the instance over the internet, I needed a public IP address. I also had to make sure the route table and security group allowed the connection.</p><p>Since I wanted to connect to my EC2 instance directly from my Ubuntu computer using SSH, I needed a way to reach it.</p><p><strong><em>How I approached the problem</em></strong></p><p>I needed to make sure my instance had a public IP address and that its subnet had a route to an Internet Gateway.</p><p>One way to provide a public IPv4 address to an existing instance is by associating an Elastic IP address. Public IP assignment can also be configured when launching an instance.</p><p>After resolving the public IP configuration, I was able to proceed with connecting to my server.</p><p><em>Just because an EC2 instance is running doesn’t mean it can automatically communicate with the internet.</em><br>Understanding how IP addresses, route tables, and Internet Gateways work together is important when troubleshooting AWS networking.</p><p><strong><em>Step 3: Connecting to My EC2 Instance Using SSH</em></strong></p><p>Now that my instance had a public IP address, the next step was connecting to it from my Ubuntu terminal.<br><strong>SSH</strong> stands for <em>Secure Shell</em>. It allows us to securely connect to a remote computer and execute commands.</p><p>Here is the command I used:</p><p><strong>ssh -i “ec2.pem” ec2-user@35.84.165.235</strong></p><p>Let’s break down the command.</p><p>-ssh initiates the remote connection.<br>- -i specifies the private key used for authentication.<br>- ec2.pem is my private key file.<br>- ec2-user is the default username for Amazon Linux.<br>- 35.84.165.235 was the public IP address of my EC2 instance at that stage.</p><p>Before running the SSH command, you need to change the permissions of the private key.<br>chmod 400 ec2.pem</p><p>Once connected, I could navigate directories and execute Linux commands directly on my EC2 instance.</p><p>Moving my application from Ubuntu to the server.</p><p><strong><em>Step 4: Transferring My Go Application to EC2</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zC-Oz0dzjXv_5G9uRXb5QA.png" /></figure><p>My ASCII Art Web project was already stored on my local Ubuntu computer.</p><p>Instead of manually recreating the files on EC2, I wanted to transfer the entire project directory.</p><p>For this, I used <strong>SCP</strong> (Secure Copy). This allows us to securely transfer files between computers using SSH.</p><p>Command I used was: “<strong><em>scp -i “ec2.pem” -r ~/Documents/Ascii-art-web ec2-user@PUBLIC_IP:~/”</em></strong></p><p>However, my first attempt didn’t work. the error message i got was “cp: stat <strong><em>local “/home/ec2-user/Documents/Ascii-art-web”: No such file or directory”</em></strong></p><p>At first, I needed to understand why SCP couldn’t find the folder.</p><p>Then I realized something: <em>I was already connected to my EC2 instance when I tried to execute the command.</em></p><p>My project was stored on my local Ubuntu computer, not on the EC2 instance.</p><p>That meant SCP was looking for the project directory on the wrong computer.</p><p>To verify the location of my project, I returned to my local Ubuntu terminal and checked my Documents directory.</p><p><strong>ls ~/Documents</strong></p><p>I could see my project folder: Ascii-art-web</p><p>“I tried running the command again from my local Ubuntu terminal using the correct folder path and the transfer was successful”.</p><p>Your local computer and your EC2 instance have different file systems.</p><p><em>“Before transferring files, always confirm where the source files are located and which computer is executing the command.”</em></p><p><strong><em>Step 5: Checking My Application Files on EC2</em></strong><br>After transferring the project, I connected to my EC2 instance again.</p><p>I navigated to the application directory:</p><p><strong>cd ~/Ascii-art-web</strong></p><p>Seeing these files confirmed that my project was now on the EC2 instance.</p><p>At this point, I had successfully moved my application from my local computer to AWS.</p><p><em>But transferring the files wasn’t enough.</em></p><p>I still needed to run the application.</p><p><strong>I’ll stop here for today and continue in my next post.</strong></p><p><strong>If you found this article helpful, kindly give it a clap and follow me as I continue sharing what I’m learning about AWS, cloud computing, and networking .</strong></p><p><strong><em>Keep learning. Keep building</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e85be9f4991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS VPC Was Confusing Until I Looked at It Through the OSI Model]]></title>
            <link>https://medium.com/@abdulramana2/aws-vpc-was-confusing-until-i-looked-at-it-through-the-osi-model-3ddf8cb7fcac?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ddf8cb7fcac</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 14:50:39 GMT</pubDate>
            <atom:updated>2026-10-08T14:50:39.164Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first started learning about AWS networking, one service that kept coming up was Amazon VPC.</p><p>At first, the idea sounded simple: but once I started seeing terms like subnets route table, security groups, Network ACLS, internet Gateways, IP addresses, and ports, things started getting more interesting.</p><p>I asked myself: how can I connect on-premises network to cloud? Can I use my networking skills in cloud or connect the OSI model to how AWS VPC works?</p><p>Well, you already know the answer.</p><p>If you already understand some basic networking concepts, Looking at AWS VPC through the OSI model can make many AWS networking concepts much easier to understand.</p><p>First, Amazon VPC stands for <strong>Amazon Virtual Private Cloud</strong> (VPC) which allows us to create our own logically isolated network inside AWS.</p><p><em>Let’s use a simple office network as an example</em></p><p>You have</p><ul><li>Computers</li><li>Servers</li><li>IP addresses</li><li>Routers</li><li>Firewalls</li><li>Public and private networks</li></ul><p>AWS gives us similar networking concepts in the cloud. Instead of buying physical devices like the switches, router and firewalls, we can configure many of these networking components using AWS services.</p><p>For instance, inside a <strong>VPC </strong>we can create:</p><ul><li>Subnet to divide our network.</li><li>Route table to decide where network traffic should go.</li><li>An Internet Gateway to provide connectivity between our VPC and the internet.</li><li>Security Groups and Network ACLs to control traffic.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wITOCtnEy7Hcep5ocSJZcQ.png" /></figure><p>But how do we connect this with the OSI model?</p><p>The OSI model is divided into 7 layers</p><ul><li><strong>Physical layer</strong></li><li><strong>Data Link</strong></li><li><strong>Network</strong></li><li><strong>Transport</strong></li><li><strong>Session</strong></li><li><strong>Presentation</strong></li><li><strong>Application</strong></li></ul><p>You don’t need to memorize every layer before learning <strong>AWS VPC</strong>.</p><p>For VPC networking, I find Layer 3 and Layer 4 especially useful to understand.</p><p><strong>Layer 1 Physical Layer</strong></p><p>The Physical layer deals with things like cables, network hardware, electrical signals, and physical connections.</p><p>In a traditional environment, a company may need to worry about:</p><p>Where is my server physically located?</p><p>Which cable connects this server to the network?</p><p>What happens if the networking hardware fails?</p><p>When we use AWS, much of this physical infrastructure is managed by AWS.</p><p>For example, when we launch an EC2 instance inside a VPC, we don’t need to run to an AWS data center and connect a network cable to it.</p><p>AWS manages the underlying physical infrastructure.</p><p>This is one of the first differences I noticed between traditional networking and cloud networking.</p><p>The networking concepts are still there, but we interact with them differently.</p><p><strong>Layer 2 Data Link Layer</strong></p><p>Layer 2 deals with communication on a local network and concepts such as MAC addresses and Ethernet frames .</p><p>In traditional networking, we may spend a lot of time working directly with switches, VLANs, and MAC addresses.</p><p>Inside AWS VPC, AWS abstracts much of the Layer 2 infrastructure from us.</p><p>We don’t manage physical switches inside our VPC.</p><p>Instead, AWS gives us higher-level networking tools to design and control our cloud network.</p><p><strong>Layer 3 Network Layer</strong></p><p>This is where AWS VPC starts becoming much easier to understand.</p><p>Layer 3 is mainly concerned with IP addressing and routing .</p><p>And what do we configure when creating a VPC?</p><p>IP addresses and routes.</p><p>When creating a VPC, we assign it an IP address range using CIDR notation .</p><p>For example:</p><p>10.0.0.0/16</p><p>We can then divide that network into smaller networks called subnets .</p><p>For example:</p><p>10.0.1.0/24 -Public Subnet</p><p>10.0.2.0/24- Private Subnet</p><p>Now we have divided our VPC network into smaller sections.</p><p>But having IP addresses isn’t enough.</p><p>we need to known where our traffic goes using route table.</p><p>A route table contains rules that determine where network traffic should be directed.</p><p>For example, we might have a route like:</p><p>0.0.0.0/0 → Internet Gateway</p><p>In simple terms, we are saying:</p><p>If the destination isn’t inside my local VPC network, send the traffic toward the Internet Gateway.</p><p><strong>Layer 4 Transport Layer</strong></p><p>Layer 4 introduces something we use constantly when configuring AWS networking:</p><p>Ports and protocols.</p><p>Two important protocols here are:</p><p>TCP</p><p>and</p><p>UDP</p><p>Suppose I launch a Linux EC2 instance.</p><p>I want to connect to it using SSH.</p><p>SSH normally uses:</p><p>`TCP Port 22`</p><p>Or maybe I am running a website:</p><p>HTTP — TCP Port 80</p><p>HTTPS - TCP Port 443</p><p>This is where Security Groups become easier to understand.</p><p>A Security Group can contain a rule like:</p><p>TCP | Port 22 | My IP Address</p><p>That rule is basically saying:</p><p>Allow TCP traffic to port 22 from this IP address.</p><p>So when we’re configuring Security Group rules using protocols and ports, we are dealing heavily with concepts associated with the Transport Layer .</p><p>This helped me understand that Security Groups aren’t just random AWS settings.</p><p>They are applying networking concepts that already exist.</p><p>What About <strong>Network ACL</strong>s?</p><p>Network ACLs also control traffic, but they work at the subnet level .</p><p>This is where beginners can easily confuse them with Security Groups.</p><p>I like to think about it this way:</p><p>A Security Group protects the resource , such as an EC2 instance.</p><p>A Network ACL protects the subnet boundary .</p><p>There is another important difference.</p><p>Security Groups are stateful .</p><p>Network ACLs are stateless .</p><p>If traffic is allowed into a resource through a Security Group, the response traffic is automatically allowed back.</p><p>With a Network ACL, inbound and outbound traffic rules are evaluated separately.</p><p>Understanding this difference becomes very important when troubleshooting VPC connectivity.</p><p><strong>Layer 7 Application Layer</strong></p><p>When an EC2 instance is running a web server, a user enters:</p><p><a href="https://example.com/"><strong><em>https://example.com</em></strong></a> into their browser</p><p>The request is now interacting with application-level protocols such as HTTP or HTTPS .</p><p>But before that request reaches our application, several things may need to happen.</p><p>The request needs a destination IP.</p><p>Traffic needs to be routed correctly.</p><p>Security rules need to allow the connection.</p><p>The correct port needs to be open.</p><p>And finally, the application needs to be running and ready to respond.</p><p>This is why understanding networking as layers can be useful when troubleshooting AWS.</p><p>Putting Everything Together</p><p>Imagine we have a simple website running on an EC2 instance.</p><p>A user opens the website from their laptop.</p><p>We can think about the connection like this:</p><p><strong>Application Layer </strong>The browser sends an HTTP/HTTPS request.</p><p><strong><em>Transport Layer</em></strong> TCP handles the connection using port 80 or 443</p><p><strong><em>Network Layer </em></strong>IP addresses and VPC routing determine where the traffic needs to go.</p><p><strong><em>AWS Networking Infrastructure</em> </strong>AWS handles the underlying networking infrastructures that allows the communication to happen.</p><p>Looking at it this way helped me understand that AWS VPC isn’t completely separate from traditional networking. AWS is giving us cloud-based tools to work with many of the same networking concepts.</p><p>One important Thing to Remember is the <strong>OSI model</strong> is conceptual. networking model. We shouldn’t try to force every AWS service into exactly one OSI layer. Some AWS services and features operate across multiple networking concepts.</p><p><em>One thing I’m learning about AWS is that many cloud concepts become easier when we connect them to networking fundamentals we already know.</em></p><p><em>Once I started looking at </em><strong><em>AWS VPC </em></strong><em>through the </em><strong><em>OSI model</em></strong><em>, the different pieces started making more sense.</em></p><p>Instead of simply memorizing what each AWS networking component does, I could understand why it exists and what problem it is solving.</p><p><strong>If you found this article helpful, kindly give it a clap and follow me as I continue sharing what I’m learning about AWS, cloud computing, and networking .</strong></p><p><strong>Keep learning. Keep building</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ddf8cb7fcac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Services Every Beginner Should Understand]]></title>
            <link>https://medium.com/@abdulramana2/aws-services-every-beginner-should-understand-8636e1750250?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8636e1750250</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 14:53:21 GMT</pubDate>
            <atom:updated>2026-09-30T14:53:21.664Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first opened AWS and saw the number of services available, it felt overwhelming.</p><p>You might start asking yourself: <strong><em>Do I really need to learn all of these services?</em></strong></p><p>The answer is <strong>NO</strong>.</p><p>You don’t need to know every AWS service before you can start building in the cloud. What is more important is understanding some of the core services, what they do, and most importantly, <strong><em>what problem each service is trying to solve.</em></strong></p><p><strong><em>Let’s take a look at a few services.</em></strong></p><h4>Amazon Elastic Compute Cloud (EC2)</h4><p>Think about when you want to host a website or run an application.</p><p>Traditionally, you might need to buy a physical server, install an operating system, configure it, and maintain the hardware yourself.</p><p>With AWS, you can use <strong>Amazon EC2</strong>.</p><p>EC2 allows you to create virtual servers in the cloud. These virtual servers are called <strong>EC2 instances</strong>.</p><p>You can choose the operating system, computing power, memory, storage, and other configurations depending on what your application needs.</p><p>A simple way to remember EC2 is: <strong><em>Need a virtual server? EC2.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*a0WyZTt0H8DxovJjzG2abg.png" /></figure><h4>Amazon S3 Storage (Simple Storage Service)</h4><p>Now your application needs somewhere to store images, videos, documents, backups, or other files.</p><p>This is where <strong><em>Amazon S3</em></strong> comes in.</p><p>S3 is an object storage service that allows you to store and retrieve data in the cloud.</p><p>Instead of storing everything on your computer or application server, you can create an S3 bucket and store your objects there.</p><p>For example, a website could use S3 to store images that users upload.</p><p>When you think: <strong><em>Need to store files or objects? S3 should come to your mind.</em></strong></p><h4>Amazon RDS (Relational Database Service)</h4><p>Most applications need somewhere to store structured information.</p><p>You’re building an online store. You might need to store information about customers, products, orders, and payments.</p><p>For this type of data, you may need a relational database.</p><p><strong>Amazon RDS</strong> helps you set up and manage relational databases in AWS. It handles many of the administrative tasks involved in running the database, allowing you to focus more on your application.</p><p><strong><em>Need a managed relational database? RDS.</em></strong></p><h4>Amazon VPC (Virtual Private Cloud)</h4><p>This is where networking starts becoming very important in AWS.</p><p><strong><em>Amazon VPC</em></strong> allows you to create a logically isolated network for your AWS resources.</p><p>It’s like creating your own private network inside AWS. Inside your VPC, you can decide how your resources communicate with each other and how they communicate with the internet.</p><p>As you learn VPC, you’ll start coming across concepts such as:</p><ul><li>Subnets</li><li>Route tables</li><li>Internet gateways</li><li>Security groups</li><li>Public IP addresses</li><li>Private IP addresses</li></ul><p>If you already understand basic computer networking, many of these concepts will start to feel familiar once you see how AWS implements them.</p><p>A simple way to remember it:</p><p><strong><em>Need your own network in AWS? VPC.</em></strong></p><h4>AWS Identity and Access Management (IAM)</h4><p>Now, you have several people working in your AWS environment.</p><p>Should everyone have permission to do everything?</p><p>Probably not.</p><p>A developer might need access to certain resources, while another team member might only need permission to view information.</p><p>This is where <strong>IAM</strong> becomes important.</p><p>IAM helps you control <strong><em>who can access your AWS resources and what they are allowed to do.</em></strong></p><p>As you continue learning <strong>IAM</strong>, you’ll come across things like users, roles, policies, and permissions.</p><p><strong><em>Need to control access and permissions? IAM Access Control.</em></strong></p><h4>Amazon CloudWatch — Monitoring</h4><p>Creating your resources is only part of the job.</p><p>You also need to know what is happening with them.</p><p>Is your server using too much CPU?</p><p>Is your application having problems?</p><p>Do you want to receive an alert when something reaches a certain threshold?</p><p>This is where <strong>Amazon CloudWatch</strong> comes in.</p><p>CloudWatch helps you monitor AWS resources and applications using things like <strong><em>metrics, logs, and alarms.</em></strong></p><p><em>It is like having a way to watch what is happening inside your cloud environment.</em></p><h3>AWS Is More Than Just Virtual Servers</h3><p>When I started learning AWS, it was easy to think that cloud computing was mainly about running virtual computers somewhere on the internet.</p><p>But the more I learned, the more I realized that AWS goes beyond virtual servers.</p><p>AWS provides services for computing, storage, databases, networking, security, monitoring, artificial intelligence, serverless computing, containers, analytics, DevOps, and much more.</p><p>Seeing all these services can make AWS look complicated.</p><p>But here is something that has helped me while learning:</p><p><strong><em>Don’t try to memorize every AWS service. Try to understand the problem each service is designed to solve.</em></strong></p><p>Start asking questions.</p><p>If I need a virtual server, what can I use? <strong><em>Amazon Elastic Compute Cloud (EC2)</em></strong></p><p>Looking for somewhere to store? <strong><em>Amazon Simple Storage Service (S3)</em></strong></p><p>If I need a relational database, what comes to mind? <strong><em>Amazon Relational Database Service (RDS)</em></strong></p><p>I want to be able to control who can access my resources. Which service can I use<strong>?</strong> <strong>AWS Identity and Access Management (IAM)</strong></p><p>If I need to create a network for my AWS resources, what can I use? <strong><em>Amazon Virtual Private Cloud (VPC)</em></strong></p><p>What can I use to monitor my AWS resources? <strong><em>Amazon CloudWatch</em></strong></p><p><em>Once you start connecting AWS services to the problems they solve, learning AWS becomes much easier.</em></p><p><em>And for me, that’s where learning AWS starts to become interesting.</em></p><p>If you found this article helpful or interesting, kindly give it a clap 👏 and follow me here on Medium.</p><p><strong>Keep learning. Keep building.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8636e1750250" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is AWS Cloud Computing? A Beginner’s Introduction]]></title>
            <link>https://medium.com/@abdulramana2/what-is-aws-cloud-computing-a-beginners-introduction-065b5a833513?source=rss-435f2cb4c09c------2</link>
            <guid isPermaLink="false">https://medium.com/p/065b5a833513</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Abdulraman A]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 13:33:00 GMT</pubDate>
            <atom:updated>2026-09-28T18:12:43.396Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first started learning cloud computing, one of the most important things I needed to understand was simple. What exactly is the cloud, and why are companies using it.</p><p>If you are also beginning your cloud journey, this article will help you understand the basic idea behind cloud computing, AWS, and why cloud technology has become so important.</p><p>Before talking about <strong>AWS</strong>, we first need to understand <strong><em>cloud computing.</em></strong></p><p><em>Traditionally, if a company wanted to run a website or application, it might need to buy physical servers, networking equipment, storage devices, and other hardware. The company would also be responsible for maintaining that infrastructure.</em></p><p>Cloud computing provides another approach.</p><p>Instead of purchasing and maintaining all the physical infrastructure yourself, you can access computing resources such as:</p><p>-Servers<br>- Storage<br>- Databases<br>- Networking<br>- Security services<br>- Software<br>- Analytics</p><p>over the internet when you need them</p><p>A simple way to think about it is, <em>Cloud computing</em> allows you to use IT resources over the internet instead of owning and managing all the physical infrastructure yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Htg7x1c3L6qKpHM_JsOrug.png" /></figure><p>So, What Is AWS?</p><p>AWS stands for <strong><em>Amazon Web Services</em></strong></p><p>AWS is a cloud computing platform that provides many different technology services that individuals and organizations can use to build and run applications.</p><p>For example, <em>imagine you want to build a website</em>.</p><p>Instead of buying a <strong><em>physical server</em></strong> and keeping it somewhere yourself, you can use an AWS service such as <strong>Amazon EC2</strong> to create a virtual server in the cloud.</p><p>Need somewhere to store files? You can use <strong>Amazon S3</strong>.</p><p>Need a managed relational database? You can use <strong>Amazon RDS</strong>.</p><p>Need to monitor your AWS resources and applications? <strong>Amazon CloudWatch </strong>can help.</p><p>This is one of the things that makes AWS powerful: many of the infrastructure components needed to build modern applications are available as cloud services.</p><h3><strong>Why Do We Need Cloud Computing?</strong></h3><p>Imagine starting a small online business.</p><p><em>You buy expensive servers because you expect thousands of customers. But what happens if only a few hundred people visit your website?</em></p><p>Some of that infrastructure may sit unused.</p><p>Now imagine the opposite.</p><p>You buy infrastructure for 500 users, but your business suddenly becomes popular and 50,000 people try to access your application.</p><p>Your existing infrastructure might not be able to handle the increased demand.</p><p>Cloud computing helps address problems like these.</p><ol><li>Pay for What You Use <strong>(PAY-AS-YOU-GO)</strong></li></ol><p>Cloud computing can reduce the need for large upfront investments in physical infrastructure.</p><p>Instead of purchasing servers before you know exactly how much capacity you need, many AWS services allow you to pay based on usage.</p><p>2. <strong>Scale When Demand Changes</strong></p><p>Your application might have 100 users today and thousands tomorrow.</p><p>Cloud services can make it easier to increase or decrease resources as demand changes.</p><p>This concept is known as <strong>scalability</strong></p><p>3. <strong>Access Infrastructure Quickly</strong></p><p>Setting up traditional infrastructure can take time.</p><p>With AWS, many resources can be provisioned within minutes. A developer can create a virtual server, configure storage, connect a database, and start building without waiting for physical hardware to arrive.</p><p>4. <strong>Build for High Availability</strong></p><p>AWS operates infrastructure across different geographic locations.</p><p>Applications can be designed across multiple Availability Zones so that the failure of one location does not necessarily make the entire application unavailable.</p><p>5. <strong>Reach Users Around the World <em>(Global reach)</em></strong></p><p>Businesses can deploy applications closer to users in different parts of the world instead of operating everything from one physical data center.</p><p>This can help organizations build applications for a global audience.</p><h4>Final Thoughts</h4><p><em>Cloud computing is changing the way we think about building and managing technology.</em></p><p>Instead of buying expensive hardware, worrying about how much capacity we might need in the future, or spending weeks setting up infrastructure, cloud platforms like AWS allow us to access computing resources when we need them.</p><p>In my next article, we’ll go a little deeper into AWS and start exploring some of the core services every beginner should understand.</p><p>If you found this article helpful or interesting, kindly give it a clap 👏 and follow me here on Medium.</p><p><strong>Keep learning. Keep building.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=065b5a833513" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>