<?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 Ashley Gomez on Medium]]></title>
        <description><![CDATA[Stories by Ashley Gomez on Medium]]></description>
        <link>https://medium.com/@ashleygomez.kc?source=rss-fa4b7a86e624------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*J3ykLDMJibzQlhhY</url>
            <title>Stories by Ashley Gomez on Medium</title>
            <link>https://medium.com/@ashleygomez.kc?source=rss-fa4b7a86e624------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 08:28:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashleygomez.kc/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[On Tap: A Website Brewed Fresh for the Digital Age]]></title>
            <link>https://medium.com/@ashleygomez.kc/on-tap-a-website-brewed-fresh-for-the-digital-age-72124fd67137?source=rss-fa4b7a86e624------2</link>
            <guid isPermaLink="false">https://medium.com/p/72124fd67137</guid>
            <category><![CDATA[cloudwatch]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[s3-bucket]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ashley Gomez]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 21:13:45 GMT</pubDate>
            <atom:updated>2025-04-14T21:13:45.650Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Implementing Amazon EC2, S3, and CloudWatch</li><li>Engineering Collaboration</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/0*9bDKqMJubHSdRs2d" /></figure><p>We teamed up with a brewery with a big personality and an even bigger beer selection. The problem? No one could keep up with all the awesome new brews unless they physically walked through the doors. They were growing fast, but their old-school approach needed a little modern love.</p><p>That’s where <strong>Team Green from Level Up In Tech</strong> came in.</p><p>After chatting with them, we figured out what they really needed:</p><ul><li><strong>Reliability</strong> — We went with <strong>Nginx</strong> to keep things running smoothly, even when traffic picks up.</li><li><strong>Easy Updates</strong> — With <strong>HTML</strong>, we could make quick changes to feature new beers on the site.</li><li><strong>Room to Grow</strong> — As the brewery scaled, we ensured their web setup could grow right with them.</li></ul><p>We pulled out some solid tools for the job:</p><ul><li><strong>Amazon S3</strong> — Great for posting weekly beer updates and handling images.</li><li><strong>EC2 with Nginx</strong> — Gave their site the muscle to handle high traffic without breaking a sweat.</li><li><strong>CloudWatch</strong> — Our behind-the-scenes monitor tabs on CPU and networking performance.</li></ul><p>We conducted end-to-end testing to ensure all site features performed smoothly — with a special focus on the S3 integration powering the beer menu. We also verified that brewery staff could easily update the beer list via S3, ensuring a simple, reliable content management process without needing technical support.</p><p>Ultimately, we gave them a website that’s as fresh and dynamic as their beer lineup — and now their customers can tap in from anywhere.</p><h3>Meet the Squad: Team Green</h3><p><a href="https://medium.com/u/fa4b7a86e624">Ashley Gomez</a>, <a href="https://medium.com/u/df1862b4a03f">Ernesto Maximum Salgado</a>, <a href="https://medium.com/u/ec8d1edb5a3b">Khaleef Haughton</a>, <a href="https://medium.com/u/2b1753d6e8a8">Kris Cooper</a>, and <a href="https://medium.com/u/a09fe991d8dd">Hendersonerik</a></p><p>Together, we delivered a scalable site that is easy to manage and always ready to showcase the latest brews — no technical headaches, just smooth sips of success.</p><h3>Cue this up in the background 😂</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*ziadNvdZcZsfaQXk" /><figcaption><a href="https://youtu.be/JMwi8vFXUpo?si=rqvSNTzUsZJqhy5z">https://youtu.be/JMwi8vFXUpo?si=rqvSNTzUsZJqhy5z</a></figcaption></figure><h3><strong>The STEPS to make this thing shake:</strong></h3><h4><strong>Step 1: Create an AWS EC2 Web Server:</strong></h4><p><strong>A web server using Amazon EC2 will be deployed to host the brewery’s website, which will present information about the brewery and its beer selection.</strong></p><ul><li>Create a new EC2 Instance through the Amazon AWS console</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4Qa0aqZU32uX50P6" /></figure><ul><li>We named our Instance “Pod-ProjectGreen”</li><li>Kept everything the same, such as the AWS Linux</li><li>We changed the Amazon Machine Image (AMI) to Amazon Linux 2 AMI (HVM) — Kernel 5. 10, SSD Volume Type</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AgMaGDFeBNyVa-eD" /></figure><ul><li>Create a Key Pair Name; We chose “Pod-ProjectGreen”</li><li>Create a security group to allow SSH Traffic and HTTP traffic</li><li>Launch Instance</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-fh0KpX3NAm6QFzt" /></figure><ul><li>Made sure that the instance is running and the status check is passed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NbvCOWsZxQQRBRpl" /></figure><ul><li>Highlight and connect to the instance to be able to SSH into the Linux Terminal</li><li>Copied the highlighted command, went into my terminal, and pasted</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EWSL82GAlDJxvgIY" /></figure><p><strong>Next up — use Nginx on the EC2 instance due to its efficiency in handling high numbers of connections, which is crucial for periods of high traffic.</strong></p><ul><li>In my terminal, I typed -</li></ul><pre>sudo amazon-linux-extras install nginx1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MxdxT1tz9gaJ86-8" /></figure><ul><li>I updated the terminal</li><li>Type the below commands to start, enable, and run a status check for Nginx</li></ul><pre>sudo systemctl start nginx</pre><pre>sudo systemctl enable nginx</pre><pre>Sudo systemctl status nginx</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-JF8rhf2Z3zKf6ud" /></figure><ul><li>Went back to the Amazon EC2 instance and copied the “<strong>Public IPv4 address.”</strong></li><li>I pasted this into a regular browser, and BOOM, we have successfully installed it, and it&#39;s working!</li></ul><h4><strong>Step 2: Utilize Amazon S3 for Beer Menu Storage</strong></h4><ul><li><strong>Amazon S3 can store the weekly updated beer list, enabling easy updates without technical complexities. The list could be displayed as an image or PDF.</strong></li><li><strong>Ensure that the S3 bucket has public read access specifically for the beer list file, allowing seamless access from the website.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QrlZh8kbqCT7dAou" /></figure><p>Alright, alright, let’s get this S3 bucket popping! We need a Beer Menu! Pour it up, pour it up — Rhianna Voice :)</p><ul><li><strong>Create your Bucket!</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fXpiNzeJWWTwDzF7" /></figure><ul><li><strong>Create your Bucket name!</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*_MCuAaqQRxixH3Qy" /></figure><ul><li><strong>Uncheck “Block all Public Access” and acknowledge the situation. Meaning check “I acknowledge…”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p9Wc_88P0lKC-_vM" /></figure><ul><li><strong>Click Create!</strong></li></ul><p>That is allllll…</p><p>Sike! ;)</p><ul><li><strong>Navigate to S3 and locate your Bucket. Click on it and let’s upload our menu!</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9a3nrMhl1zRSZvio" /></figure><p>Now you can upload your files! Kinda hard to mess this step up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gw7CUKwPnHz7SPQw" /></figure><p><strong>Now let’s change your permissions. Click on the Permissions tab — and let’s generate a policy!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YD2r9HVAhxZ_L4pW" /></figure><p>In this area of operation:</p><ul><li>Select<strong> S3 Bucket Policy</strong></li><li><strong>Allow</strong> the Effect</li><li>Enter <strong>*</strong> for the Principal</li><li><strong>S3</strong> as your AWS Service</li><li>Select <strong>“Get Object”</strong> as your Action</li><li>Use your <strong>ARN</strong> (can be found on the policy page — too easy!)</li><li>And click the <strong>add statement</strong> button</li></ul><p>After all this cool stuff mends together.. You should have a JSON Document ready to copy and paste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*03BPwoRDMTM0_VQe" /></figure><ul><li><strong>Copy and paste your JSON </strong>back into the “Edit Bucket Policy” window</li><li>Be sure to add “/*” at the end of your ARN, it represents “Get object”</li></ul><p>Then Boom!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S7WgpL1R2mddiREd" /></figure><p><strong>To update the HTML file on your EC2 instance (and make sure your images are publicly viewable) -</strong></p><ul><li>Navigate back to your <strong>Amazon S3 Bucket</strong></li><li>Click on an object and <strong>copy the S3 URL</strong></li><li>Navigate to your <strong>index.html file</strong> (mine was still in my downloads folder) and open with text editor (ex. Visual Studio Code)</li><li>Scroll down the code and find the matching object/image to update the public image URL</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u3hZk_Y1FgaksUoN" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8P-8wbDx8RuDFVBJ" /></figure><ul><li>You will do this for each of your S3 objects/files</li><li><strong>Save</strong> your newly updated index.html file.</li><li><strong>Connect to your EC2 Instance</strong> (you may already be connected)</li><li><strong>Command the following:</strong></li></ul><pre>scp -i /path/to/your-key.pem index.html ec2-user@your-ec2-public-ip:/var/www/html/</pre><p>(make sure to update the command to reflect <strong>your</strong> correct path to <strong>your key pair </strong>and <strong>your public ip address</strong>)</p><ul><li>Now we need to restart our server to reflect the changes —</li></ul><pre>sudo systemctl restart nginx</pre><ul><li>Now visit your EC2’s public IP in the browser to test your site.</li></ul><p>You should now see your updated site with the images loading properly!</p><h4><strong>Step 3: AWS CloudWatch for Monitoring and Alarms</strong></h4><p><strong>Set up AWS CloudWatch for real-time monitoring of the EC2 instance.</strong></p><p>For this part of the project, the CloudWatch default basic monitoring provided by EC2 (every 5 minutes) is sufficient enough. However, basic monitoring only includes CPU, network, etc. For memory and disk usage, we need to install the CloudWatch Agent.</p><ul><li><strong>Connect to your EC2 Instance via SSH</strong></li><li>Command -</li></ul><pre>sudo yum install amazon-cloudwatch-agent -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tLe41VH9kGRlV5GX" /></figure><p><strong>CloudWatch Installation Complete!</strong></p><h4><strong>Create a dashboard for key metrics like CPU usage and network traffic.</strong></h4><p>On the AWS Console, I went to the CloudWatch tool, and clicked on dashboards and our instance name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IjIgD9ikhw4yvOZC" /></figure><ul><li><strong>Create a widget by clicking the +</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DynW-FIeRbdu1vhR" /></figure><ul><li><strong>To see the Metric details in a Line Chart -</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xod0t8nhZhZTZIR-" /></figure><p><strong>Select the metrics of your choice. We selected CPU Utilization and Network In/Out for traffic</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c1M25Xun5QXu4e7C" /></figure><ul><li><strong>Create the widget and save it.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hIuHYoyrq9i1Q0Em" /></figure><h4><strong>Create a CloudWatch Alarm (Notify When CPU &gt; 80%)</strong></h4><p>Configure alarms for significant events, such as high CPU utilization, to ensure prompt response and maintain website performance.</p><ul><li><strong>Go to CloudWatch in the AWS Console</strong></li><li>Search for <strong>CloudWatch</strong> in the AWS Console search bar.</li></ul><p>In the sidebar, click <strong>“Alarms”</strong>, then click <strong>“Create alarm”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vBzpE8CxoOghAQxh" /></figure><h4><strong>Choose the Metric</strong></h4><ol><li>Click <strong>“Select metric”</strong>.</li><li>Choose <strong>EC2 &gt; Per-Instance Metrics</strong>.</li><li>Find and select your instance ID (ex. <strong><em>BeerTest</em></strong>)</li><li>Check the box for <strong>CPUUtilization</strong>.</li><li>Click <strong>“Select metric”</strong> at the bottom right.</li></ol><h4><strong>Configure the Threshold</strong></h4><ol><li><strong>Threshold type</strong>: Static</li><li><strong>Whenever CPUUtilization is…</strong>: Greater/Equal</li><li><strong>than…</strong>: 80</li><li><strong>For…</strong>: 1 out of 1 data points</li></ol><h4><strong>Notification Settings</strong></h4><p>You’ll need an <strong>SNS topic</strong> to receive emails.</p><ol><li>Under <strong>Notification</strong>, choose <strong>“In alarm”</strong>.</li><li>Click <strong>“Create new topic”</strong>.</li><li>Give the topic a name (ex. <strong><em>Default_CloudWatch_Alarms_Topic</em></strong>).</li><li>Enter your email address.</li><li>Click <strong>Create topic</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*28jopac8xIcOQiPd" /></figure><p><strong>Important</strong>: Check your email and <strong>confirm the subscription</strong> to get alerts.</p><ul><li><strong>Name and Create the Alarm</strong> (ex. <strong><em>PodProject-HighCPU-Alarm-EC2</em></strong>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p67MYx0TtI_1a6l4" /></figure><p><strong>Done!</strong> You’ll now get an email if your instance’s CPU goes above 80%.</p><h4><strong>Step 4: Testing and Deployment</strong></h4><p><strong>To conduct a thorough testing, we verified and checked for the following settings and configurations:</strong></p><ul><li>Security inbound rules are set to allow both HTTP from all sources and have access to SSH as well.</li><li>S3 Bucket permissions meet best practices by checking the following settings -</li></ul><p>Enable bucket versioning (No permissions to enable)</p><p>Use storage optimization (No permissions to enable)</p><p>Enable server-side encryption (No permissions to enable)</p><ul><li>CloudWatch is set for CPU utilization</li><li>Used SSH to access the EC2 image hosting the website and reviewed the directory for sensitive information</li><li>Verify the ease of updating the beer list on S3 by the brewery staff.</li></ul><p>The website beer list can be easily updated due to the JPG image. It simply has to be updated to a new image with the updated list directly into the S3. The new image will then be updated on the EC2 and displayed on the customer’s web browser.</p><p><strong>Hurdles we encountered:</strong></p><ul><li>Brackets in the HTML must be removed for the images in S3 to be yanked.</li><li>Saving the HTML file on the EC2 instance</li></ul><h4><strong>Mission Accomplished!</strong></h4><p>The craft brewery now boasts a dynamic, user-friendly website, brewed to perfection with AWS tools. It highlights their rotating beer selection, keeps customers tapped in with real-time updates, and requires minimal ongoing maintenance. This digital upgrade not only boosts their online presence but also reinforces their reputation as an innovative, customer-first brand in a competitive market.</p><p>We came together as a team and overcame different timelines. We found time to implement talent, technical solutions, and most importantly, business development from a technical standpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*DLoAkLTp0UOipwsw" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72124fd67137" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Power of Apache Web Server on Linux]]></title>
            <link>https://medium.com/@ashleygomez.kc/exploring-the-power-of-apache-web-server-on-linux-088f4ce55da2?source=rss-fa4b7a86e624------2</link>
            <guid isPermaLink="false">https://medium.com/p/088f4ce55da2</guid>
            <dc:creator><![CDATA[Ashley Gomez]]></dc:creator>
            <pubDate>Sat, 29 Mar 2025 23:47:04 GMT</pubDate>
            <atom:updated>2025-03-29T23:53:13.645Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Harness the power of web hosting — Apache on Linux is the cornerstone of robust and reliable performance.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k9VRIr8KBkLaMJDTxjPwKA.png" /><figcaption>AI generated image representing the power of Apache on Linux</figcaption></figure><h4>What is an Apache Web Server?</h4><p>The <strong>Apache Web Server</strong>, commonly known as <strong>Apache</strong>, is a free and open-source software hosting websites and web applications. As one of the most widely adopted web server solutions, it powers a significant portion of the internet.</p><p>Apache is valued for its <strong>flexibility</strong> and ability to run on multiple operating systems, including <strong>Linux, Windows, and macOS</strong>. It supports programming languages such as <strong>PHP, Perl, and Python</strong> and integrates seamlessly with database systems like <strong>MySQL and PostgreSQL</strong>.</p><p>With its <strong>modular architecture</strong>, Apache allows administrators to enable or disable features as needed, making it highly customizable. It also prioritizes <strong>security</strong>, offering features like <strong>SSL/TLS encryption</strong> and support for <strong>digital certificates</strong> to safeguard websites and web applications against potential threats.</p><p>Overall, Apache is a <strong>robust, secure, and efficient</strong> web server solution, making it a trusted choice for hosting websites and web applications worldwide.</p><h4>Case Study</h4><p>As a <strong>Junior Cloud Engineer</strong> at <strong>Level Up Bank</strong>, your team has been assigned to set up a new web server using <strong>Amazon Linux 2</strong>, a popular open-source Linux distribution for web hosting.</p><p>This server will serve as the foundation for the bank’s website, delivering essential information about its services while enabling customers to access their online accounts securely.</p><h3>The Process Explained</h3><h4><strong>Launch an Amazon Linux 2 EC2 Instance</strong></h4><p>1. <strong>Log in to the AWS Management Console using your IAM user account.</strong></p><ul><li>Navigate to <strong>EC2 Dashboard</strong> → Click <strong>Launch Instance</strong></li><li>Choose the desired <strong>region</strong> on the top right corner of your screen</li><li><strong>Name your instance</strong> (ex. LinuxApacheProject)</li></ul><p>2. <strong>Choose an Amazon Machine Image (AMI)</strong></p><p>• Select <strong>Amazon Linux 2 AMI (HVM), SSD Volume Type </strong>from the drop-down menu</p><p>3. <strong>Choose an Instance Type</strong></p><p>• <strong>Free Tier</strong>: t2.micro</p><p>4. <strong>Create a New Key Pair </strong>for Secure SSH Access</p><p>• It will automatically download the<strong> .pem file</strong> (used to access your instance)</p><p>5.<strong> Configure Security Groups</strong> (Firewall Rules)</p><ul><li><strong>Allow SSH traffic from</strong> — <strong>Anywhere.</strong></li><li><strong>Allow HTTP traffic from the internet.</strong></li></ul><p>6. <strong>Launch the Instance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4lmzxQFjWUngvAlGkUtkHw.png" /></figure><h4><strong>Connecting to the Server</strong></h4><p>Once your instance is running, you can connect using SSH.</p><ol><li>From the left panel, navigate to the <strong>Instances</strong> tab</li><li>Select your new instance, and click <strong>Connect</strong>.</li><li>From <em>Connect to Instance</em> Window &gt; <em>SSH Client</em></li></ol><ul><li>Under <em>Example:</em><strong> Copy the Command</strong></li></ul><p><strong>On Mac/Linux:</strong></p><ol><li>Open the terminal and navigate to your <strong>.pem</strong> file location.</li></ol><p>2. Run:</p><pre>chmod 400 your-key.pem<br>ssh -i your-key.pem ec2-user@your-instance-ip</pre><p>For example, I entered the command <em>chmod 400 apache_linux.pem</em></p><p>Next, I pasted the command I had previously copied —<em> ssh -i “apache_linux.pem” </em><a href="/service/mailto:ec2-user@ec2-98-84-144-42.compute-1.amazonaws.com"><em>ec2-user@ec2–98–84–144–42.compute-1.amazonaws.com</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27WEBg1_GEtzqjHNkRZRSQ.png" /></figure><h4><strong>Basic Configuration After Launch</strong></h4><ol><li>Update the System</li></ol><pre>sudo yum update -y</pre><p>2. Install Common Utilities</p><pre>sudo yum install -y git vim nano curl wget unzip</pre><p>3. Check System Information</p><pre>cat /etc/os-release</pre><h4><strong>Setting Up a Web Server (Apache)</strong></h4><ol><li>Install Apache</li></ol><pre>sudo yum install -y httpd</pre><p>2. Start and Enable Apache</p><pre>sudo systemctl start httpd<br>sudo systemctl enable httpd</pre><p>3. Verify Apache is Running</p><pre>sudo systemctl status httpd</pre><p>4. <strong>Test Your Web Server</strong></p><ul><li>Open a browser and go to <a href="http://your-instance-ip/">http://your-instance-ip</a> — your public IPv4 address is listed within your instance under the EC2 Instance Connect tab</li><li>You should see the <strong>Apache test page</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5L9JIl845ccEqhxLzk2nA.png" /><figcaption>Successful Apache Test Page</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FSculsk7YRnRpvMZrR3%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fsnl-saturday-night-live-season-46-Sculsk7YRnRpvMZrR3&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExNzF6cnQ4NGtkamg3emI2aTR5cWxiOWN6Mzl1NXhocDMwaDIzOHpvayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FSculsk7YRnRpvMZrR3%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/389066b0d821bdaf15fd9e1080796090/href">https://medium.com/media/389066b0d821bdaf15fd9e1080796090/href</a></iframe><h4><strong>Conclusion</strong></h4><p>Setting up and managing an <strong>AWS EC2 Amazon Linux 2</strong> server provides a powerful, scalable, cost-effective solution for hosting applications, web servers, and cloud-based workloads. By following the steps outlined — from launching an instance and securing access to installing essential software like Apache— you gain a strong foundation for cloud computing. Amazon Linux 2 offers stability, security, and seamless integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LVeryF-uUIf0LxIKTqVsxQ.png" /><figcaption>AI generated image created to depict Level Up Bank launching a new Apache web server on Linux</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=088f4ce55da2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Secure Linux EC2 Instance to Enhance Remote Administration]]></title>
            <link>https://medium.com/@ashleygomez.kc/deploying-a-secure-linux-ec2-instance-to-enhance-remote-administration-7d61231a0dc8?source=rss-fa4b7a86e624------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d61231a0dc8</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[aws-key-pair]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ashley Gomez]]></dc:creator>
            <pubDate>Sat, 22 Mar 2025 01:11:06 GMT</pubDate>
            <atom:updated>2025-03-22T01:11:06.060Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bD2IpTb-VFk0mq5eIpXGNg.png" /><figcaption>AI generated image to reflect AWS EC2 Instances</figcaption></figure><h4><strong>What is an EC2 Instance?</strong></h4><p>An EC2 (Elastic Compute Cloud) instance is a virtual<strong> </strong>Amazon Web Services (AWS) server that provides scalable computing power. It allows users to run applications in the cloud without maintaining physical hardware.</p><p><strong>EC2 Instance Key Features:</strong></p><ul><li>Scalability</li><li>Flexible Configurations</li><li>Multiple OS Options</li><li>Pay-as-You-Go Pricing</li><li>Security &amp; Networking</li></ul><h3>Case Study</h3><p>Level Up Corporation hosts its applications on AWS Elastic Compute Cloud (EC2). However, the IT team faces challenges in securely managing these instances. We propose deploying a Linux EC2 instance with SSH access to address this, ensuring secure remote administration.</p><p>This solution involves the following steps:</p><ul><li><strong>Deploying a Linux EC2 Instance with a Key Pair</strong></li><li><strong>Creating a Security Group to Allow SSH</strong></li><li><strong>Connecting to the Instance via SSH</strong></li><li><strong>Verifying Access with the whoami Command</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zkT2Mcr7qSwRYVo7guJsdw.png" /><figcaption>AI generated image representing Level Up Corporation</figcaption></figure><h4><strong>Step One: Deploy a Linux EC2 Instance with a Key Pair</strong></h4><p>1. Navigate to the AWS Management Console and open the EC2 Dashboard.</p><p>2. Click <strong>“Launch Instance”</strong> and create a name (remember, no spaces!)</p><p>3. Select a Linux-based Amazon Machine Image (AMI).</p><p>4. Choose an instance type (e.g., t2.micro for free-tier eligibility).</p><p>5. Under <strong>“Key Pair (login)</strong>,” create a new key pair:</p><p>• Click <strong>“Create new key pair.”</strong></p><p>• Select <strong>“RSA”</strong> as the key type.</p><p>• Download the private key (<strong>.pem file</strong>) and store it securely.</p><p>6. Assign a security group under <em>Network Settings</em> and check “<strong>Allow SSH traffic from Anywhere.</strong>”</p><p>7. Select <strong>Launch Instance</strong> to complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZEjWqmK9Ozn9s_F4Iy3aqw.png" /><figcaption>New key pair created</figcaption></figure><h4><strong>Step Two: SSH into the Deployed EC2 Instance</strong></h4><p>1. Open a terminal (Linux/macOS) or use PowerShell for Windows.</p><p>2. Navigate to the directory where the .pem file is stored. (<em>Tip: It’s likely still in your downloads folder, so enter </em><strong><em>cd downloads</em></strong><em> at the prompt.</em>)</p><p>3. Set the correct permissions for the private key:</p><pre>chmod 400 your-key.pem</pre><p>• Replace <em>your-key.pem</em> with the actual key file name.</p><p>4. Connect to the instance using SSH:</p><pre>ssh -i your-key.pem ec2-user@your-instance-public-ip</pre><ul><li>Replace your-instance-public-ip with the EC2 instance’s public IP (in the AWS Console).</li></ul><h4><strong>Step Three: Verify Access with the whoami Command</strong></h4><p>Once connected, verify that you are inside the EC2 instance by running:</p><pre>whoami</pre><p>The output should return <strong><em>ec2-user</em></strong> (or another user, depending on the chosen AMI), confirming successful remote Access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z5p99kYmsnlv1O-N2cIsTg.png" /></figure><p><strong>Conclusion</strong></p><p>Level Up Corporation’s IT team can securely deploy, access, and manage Linux EC2 instances by following these steps. This method enhances security, reduces downtime, and streamlines administration, ensuring efficient and secure remote management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d61231a0dc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS S3 Made Simple: Host Your Static Website Like a Pro]]></title>
            <link>https://medium.com/@ashleygomez.kc/aws-s3-made-simple-host-your-static-website-like-a-pro-e62c0f1e1b28?source=rss-fa4b7a86e624------2</link>
            <guid isPermaLink="false">https://medium.com/p/e62c0f1e1b28</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[s3-bucket]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[static-website-hosting]]></category>
            <category><![CDATA[aws-s3]]></category>
            <dc:creator><![CDATA[Ashley Gomez]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 02:07:18 GMT</pubDate>
            <atom:updated>2025-03-13T02:07:18.209Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*M9E13DTZGa1nLzo9225k0g.png" /><figcaption>The AI-generated image was created to depict an AWS S3 concept.</figcaption></figure><h3><strong>What is AWS S3?</strong></h3><p>Amazon Simple Storage Service (recognized as AWS S3) is a highly scalable, durable, and secure cloud storage service provided by Amazon Web Services (AWS). It allows users to store and retrieve any amount of data at any time, making it ideal for a wide range of use cases, including website hosting, data backup, and big data analytics.</p><h3><strong>Description</strong></h3><p>If you’re looking for a simple and cost-effective way to host a static website, AWS Simple Storage Service (S3) is a fantastic option. With just a few clicks, you can create an S3 bucket, upload your index.html file, and configure it for public web hosting. In this guide, I’ll walk you through the entire process — from bucket creation to making your website accessible over the internet.</p><h3><strong>Case Study</strong></h3><p>Level Up Bank is a fictitious fintech startup offering customers digital banking services. The company’s website is the primary means of acquiring new customers, providing them with information about the services offered, and serving as a platform to interact with the bank. Currently, the website is hosted on an on-premises server, which requires a dedicated IT team to manage and maintain it. This creates additional costs for the company and adds complexity to the infrastructure. Level Up Bank has decided to move its website to AWS S3 to address these challenges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ncNJnMtri23fat0VW05Ixg.png" /><figcaption>AI-generated conceptual illustration of Level Up Bank’s migration from on-premise servers to AWS S3.</figcaption></figure><h3><strong>Benefits to AWS S3:</strong></h3><ul><li>Cost savings: Hosting a static website on AWS S3 is more cost-effective than using an EC2 or on-premises server. This is because AWS S3 charges only for the amount of storage used, and the data transfer cost is also minimal. On the other hand, an EC2 instance requires additional computing power, storage, and data transfer expenses.</li><li>Improved scalability: AWS S3 provides automatic scalability without requiring additional effort from the company. AWS S3 can easily handle the increased load without downtime if the website receives more traffic.</li><li>High availability: AWS S3 offers high availability and durability, ensuring that the website is accessible to users at all times. This is achieved through the use of multiple availability zones and redundancy.</li><li>Reduced management overhead: Since AWS S3 is a fully managed service, Level Up Bank can ease the burden of managing and maintaining the website. This frees the company’s IT team to focus on more critical tasks, such as developing new banking features and improving customer experience.</li></ul><h3>Prerequisites</h3><ul><li>AWS Account</li><li>Static Website Files</li><li>IAM Permissions</li><li>Unique Bucket Name</li><li>Basic AWS Console Familiarity</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*a3dVCmnrbA_2n0Mj" /></figure><h4><strong>How to Host a Static Website on AWS S3: A Step-by-Step Guide</strong></h4><h4><strong>Step 1: Create an S3 Bucket</strong></h4><p>1. <strong>Log in to AWS Console:</strong></p><p>Go to the <a href="https://aws.amazon.com/console/">AWS Management Console</a> and sign in.</p><p>2. <strong>Navigate to S3:</strong></p><p>In the AWS Console, search for <strong>S3</strong> in the search bar and open the service.</p><p>3. <strong>Create a New Bucket:</strong></p><ul><li>Click <strong>Create bucket</strong>.</li><li>Choose a <strong>region</strong> close to your audience. <em>(Tip: Region choices are in the tab at the top right of the console. See the image below.</em></li><li>If you are given an option to choose a bucket type, click<strong> general purpose.</strong></li><li>Enter a <strong>unique bucket name</strong> (it must be <em>globally</em> unique with no spaces).</li><li>Leave the Object Ownership to the default setting of <strong>ACLs disabled (recommended)</strong>. This is a security setting.</li><li>Scroll down to <strong>Block Public Access settings</strong> and <strong>uncheck</strong> “Block all public access.”</li><li>Acknowledge the warning about making the bucket public.</li><li><strong>Enable</strong> Bucket Versioning.</li><li>No tags are necessary.</li><li>For Default encryption, choose <strong>Server-side encryption with Amazon S3 managed keys (SSE-S3)</strong></li><li><strong>Enable</strong> Key.</li><li>No Advanced settings are necessary.</li><li>Click <strong>Create bucket</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o1zYUENovHp478Ro4TCngg.png" /><figcaption>Select an option from the tab at the top right to choose a region.</figcaption></figure><h4><strong>Step 2: Upload the index.html File</strong></h4><p>1. <strong>Open Your Bucket:</strong></p><p>Click on your newly created bucket name to enter it.</p><p>2. <strong>Upload Your Website Files:</strong></p><ul><li>Click <strong>Upload</strong>.</li><li>Click <strong>Add Files</strong> and select your index.html file.</li><li>Click <strong>Upload</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjHxe1gec2vpBIWAmp13SA.png" /><figcaption>Click Add Files in the top right corner to open your index.html file</figcaption></figure><h4>Step 3: Edit Bucket Policy</h4><ol><li><strong>Go to the Permissions tab:</strong></li></ol><p>Inside your bucket, click on the <strong>Permissions</strong> tab.</p><p>2. Under <strong>Block public access (bucket settings)</strong> — click <strong>Edit</strong>.</p><ul><li>Deselect the <strong>Block <em>all</em> public access</strong> box.</li><li>Click <strong>Save Changes.</strong></li><li>Type <strong>confirm</strong> in the pop-up window to allow public access.</li></ul><p>3. Scroll to <strong>Bucket policy</strong></p><ul><li>Click <strong>Edit</strong></li><li>Click <strong>Policy Generator</strong></li></ul><p>4. Within the policy generator, select <strong>S3 Bucket Policy</strong></p><ul><li><strong>Allow</strong> the <strong>Effect</strong> under Step 2</li><li>Type <strong>*</strong> in the box for <strong>Principal </strong>(this allows anyone to access)</li><li><strong>Amazon S3</strong> for the AWS Service</li><li>Choose <strong>GetObject</strong> for <strong>Actions</strong></li><li>Enter your <strong><em>unique bucket ARN,</em></strong> including <strong>/*</strong> to the end for the <strong>Amazon Resource Name (ARN) </strong>— e.g<strong>. </strong>arn:aws:s3:::ashleyg-demo-s3/* <em>(Tip: This can be found under the Edit bucket policy page within your bucket)</em></li><li>Click <strong>Add Statement</strong></li><li>Click <strong>Generate Policy</strong></li><li>From the <strong>Policy JSON Document</strong> pop-up window, <strong>copy the text </strong>and go back into your<strong> Bucket Policy </strong>and<strong> paste the text </strong>into your<strong> Policy </strong>box.</li><li>Click <strong>Save Changes</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2wsB1E2MiT2bfd-gKKnP4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_2QKVPjudVdT9cMKtGVZw.png" /></figure><h4><strong>Step 4: Enable Static Website Hosting</strong></h4><p>1. <strong>Go to the Properties Tab:</strong></p><p>Inside your bucket, click on the <strong>Properties</strong> tab.</p><p>2. <strong>Enable Static Website Hosting:</strong></p><ul><li>Scroll down to <strong>Static website hosting</strong> and click <strong>Edit</strong>.</li><li><strong>Enable </strong>Static website hosting</li><li>Hosting type: <strong>Host a static website</strong></li><li>Type <strong>index.html</strong> for the Index document</li><li>Click <strong>Save Changes</strong></li></ul><h4><strong>Step 5: Verify Internet Access Using the Bucket Website Endpoint</strong></h4><p>1. <strong>Find the Website URL:</strong></p><ul><li>Go to <strong>Properties</strong> &gt; <strong>Static website hosting</strong>.</li><li>Copy the <strong>Bucket website endpoint</strong> <strong>URL</strong> (e.g. <a href="http://ashleyg-demo-s3.s3-website-us-east-1.amazonaws.com/">http://ashleyg-demo-s3.s3-website-us-east-1.amazonaws.com</a><a href="http://your-bucket-name.s3-website-us-east-1.amazonaws.com)./">).</a></li></ul><p>2. <strong>Open the URL in a Browser:</strong></p><p>Paste the URL into your browser’s address bar. You should see your index.html page load if everything is set up correctly.</p><p><strong>Important:</strong> Do not use the <strong>Object URL</strong> found in the file properties. The Object URL is different and will not work unless additional permissions are granted. Always use the <strong>Bucket Website Endpoint</strong> to verify access.</p><p><strong>Conclusion</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEcZZ4pV4RI8mxzTs9Q8aQ.png" /></figure><p>Congratulations! You have successfully hosted a static website on AWS S3.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e62c0f1e1b28" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>