<?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 Hollie Sanders on Medium]]></title>
        <description><![CDATA[Stories by Hollie Sanders on Medium]]></description>
        <link>https://medium.com/@hollie-sanders?source=rss-d690771f348a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qVFGiPK06Ub-VXVOI7vGlQ.jpeg</url>
            <title>Stories by Hollie Sanders on Medium</title>
            <link>https://medium.com/@hollie-sanders?source=rss-d690771f348a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:16:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hollie-sanders/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[Optimizing Website Hosting with Azure Blob Storage]]></title>
            <link>https://medium.com/@hollie-sanders/optimizing-website-hosting-with-azure-blob-storage-0e1ef4eb398a?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e1ef4eb398a</guid>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[azure-blob]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 05:51:08 GMT</pubDate>
            <atom:updated>2024-10-07T05:51:08.499Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W6blEk7evO_s4D3o5IipzQ.png" /></figure><p><em>Real world project created by </em><a href="https://levelupintech.com/"><em>LevelUp in Tech</em></a></p><p>Level Up Bank, a forward-thinking digital banking startup, recognized the need to move its website from on-premises hosting to a cloud-based solution. The existing setup was becoming costly and challenging to manage as the business expanded. By migrating to Azure Blob Storage, the company aimed to reduce operating expenses, enhance site reliability, and scale efficiently without the manual interventions associated with traditional servers.</p><p>Azure Blob Storage provides an ideal platform for hosting static websites, offering built-in scalability, high availability, and simplified management. This article outlines how Level Up Bank implemented this transition, focusing on two key requirements designed to enhance performance, accessibility, and security.</p><h3>Requirement 1: Migrating the Website to Azure Blob Storage</h3><p>The first phase involved transferring the static website from its on-premises environment to Azure Blob Storage. Hosting the site locally was becoming increasingly inefficient, with rising costs and the need for continuous maintenance. Azure Blob Storage, designed for flexibility and ease of use, provided a solution that could handle these demands while eliminating the complexities of physical hardware management.</p><p>The setup process included creating a new Azure Storage account and configuring a blob container specifically for static website hosting. By setting up appropriate public access levels and uploading the necessary files, such as the index.html, the site became publicly accessible through a secure Azure endpoint. This move significantly reduced the maintenance overhead and ensured the site could scale automatically to accommodate higher traffic volumes without downtime.</p><p>The outcome was a more streamlined, cost-effective website solution that eliminated resource limitations and improved reliability, offering users a consistent and responsive experience regardless of site traffic variations.</p><h3>Requirement 2: Enhancing Performance and Security with Azure CDN</h3><p>While moving the website to Azure Blob Storage improved scalability, further steps were taken to optimize performance and security by integrating Azure CDN. A Content Delivery Network (CDN) enhances the delivery speed of website content by caching it at various global locations, reducing latency and improving response times for users regardless of their geographic location.</p><p>Configuring Azure CDN involved connecting it to the Azure Blob Storage endpoint, allowing Level Up Bank to serve content quickly and efficiently worldwide. By enabling HTTPS on the CDN and setting up automatic HTTP to HTTPS redirection, the website also ensured secure connections, protecting user data and increasing trust through a visible secure link.</p><p>Testing the configuration included making small modifications to the index.html file and observing how the CDN cached and served the updated content compared to the direct Blob Storage endpoint. This confirmed the CDN’s capability to optimize content delivery while maintaining real-time accuracy through cache management.</p><h3>Conclusion</h3><p>The transition of Level Up Bank’s website to Azure Blob Storage, coupled with the integration of Azure CDN, exemplifies how cloud services can enhance both performance and cost-efficiency. By adopting these solutions, the company minimized maintenance efforts, ensured scalability, and optimized content delivery. This approach not only supports Level Up Bank’s current needs but also positions the business for future growth, demonstrating the practical benefits of leveraging cloud technology for modern digital operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e1ef4eb398a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streamlining File Management with Python]]></title>
            <link>https://medium.com/@hollie-sanders/streamlining-file-management-with-python-f1fd4aab86de?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1fd4aab86de</guid>
            <category><![CDATA[file-management]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cloud-devops]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Sat, 31 Aug 2024 18:44:55 GMT</pubDate>
            <atom:updated>2024-08-31T18:44:55.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdx16u4p2TYP-FfWyLgSHQ.png" /></figure><blockquote>Real world project created by <a href="https://levelupintech.com/"><em>LevelUp in Tech</em></a></blockquote><p>Efficient data management is vital to the success of any organization, particularly in today’s technology-driven landscape. Disorganized directories and scattered files can lead to significant inefficiencies, hampering productivity and increasing operational costs. Yet, the task of understanding file specifics across multiple systems is often overlooked, resulting in chaos and reduced effectiveness. To address this pervasive issue, a Python script was developed to automate the extraction of essential file details from the working directory, offering a streamlined approach to file management that enhances overall organizational efficiency.</p><h3>The Challenge</h3><p>Given these issues, organizations frequently encounter the challenge of quickly gathering information about files scattered across various systems. Manually checking each file’s name and size within numerous directories is not only labor-intensive but also prone to errors. An automated solution was necessary to streamline this process and ensure that accurate data could be obtained efficiently.</p><p>The objective was clear: a method was needed to efficiently extract and organize basic file information — such as file names and sizes — into a format that could be easily analyzed. This solution had to be straightforward enough for rapid deployment and adaptable enough to handle directories of different sizes.</p><h3>The Solution: A Python Script for Automated File Information Gathering</h3><p>To tackle this challenge, a Python script was designed to automate the collection of file information. The script’s main function is to generate a list of dictionaries, with each dictionary containing key details like the file name and size from the working directory.</p><p>The solution involved three key steps:</p><ol><li><strong>Scanning the Directory</strong>: The script begins by scanning the current working directory to identify all files present.</li><li><strong>Collecting Data</strong>: It then gathers the name and size of each file identified.</li><li><strong>Organizing the Output</strong>: Finally, the collected information is stored in a list of dictionaries, making it easy to access and analyze.</li></ol><p>Leveraging Python’s os module, this script automates what would otherwise be a repetitive and manual process. The os module, which provides a simple and reliable way to interact with the operating system&#39;s file system, was chosen for its robustness and ease of use. The result is faster access to important file information, enabling more informed decision-making and enhancing overall file management practices.</p><h3>The Importance of Automation</h3><p>This initial script serves as a foundation for more complex file management tasks. In an environment where time is money, automating routine tasks like file information extraction not only reduces manual workload but also minimizes errors. By streamlining these processes, organizations can achieve greater efficiency, ultimately leading to cost savings and improved data governance.</p><p>Moreover, the script illustrates a key principle in software development: solving small, specific problems can lead to significant improvements in overall workflow. Automating a simple task opens up opportunities for more advanced automation, ultimately driving efficiency across the organization and allowing for better allocation of resources.</p><h3>Conclusion</h3><p>The development of this Python script addresses a common challenge in file management by automating the extraction of essential file details. The solution is efficient, scalable, and lays the groundwork for future enhancements. Looking ahead, this script could be adapted for more complex tasks or integrated into larger data management systems, further increasing its value.</p><p>This project showcases a proactive approach to leveraging technology to solve practical problems — an approach that is increasingly important in today’s technology-focused work environments. By clearly defining the problem and providing a targeted solution, this project exemplifies a strategic approach to improving operational efficiency — an approach that is indispensable in modern technical roles.</p><blockquote><em>Check out the completed project on my </em><a href="https://github.com/squirrelmind/python-aug-2024/blob/hsanders-python1/dictionary.py"><em>Github</em></a><em>!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1fd4aab86de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplify EC2 Management with Python]]></title>
            <link>https://medium.com/@hollie-sanders/simplify-ec2-management-with-python-8512461b0d2e?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8512461b0d2e</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cloud-devops-engineer]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Thu, 22 Aug 2024 15:40:23 GMT</pubDate>
            <atom:updated>2024-08-22T15:40:23.652Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e9Qvc_3W-3ZkqJ-s9Frdfw.png" /></figure><p>In shared AWS environments, managing EC2 instances across multiple departments can lead to confusion without a systematic naming convention. Clear and unique naming is essential for maintaining organizational clarity and operational efficiency.</p><p>This article introduces a Python-based EC2 random name generator designed to solve this problem. By generating department-specific names, this tool enhances resource management and simplifies identification in a shared cloud infrastructure.</p><h4>Use Case: Ensuring Clear Department Ownership in AWS</h4><p>When multiple departments — such as Marketing, Accounting, and FinOps — operate within the same AWS environment, it’s crucial to ensure that each department’s EC2 instances are clearly identifiable. Properly named EC2 instances not only enhance clarity and organization but also facilitate troubleshooting, auditing, and overall resource management.</p><p>The key challenge is developing a system that automatically generates unique, department-specific names for EC2 instances upon creation. This approach reduces human error, prevents naming conflicts, and ensures that all team members can easily identify the resources belonging to their department.</p><h3>The Project: A Tailored Python Script</h3><p>This project introduces a Python script specifically crafted to meet the needs of a shared AWS environment:</p><ul><li><strong>Department-Specific Naming</strong>: The script requires users to input their department name and generates names that incorporate this identifier. By restricting usage to pre-approved departments (Marketing, Accounting, FinOps), it ensures consistency and prevents unauthorized use.</li><li><strong>Unique Name Generation</strong>: Each EC2 instance receives a unique name composed of the department name and a random string of characters and numbers. This method ensures that names are not duplicated, even if multiple instances are created simultaneously.</li><li><strong>Case Sensitivity Handling</strong>: The script standardizes department names to handle variations in input case, ensuring that entries like “marketing” or “MARKETING” are recognized correctly.</li></ul><h3>Environment Setup: Preparing for the Python Script</h3><p>Before diving into the script, you’ll need to ensure your development environment is properly set up. Follow these steps to get started:</p><ol><li><strong>Install Python</strong>: Ensure you have Python 3.6 or later installed on your machine.</li><li><strong>Set Up a Text Editor or IDE</strong>: Choose a text editor or integrated development environment (IDE) for writing and running your Python code.</li><li><strong>Create a New Python File</strong>: Open your text editor or IDE and create a new file</li><li><strong>Add Required Libraries</strong>: This script utilizes Python’s standard libraries, so no additional packages are required.</li></ol><h3>Conclusion: Optimizing EC2 Management with a Custom Name Tool</h3><p>This project is an excellent example of how a simple Python script can solve a common organizational challenge, leading to increased efficiency and clarity. As cloud environments continue to grow in complexity, tools like this become indispensable for maintaining a well-organized and easily navigable infrastructure.</p><p>| Real-world projects created by <a href="https://levelupintech.com/">LevelUp in Tech</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8512461b0d2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS EC2 and AMI Deployment: Achieving Scalability and Security]]></title>
            <link>https://medium.com/@hollie-sanders/aws-ec2-and-ami-deployment-achieving-scalability-and-security-77b8041884bf?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/77b8041884bf</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 00:38:48 GMT</pubDate>
            <atom:updated>2024-07-23T00:38:48.199Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-aZe_GpJ-r4647wf7u4xQ.png" /></figure><blockquote><em>Real-world projects created by </em><a href="https://levelupintech.com/"><em>LevelUp in Tech</em></a></blockquote><p><strong>Introduction</strong>:</p><p>This project describes how Level-Up Bank migrated to AWS to improve scalability, reliability, and security of its online services. The migration ensures a infrastructure that can support growth and provide a seamless customer experience.</p><p><strong>Challenge</strong>:</p><p>Level-Up Bank’s website and online banking platform needed an infrastructure upgrade to meet growing customer demands for performance and security.</p><p><strong>Solution</strong>:</p><p>Leveraging AWS, we transitioned Level-Up Bank’s infrastructure to the cloud, starting with the setup of a t2.micro EC2 instance, equipped with an Apache web server. This instance type is cost-effective and eligible for the AWS Free Tier, making it an ideal choice for initial migration and testing.</p><h4>Setting Up a t2.micro EC2 Instance:</h4><ul><li>Launched a t2.micro EC2 instance with Amazon Linux 2</li><li>Implemented a user-data script to automate package updates, Apache web server installation, and automatic startup on boot</li><li>Confirmed the successful installation and operation of the Apache web server by accessing the public IP, ensuring the instance was fully operational and ready to serve web pages immediately</li></ul><h4>Creating an Amazon Machine Image (AMI):</h4><ul><li>Created an AMI from the running instance, capturing all configurations and software</li><li>AMI enables rapid deployment of identical instances</li><li>Simplifies scaling and enhances reliability through consistency</li></ul><h4>Launching a New Instance from the AMI:</h4><ul><li>Launched additional instances using the AMI to match the original setup</li><li>Configured each instance to allow HTTP traffic, ensuring security and consistency</li><li>Verified web server functionality via public IP, showcasing AWS’s scalability</li></ul><p><strong>Results:</strong></p><p>By moving to AWS and utilizing EC2 instances with AMIs, Level-Up Bank significantly improved the scalability and reliability of its online services. The ability to quickly replicate and deploy instances ensures the bank can efficiently manage increased traffic and maintain high performance. This migration also enhances security, leveraging AWS’s security features to protect customer data.</p><p><strong>Conclusion:</strong></p><p>This process showcases how AWS simplifies complex tasks, allowing businesses like Level-Up Bank to focus on delivering value to their customers rather than managing infrastructure. By leveraging AMIs, you can ensure reliable and consistent environments, making it easier to scale and manage applications in the cloud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77b8041884bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Permissions: A Guide for Users and Group Management]]></title>
            <link>https://medium.com/@hollie-sanders/linux-permissions-a-guide-for-users-and-group-management-0c4b091b8b43?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c4b091b8b43</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Thu, 04 Jul 2024 01:04:40 GMT</pubDate>
            <atom:updated>2024-07-04T01:04:40.442Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X7EFF5pjnQHIyYWatyq19Q.png" /></figure><h4>Introduction</h4><p>Linux permissions are a fundamental aspect of maintaining a secure and efficient system. In this article, we’ll walk through a practical example of managing users and groups on a Linux system, specifically an AWS EC2 instance. By the end of this guide, you’ll have a clear understanding of how to create directories, manage groups, set permissions, and verify access, all through a real-world scenario.</p><h4>Setting Up The Environment</h4><ul><li>Linux EC2 instance running on AWS</li><li>Mac Terminal</li></ul><p><em>Start by connecting to your EC2 instance as the root user. You can do this using your Mac terminal with SSH.</em></p><ul><li>Create three directories for the departments: Development, Operations, and Analytics within the Mac Terminal.</li></ul><pre>mkdir /Development /Operations /Analytics</pre><ul><li>To simulate real-world usage, let’s add some dummy files to each directory. These files will help us verify permissions later.</li></ul><pre>touch /Development/test1.txt /Development/test2.txt /Development/test3.txt<br>touch /Operations/test1.txt /Operations/test2.txt /Operations/test3.txt<br>touch /Analytics/test1.txt /Analytics/test2.txt /Analytics/test3.txt</pre><ul><li>To enforce security and access controls, you’ll need to create groups for each department.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*6MESKTYcP23hn5PQ1orUvw.png" /></figure><p><em>Next, each group should only have view and access to their respective directory. To do this, we need to assign ownership of the directories to their respective groups and set appropriate permissions.</em></p><ul><li>Change the owner of each directory to their respective group.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*D64Gy7wAeTSqv8H-tPnDLw.png" /></figure><ul><li>Modify the permissions on each directory to ensure only the group user can access it. We’ll set the permission to 770, which means that only group members can read, write, and execute files within their directories.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*QmOZ08pMQYSk8lZCmuc7bg.png" /></figure><ul><li>Now, let’s create users for each department and add them to their respective groups. Each user will have a unique username and email address for identification.</li></ul><pre>useradd -m -G Developers -c &quot;Jess Waller, email=jwaller@levelupbank.com&quot; jwaller<br>useradd -m -G Operations -c &quot;Blake Dorsey, email=bdorsey@levelupbank.com&quot; bdorsey<br>useradd -m -G DataAnalysts -c &quot;Joey Ewart, email=jewart@levelupbank.com&quot; jewart</pre><p>{The <strong>useradd</strong> command with the <strong>-m</strong> flag creates a home directory for each user. The <strong>-G</strong> flag assigns them to the appropriate group, and the <strong>-c</strong> flag adds a comment with their name and email.}</p><ul><li>Setting strong passwords is crucial for security. Ensure each user has a unique password.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*b-UaGE0bBcfSNoeBG_KcOg.png" /></figure><p><em>After setting the passwords, let’s switch to each newly created user and verify they are only able to see the directories and files associated with their group.</em></p><ul><li>jwaller should only see files in /Development.</li><li>bdorsey should only see files in /Operations.</li><li>jewart should only see files in /Analytics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*piNxd0aT3LHhzUZMdy-fnQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*_L0Yun8OPlK2RhjS1kU8qA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*NOCZ4lGpzPlXO_Ubf5idFw.png" /></figure><p><em>Finally, change permissions on each user’s home directory to ensure only the user can view their own profile and verify each user can only view their own profile.</em></p><ul><li>Change the permissions of the home directory for each user by setting the permission to ‘700’. This means the owner can read, write, execute but the group or other users will have no permissions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*S-R5Mp2EIIxTGd9ccT5PvA.png" /></figure><ul><li>Switch to each user and check that they can access their own home directory and not the others —</li><li>Verify jwaller access to home directory</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*a_I5QbeoDJDYbEK45TZM_g.png" /></figure><ul><li>Verify bdorsey access to home directory</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*V48_t18QNPnNUKrJUwWXnw.png" /></figure><ul><li>Verify jewart access to home directory</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*lOTMO1bxAJuQuT3VYnxcPg.png" /></figure><h4>Lets Wrap Things Up</h4><p>Managing users and groups with appropriate permissions is crucial for a secure and efficient Linux environment. Following these steps ensures each department has necessary resource access while protecting sensitive information, enhancing security, and improving productivity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c4b091b8b43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Configure Apache on AWS EC2 with Amazon Linux 2]]></title>
            <link>https://medium.com/@hollie-sanders/how-to-configure-apache-on-aws-ec2-with-amazon-linux-2-d5ebb5c1114e?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5ebb5c1114e</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[cloud-devops-engineer]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Thu, 06 Jun 2024 14:47:26 GMT</pubDate>
            <atom:updated>2024-06-06T14:47:26.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJuLPm3sGLweHCwiYw9jYg.png" /></figure><blockquote><em>Level Up Bank is a fictitious fintech startup that offers digital banking</em></blockquote><h3>Challenge</h3><p>As a junior cloud engineer at Level Up Bank, your team has been tasked with a new project: Set up a new web server using Amazon Linux 2. This widely-used, open-source Linux distribution is perfect for web servers. This web server will host the bank’s website, providing service information and online account access to our customers.</p><h3>Requirements and Resources</h3><ul><li>Amazon EC2 (Linux)</li><li>Secure Shell (SSH)</li><li>Mac Terminal</li><li>VIM editor</li></ul><h3>Create an AWS EC2 Amazon Linux 2 Server</h3><h3>Launch a Linux EC2 instance</h3><ol><li>Login to AWS to access the AWS Management Console</li><li>Select “EC2” from the Services menu</li><li>Click the “Launch Instance” button</li></ol><h3>Configure EC2 instance</h3><ol><li>Name the instance</li><li>Select OS Image Amazon Linux 2 AMI</li><li>Choose ‘t2.micro’ instance type</li><li>Create a new key pair, choose private key file format .pem</li><li>Click “Create key pair” to download the file</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fY7T7MjYLZ57ftlfgdRRyQ.png" /></figure><h3>Configure EC2 instance settings</h3><ol><li>Create and name a new security group</li><li>Add Inbound rules to allow SSH (port 22) and HTTP (port 80) traffic</li><li>Click “Launch Instance” button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-eBVQQOBcqCcLPlOVEL95w.png" /></figure><h3>Connect to the instance</h3><ol><li>Select Instance from EC2 dashboard</li><li>Select “Connect” button &gt; SSH client</li><li>Follow instructions to connect by SSH</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKl7z6qqkcmxmSMqFwl8DQ.png" /></figure><h3>Install an Apache web server</h3><h3>Set key pair permissions</h3><ol><li>Open Mac Terminal</li><li>Use ‘cd’ to navigate to directory where key pair was downloaded previously</li><li>Run the command “chmod 400 [keypairname.pem]” to set read permissions</li></ol><h3>SSH into instance to confirm EC2 login</h3><ol><li>Use ssh command to connect [ssh -i “keypairname.pem” ubuntu@ publicIP address]</li><li>Enter “Yes” to continue connecting to Linux instance</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GPN7ySw336ijIUZ7eUXnvw.png" /></figure><h3>Enable the Apache web server</h3><ol><li>Start the Apache server by running the following commands:</li></ol><pre>sudo systemctl start httpd<br>sudo systemctl enable httpd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lmA9o74upLDbMmTOw87c7w.png" /></figure><h3>Verify the web server is working</h3><ol><li>Return to EC2 dashboard and select created instance</li><li>Look for the “Public IPv4 address” in the instance description. Copy this IP address</li><li>Open an Incognito window in a web browser</li><li>Paste the public IP address</li><li>Apache Test Page confirms the web server is running</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQfteIhmOQwzpvQWO2BXPw.png" /></figure><h3>LevelUp Bank Solution</h3><p>Congratulations! Launching an Apache server successfully implies that the Apache HTTP server software is installed, correctly configured, and operational on your system. As a result, the server can effectively deliver the web content of LevelUp Bank. To test this, your task is to create an HTML page that displays custom content when accessed via the same public IP address.</p><h3>Create a custom HTML Page</h3><h3>Create an HTML file</h3><ol><li>Connect to the Linux EC2 instance (if not already connected)</li><li>Use “vim” to create the HTML file</li></ol><pre>sudo vim /var/www/html/index.html</pre><ol><li>In vim editor, press ‘i’ to enter the HTML content</li><li>Save the file using ‘esc’ and exit vim using ‘:wq’</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_PXV87RyxLvqVAQ-EDNRw.png" /></figure><ol><li>Copy the same IP address from the Apache server test</li><li>Open an Incognito window in a web browser</li><li>Paste the public IP address</li><li>Confirm the custom HTML page displays in the browser</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BYVgZ9CE6Jx5dvhLbzi9rQ.jpeg" /></figure><h3>Lets Wrap Things Up</h3><p>A bank may use an Apache web server on Linux for various reasons. Some of the most common reasons include the following:</p><ol><li>Stability and reliability</li><li>Performance</li><li>Security</li><li>Flexibility</li><li>Cost</li></ol><p>Utilizing an Apache web server on Linux enables a bank to leverage these benefits, providing a secure, high-performance platform for its online applications and services.</p><p><em>Real-world projects created by </em><a href="https://levelupintech.com/"><em>LevelUp in Tech</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5ebb5c1114e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Linux EC2 with SSH Security]]></title>
            <link>https://medium.com/@hollie-sanders/deploying-linux-ec2-with-ssh-security-af7d5cf605fb?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/af7d5cf605fb</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[cloud-devops-engineer]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Mon, 27 May 2024 22:02:20 GMT</pubDate>
            <atom:updated>2024-05-27T22:02:20.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KZSk6IWu1eWkLRg0_d2uA.png" /></figure><blockquote><em>Level Up Corporation is a fictitious mid-sized tech company</em></blockquote><h3>Introduction</h3><p>LevelUp Corporation utilizes Amazon AWS to simultaneously run over 100 EC2 instances that host both Linux and Windows applications. They also have a globally-located IT team that handles the administration and maintenance of these instances.</p><h3>Challenge</h3><p>The IT team is struggling to maintain their servers efficiently, leading to prolonged downtime and security risks. They need the ability to perform maintenance or troubleshoot security issues remotely.</p><h3>Requirements and Resources</h3><ul><li>Amazon EC2 (Linux)</li><li>Secure Shell (SSH)</li><li>Mac Terminal or Windows Command Prompt</li></ul><h3>Launch a Linux EC2 instance with a key pair</h3><h4><strong>Launch a Linux EC2 Instance</strong></h4><ol><li>Login to AWS to access the AWS Management Console</li><li>Select “EC2” from the Services menu</li><li>Click the “Launch Instance” button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*Kfx4AyWRa1xBpu8XoQBqGQ.png" /></figure><h4><strong>Configure EC2 Instance</strong></h4><ol><li>Name the instance [i.e. LUIT Linux]</li><li>Select OS Image Amazon Linux 2 AMI, SSD</li><li>Choose ‘t2.micro’ instance type</li><li>Create a new key pair, choose private key file format .pem</li><li>Click “Create key pair” to download the file</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*tDZdd_QlNKfOkFgqrQM9AA.png" /></figure><h4><strong>Configure EC2 Instance Network Settings</strong></h4><ol><li>Leave VPC as default, choose a subnet based on preferred availability zone</li><li>Enable ‘Auto-assign Public IP’</li><li>Create and name a new security group</li><li>Add Inbound rule to allow SSH</li><li>Click “Launch Instance” button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*V2ogbUO_EwMol9U2ndTEDw.png" /></figure><h3>SSH into the EC2 Instance</h3><h4><strong>Set Key Pair Permissions</strong></h4><ol><li>Open Mac Terminal or Windows Command Prompt</li><li>Use ‘cd’ to navigate to directory where key pair was downloaded previously</li><li>Run the command “chmod 400 [keypairname.pem]” to set read permissions</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*dcP5F3KN5mcXn5W1TZYAxQ.jpeg" /></figure><h4><strong>SSH into instance to confirm EC2 Login</strong></h4><ol><li>Return to EC2 dashboard and select created instance</li><li>Note Public IPv4 Address and return to Terminal</li><li>Use ssh command to connect [ssh -i “keypairname.pem” ec2-user@ publicIP address]</li><li>Enter “Yes” to continue connecting to Linux instance</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*2EGYjCnY3YLlfcfOu-ar-g.jpeg" /></figure><h4><strong>Confirm login to EC2 instance</strong></h4><ol><li>Run the command ‘whoami’</li><li>Confirm ‘ec2-user’ as the output to verify login to the EC2 instance</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*GP0L9Ix67CmbR3HqPRAqkg.png" /></figure><h4>Lets Wrap Things Up</h4><p>By enabling SSH (secure shell) on their Linux EC2 instances, LevelUp Corporation is able to establish secure, encrypted channels for remote administration. This ensures their IT team can efficiently manage and troubleshoot servers, regardless of their physical location.</p><blockquote>Real-world projects created by <a href="https://levelupintech.com/">LevelUp in Tech</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af7d5cf605fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Better Website Performance Using Amazon S3 and CloudFront]]></title>
            <link>https://medium.com/@hollie-sanders/better-website-performance-using-amazon-s3-and-cloudfront-dcbeac36b585?source=rss-d690771f348a------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcbeac36b585</guid>
            <category><![CDATA[cloudfront]]></category>
            <category><![CDATA[cloud-devops-engineer]]></category>
            <category><![CDATA[amazon-s3]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-services]]></category>
            <dc:creator><![CDATA[Hollie Sanders]]></dc:creator>
            <pubDate>Sun, 19 May 2024 18:51:44 GMT</pubDate>
            <atom:updated>2024-05-19T18:51:44.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*k6aFCdYwgjNS7gX_ScCuOA.png" /></figure><blockquote><em>Level Up Bank is a fictitious fintech startup that offers digital banking services to customers</em></blockquote><h3>Introduction</h3><p>LevelUp Bank currently hosts their website on an on-premises server which creates additional maintenance costs for the company. The company has a concern around increased traffic causing downtime as their website is where customers come to access their banking services and provides potential new customers banking services information. LevelUp Bank has made the decision to move to Amazon S3 to help with these challenges.</p><h3>Requirements and Resources</h3><ul><li>An AWS account is required to access AWS services</li><li>Index.html file</li><li>Amazon S3</li></ul><h3>Host a S3 bucket and make it public</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*TlIEuz9DUKuWh6M9uW2RaQ.png" /><figcaption>S3 bucket is successfully created</figcaption></figure><p><strong>Setting up the S3 Bucket</strong></p><ol><li>Login to AWS to access the AWS Management Console</li><li>In the navigation bar, search “Amazon S3” and open the S3 console</li><li>Select “Create Bucket” and enter a unique name for the bucket</li><li>Use the default settings and select the “Create Bucket” button</li><li>Select the newly created bucket by clicking the bucket link [path should appear as Amazon S3&gt;Buckets&gt; unique-bank-name]</li><li>Select the “Upload” button and upload the index.html file</li><li>Verify objects show as ‘1’ and the index.html link appears</li></ol><p><strong>Hosting a static website</strong></p><ol><li>Select “Buckets” from the left side panel</li><li>Click the bucket name and select the “Properties” tab</li><li>Under “Static Website Hosting”, select “Edit” and enable static website hosting</li><li>In the “Index document” field, type “index.html”</li><li>Click “Save changes”</li></ol><p><strong>Verify internet access to website</strong></p><ol><li>Return to the bucket “Properties” tab</li><li>Confirm a link appears under “Bucket website endpoint” [http://&lt;uniquebucket&gt;.s3-website-us &lt;region&gt;.amazonaws.com] and copy it</li><li>Open an incognito window and paste the website link</li><li>If all steps were followed, the website content will appear in the window</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvvEsiqkC4RwmedbxqDYVg.png" /><figcaption>Static website appears after bucket creation</figcaption></figure><h3>LevelUp Bank Solution</h3><p>Success! LevelUp Bank is impressed the website is successfully appearing on Amazon S3. They are ready to move forward with developing new banking features and improving the customer experience. However, another requirement emerges around performance and customers accessing a secure site.</p><h3>Requirements and Resources</h3><ul><li>CloudFront</li><li>AmazonS3</li></ul><h3>Using CloudFront to enhance performance and security</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*RslgV_RURftALApB_-FIZw.png" /><figcaption>Create a new CloudFront Distribution</figcaption></figure><p><strong>Setting up a CloudFront Distribution</strong></p><ol><li>Login to AWS to access the AWS Management Console</li><li>In the navigation bar, search “CloudFront” and open the CloudFront console</li><li>Within Distributions, select “Create Distribution”</li><li>Configure Origin settings using the created bucket, select the “use website endpoint” when it appears</li><li>Use default settings. For Web Application Firewall, select “Do not enable security protections”</li><li>Select “Create Distribution”</li><li>Verify the distribution status shows as “Enabled”</li></ol><p><strong>Verifying Redirection from HTTP to HTTPS</strong></p><ol><li>Select the newly created distribution by clicking the distribution link [path should appear as CloudFront&gt;Distributions&gt; Distribution Name]</li><li>Copy the distribution domain name under “Details” and paste into a incognito window</li><li>Verify the CloudFront URL is being accessed securely by entering it into the search bar [HTTPS://d—.cloudfront.net]</li><li>Verify the page redirects to HTTPS by using HTTP in the search bar [HTTP://d—.cloudfront.net]</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Du1l5eoG3JyqgQXmNQ4_pA.png" /><figcaption>HTTPS redirect of LevelUp Bank website</figcaption></figure><p><strong>Verify CloudFront caching behavior</strong></p><ol><li>Open the index.html file locally in a text editor and make an edit to the file and save</li><li>Open S3, Amazon S3&gt;Buckets&gt; unique-bank-name</li><li>Select “Upload” to upload the modified index.html file which replaces the previous file</li><li>Return to the bucket “Properties” tab, scroll to “Static web hosting”</li><li>Open the endpoint link within an incognito window</li><li>Verify the edit is showing in the updated website</li><li>Return to CloudFront&gt;Distributions&gt; Distribution Name and copy the distribution domain name to an incognito window</li><li>Verify the old website is appearing confirming caching is performing correctly</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*QYTNAMwqEsFwf4BFEWk9eA.png" /><figcaption>Website title shows edited website output</figcaption></figure><h3>Lets Wrap Things Up</h3><p>LevelUp Bank now has a site that is using Amazon S3 and CloudFront that improves their website performance and security for their global customers. By moving from an on-site server to a cloud service, their costs will decrease, customers will not experience downtime, and IT can manage and maintain the website with ease.</p><blockquote>This is Project 1 in a series of real-world projects created by <a href="https://levelupintech.com/">LevelUp in Tech</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcbeac36b585" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>