<?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 Elizabeth Amanquah on Medium]]></title>
        <description><![CDATA[Stories by Elizabeth Amanquah on Medium]]></description>
        <link>https://medium.com/@elizabethamanquah1?source=rss-673dc36b6407------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hTdeNBpddMDOrhyH0T9sNA.png</url>
            <title>Stories by Elizabeth Amanquah on Medium</title>
            <link>https://medium.com/@elizabethamanquah1?source=rss-673dc36b6407------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:13:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elizabethamanquah1/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[High Availability Web Infrastructure with Terraform and AWS Auto Scaling]]></title>
            <link>https://medium.com/@elizabethamanquah1/high-availability-web-infrastructure-with-terraform-and-aws-auto-scaling-4e5e6a778b16?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e5e6a778b16</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Thu, 09 Oct 2025 17:15:30 GMT</pubDate>
            <atom:updated>2025-10-09T17:15:30.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*130IBM0FQHdoMsRzMxA24Q.png" /></figure><h3>Automating High-Traffic E-commerce Deployments with Terraform Auto Scaling Groups</h3><p>As e-commerce traffic surges during holiday seasons or special promotions, website performance can make or break customer experience. An outage or slowdown could result in lost sales and frustrated users. To solve this challenge, Auto Scaling Groups (ASGs) in AWS allow infrastructure to automatically scale based on demand, ensuring your site remains responsive at all times. In this guide, we’ll walk through deploying a scalable, highly available web infrastructure using <strong>Terraform</strong> for automation.</p><h3>Project Overview</h3><p>The goal of this project is to:</p><ul><li>Launch an <strong>Auto Scaling Group</strong> spanning two subnets for high availability.</li><li>Create a <strong>security group</strong> that allows internet traffic to EC2 instances.</li><li>Deploy an <strong>Apache web server</strong> using EC2 user data.</li><li>Ensure <strong>automatic scaling</strong> with a minimum of 2 and maximum of 5 instances.</li><li>Verify functionality by manually terminating an instance to see the ASG maintain the minimum capacity.</li><li>Use an <strong>S3 bucket as a remote backend</strong> to version-control Terraform state for reliable infrastructure management.</li></ul><p>This setup ensures that the website is resilient, secure, and capable of handling traffic spikes automatically.</p><h3>Prerequisites</h3><ul><li>AWS account</li><li>Terraform installed</li><li>AWS CLI configured</li><li>Basic knowledge of EC2, VPCs, and S3</li></ul><h3>1. Project Structure</h3><p>Organize your Terraform files in a single folder:</p><pre>terraform-asg-project/<br>├── variables.tf<br>├── provider.tf<br>├── security_group.tf<br>├── launch_template.tf<br>├── autoscaling.tf<br>├── outputs.tf</pre><ul><li>main.tf → AWS resources like Auto Scaling Group, Launch Template, Security Group.</li><li>variables.tf → Variables for reusable configuration</li><li>outputs.tf → Outputs like ASG name and security group ID.</li><li>userdata.sh → Script to install Apache on your EC2 instances.</li></ul><h3>2. Configure VPC and Subnets</h3><ul><li>Pull the default VPC and subnets dynamically using data sources:</li></ul><pre>data &quot;aws_vpc&quot; &quot;default&quot; { default = true }<br><br>data &quot;aws_subnets&quot; &quot;default&quot; {<br>  filter {<br>    name   = &quot;vpc-id&quot;<br>    values = [data.aws_vpc.default.id]<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ia_Az2eW6ArpGe3EdwdcpA.png" /><figcaption><em>This allows Terraform to </em><strong><em>automatically adapt</em></strong><em> to your AWS account’s default network.</em></figcaption></figure><h3>3. Create Security Group</h3><pre>resource &quot;aws_security_group&quot; &quot;web_sg&quot; {<br>  name   = &quot;web-sg&quot;<br>  vpc_id = data.aws_vpc.default.id<br><br>  ingress {<br>    from_port   = 80<br>    to_port     = 80<br>    protocol    = &quot;tcp&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br><br>  egress {<br>    from_port   = 0<br>    to_port     = 0<br>    protocol    = &quot;-1&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sGtwN2zCiK1lZzTiTvFEkQ.png" /><figcaption><em>Allows public HTTP access while still securing other traffic</em></figcaption></figure><h3>4. Launch Template with Apache</h3><ul><li>Dynamically pull <strong>latest Amazon Linux 2 AMI</strong>:</li></ul><pre>data &quot;aws_ami&quot; &quot;amazon_linux&quot; {<br>  most_recent = true<br>  owners      = [&quot;amazon&quot;]<br>  filter {<br>    name   = &quot;name&quot;<br>    values = [&quot;amzn2-ami-hvm-*-x86_64-gp2&quot;]<br>  }<br>}</pre><p>Create launch template and include user data:</p><pre>resource &quot;aws_launch_template&quot; &quot;apache_lt&quot; {<br>  name_prefix   = &quot;apache-lt-&quot;<br>  image_id      = data.aws_ami.amazon_linux.id<br>  instance_type = &quot;t3.micro&quot;<br>  user_data     = filebase64(&quot;${path.module}/userdata.sh&quot;)<br><br>  network_interfaces {<br>    associate_public_ip_address = true<br>    security_groups             = [aws_security_group.web_sg.id]<br>  }<br><br>  tag_specifications {<br>    resource_type = &quot;instance&quot;<br>    tags = { Name = &quot;ApacheServer&quot; }<br>  }<br>}</pre><h3>5. Auto Scaling Group</h3><pre>resource &quot;aws_autoscaling_group&quot; &quot;apache_asg&quot; {<br>  name             = &quot;apache-asg&quot;<br>  min_size         = 2<br>  max_size         = 5<br>  desired_capacity = 2<br>  vpc_zone_identifier = slice(data.aws_subnets.default.ids, 0, 2)<br><br>  launch_template {<br>    id      = aws_launch_template.apache_lt.id<br>    version = &quot;$Latest&quot;<br>  }<br><br>  tag {<br>    key                 = &quot;Name&quot;<br>    value               = &quot;Apache-ASG-Instance&quot;<br>    propagate_at_launch = true<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*263Tq7U_iTtoUNw6QMQIwg.png" /></figure><ul><li>Spans <strong>two subnets</strong> for high availability</li><li>Automatically <strong>replaces terminated instances</strong> to maintain minimum capacity</li></ul><h3>6. Initialize and Apply Terraform</h3><pre>terraform init<br>terraform validate<br>terraform apply -auto-approve</pre><p>You should see these two prompts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3NT1wKCJLSxjrrwgidh1Bg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eh3subKTtwOCqdTHCD5TyA.png" /></figure><h3>7. Verify on AWS Console</h3><ul><li><strong>EC2 → Instances</strong>: Two running instances</li><li><strong>Public IPv4 address</strong>: Available for both instances</li><li><strong>Security Group</strong>: web-sg attached</li><li><strong>Instance state</strong>: Running</li><li><strong>Status checks</strong>: 3/3 passed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EvS6yVcVquOZ8j6k5fBnVA.png" /></figure><p>Open your browser using both public IP and you should see this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8C8AtYl-PvyBU5qftSlkA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fHpiSBgpFvAf_K4owLmXPw.png" /></figure><h3><strong>Test Auto Scaling:</strong></h3><ol><li>Terminate <strong>one instance</strong> manually.</li><li>Check the <strong>ASG Activity History</strong> → AWS automatically launches a replacement.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7G5afKHUKl_eqXYva-Dow.png" /><figcaption>AWS automatically launched a replacement boxed in red</figcaption></figure><h3>Final Step</h3><p>Be sure to clean up all the AWS resources that was created with Terraform to avoid extra charges!</p><pre>terraform destroy -auto-approve</pre><p>Sometimes Terraform can’t remove certain resources if there were errors, so log in to the AWS console and check!</p><h3>Troubleshooting &amp; Solutions</h3><h3>1. AMI Not Found</h3><p>The AMI ID I was using (ami-0c55b159cbfafe1f0) either did not exist in my region or was outdate</p><ul><li><strong>Solution:</strong> Use dynamic lookup for the latest Amazon Linux 2 AMI.</li></ul><h3>2. Instance Type Not Supported in AZ</h3><ul><li><strong>Error:</strong> t3.micro not supported in us-east-1e</li></ul><pre>Failed: Your requested instance type (t3.micro) is not supported in your requested Availability Zone (us-east-1e)</pre><ul><li><strong>Solution:</strong> Let Terraform handle subnets automatically; remove any availability_zones lines. Check to see what was available and replace it</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ffca9wmHm6Juhy_WuDBMYQ.png" /></figure><h3>3. Website Not Loading</h3><ul><li><strong>Error:</strong> Blank page or internal IP (ip-172-31-...)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQhs1F7KDC1HlestPUfmOw.png" /></figure><ul><li><strong>Solution: </strong>Instead of right clicking the page, copy and paste public IP in a new browser. This should work !</li></ul><h3>Lesson Learned</h3><ul><li>Dynamic retrieval of <strong>VPC, subnets, and AMI</strong></li><li>Creating <strong>secure Auto Scaling infrastructure</strong></li><li>How Auto Scaling <strong>maintains minimum instance count</strong></li><li>Common issues and <strong>Terraform troubleshooting best practices</strong></li></ul><h3>Conclusion</h3><p>By using Terraform and AWS Auto Scaling, we successfully built a <strong>highly available, fault-tolerant, and scalable Apache web server</strong>. We verified it works by manually terminating an instance and watching the ASG automatically replace it.</p><p>This project highlights the power of <strong>infrastructure-as-code</strong> for real-world cloud automation, especially for critical e-commerce infrastructure during high traffic periods.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e5e6a778b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From GitHub to Audio: Building a CI/CD Pipeline with Polly]]></title>
            <link>https://medium.com/@elizabethamanquah1/from-github-to-audio-building-a-ci-cd-pipeline-with-polly-aca3a93bb8a2?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/aca3a93bb8a2</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Thu, 09 Oct 2025 14:25:21 GMT</pubDate>
            <atom:updated>2025-10-09T14:25:21.727Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xAIsV0XKkXIIwNfPULKtYA.png" /></figure><h3><strong>Background</strong></h3><p>Pixel Learning Co., a digital-first education startup, wants to deliver course content in audio format to make learning more accessible. By automating text-to-speech conversion using Amazon Polly and AWS S3, they can provide audio versions of course content immediately upon updates, without managing servers or manually narrating content.</p><p>We will through setting up a <strong>serverless, automated pipeline</strong> that converts text files in GitHub into audio files and uploads them to S3.</p><h3>Why This Setup Matters</h3><ul><li><strong>Accessibility:</strong> Audio content enables visually impaired learners and auditory learners to access material seamlessly.</li><li><strong>Efficiency:</strong> Automatically generate audio without manual narration, saving time and resources.</li><li><strong>Consistency:</strong> Ensure all course content is consistently delivered in multiple formats.</li><li><strong>Scalability:</strong> As your content grows, serverless automation handles more files without extra overhead.</li><li><strong>Quality Assurance:</strong> Separate Beta and Prod workflows allow testing before publishing.</li></ul><h3>Prerequisites</h3><ul><li>AWS account with S3 and Polly access</li><li>GitHub repository for course content</li><li>Python 3.x installed</li><li>GitHub Actions enabled in your repository</li><li>boto3 installed (pip install boto3)</li></ul><h3>Step 1: Set Up Your Repository</h3><ol><li>Create a GitHub repository, e.g., polly-audio-pipeline</li><li>Clone it locally (In your terminal or VS Code)</li></ol><pre>git clone https://github.com/your-username/polly-audio-pipeline.git<br>cd polly-audio-pipeline</pre><p>3. Create a sample text file:</p><pre>echo &quot;Hello, this is a test for Amazon Polly audio synthesis.&quot; &gt; speech.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gE1gRbqriTqRbbaIFiMZqg.png" /></figure><h3>Step 2: Create synthesize.py</h3><p>This Python script reads the text, generates speech via Polly, and uploads it to S3. Using <strong>environment variables</strong> keeps the credentials secure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i9Oh2dBpqKGqBUT66VLd7g.png" /></figure><h3>Step 3: Create an AWS IAM User</h3><ol><li>Go to <strong>AWS Console → IAM → Users → Create user</strong></li><li>Name: github-polly-user</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*QXTlAp1jolxyX8lFVNwzgw.png" /></figure><p>3. Permissions:</p><ul><li>AmazonPollyFullAccess</li><li>AmazonS3FullAccess</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*onqs3Qv1l8e6bRLrVbFVlA.png" /></figure><p>4. Copy <strong>Access Key ID</strong> and <strong>Secret Access Key</strong></p><p><em>This allows GitHub Actions to interact with AWS securely.</em></p><h3>Step 4: Set GitHub Secrets</h3><p>In your repo → Settings → Secrets → Actions, add:</p><ul><li>AWS_ACCESS_KEY_ID</li><li>AWS_SECRET_ACCESS_KEY</li><li>AWS_REGION (e.g., us-east-1)</li><li>S3_BUCKET_NAME (e.g., pixel-learning-aud)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1KUxBAkEggWlOwQg4KYApQ.png" /></figure><p><em>Missing secrets are a common cause of workflow failures.</em></p><h3>Step 5: Configure GitHub Actions Workflows</h3><p>Create Beta Workflow .github/workflows/on_pull_request.yml; Should look something like this this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*TIwG4xOB8inMB7C9HCtP6w.png" /></figure><p>Create Prod .github/workflows/on_merge.yml; Should look something like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*UhgunQD4qauwYcbrhnnblA.png" /></figure><h3>Step 6: Test the Pipeline</h3><ol><li>Create a test branch:</li></ol><pre>git checkout -b test-polly-pr</pre><p>2. Make a change:</p><pre>echo &quot;Testing Polly Beta workflow&quot; &gt;&gt; speech.txt<br>git add speech.txt<br>git commit -m &quot;Test update for Polly Beta workflow&quot;<br>git push -u origin test-polly-pr</pre><p>3. Open a Pull Request → triggers <strong>Beta workflow</strong></p><p>4. Merge PR → triggers <strong>Prod workflow</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x9P1FytQ5URatlXKqH4X0Q.png" /></figure><p>5. Verify your S3 bucket contains</p><ul><li>polly-audio/beta.mp3</li><li>polly-audio/prod.mp3</li></ul><h3>Challenges I Faced and How I Solved Them</h3><p>While setting up the automation, I ran into a few common issues:</p><ul><li><strong>Region not specified:</strong> My workflow failed with NoRegionError until I added AWS_REGION as a secret in GitHub.</li><li><strong>Missing credentials:</strong> Initially, Polly couldn’t run because the workflow didn’t have access to AWS keys. Storing AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in GitHub Secrets fixed this.</li><li><strong>Pull Request banner not showing:</strong> I couldn’t see the “Compare &amp; pull request” banner until I pushed my test branch using git push -u origin branch-name.</li><li><strong>Local package installation issues:</strong> Trying to install boto3 on my system gave errors due to macOS restrictions. Installing it inside the GitHub workflow avoided this problem.</li><li><strong>MP3 not uploading to S3:</strong> This happened because my bucket name or IAM permissions were incorrect. Double-checking the bucket name and user policy resolved it.</li></ul><h3>Step 7: Verify &amp; Reflect</h3><ul><li>Check your <strong>S3 bucket</strong> → play beta and prod MP3s.</li><li>Ensure audio matches the text.</li><li>Automating TTS ensures <strong>all learners have equal access</strong>, reduces manual work, and scales with your content.</li></ul><h3>Conclusion</h3><p>This pipeline makes content <strong>accessible and automated</strong>. Amazon Polly + GitHub Actions automatically generate audio for every update, saving time and ensuring learners can access material in multiple formats. By solving workflow and AWS issues, I now have a <strong>scalable, serverless text-to-speech system</strong> that’s ready for real-world use.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aca3a93bb8a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker + Jenkins: Simplifying CI/CD Workflows]]></title>
            <link>https://medium.com/@elizabethamanquah1/docker-jenkins-simplifying-ci-cd-workflows-efb1ba31b8f2?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/efb1ba31b8f2</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 20:42:48 GMT</pubDate>
            <atom:updated>2025-10-08T20:42:48.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUThNRapiHhfbazDi_LwvA.png" /></figure><p>Level Up Solutions, a leading technology solutions provider, constantly seeks ways to optimize software development and deployment. One of the most effective approaches to streamline these processes is using <strong>Docker</strong> and <strong>Jenkins</strong> together. In this guide, I’ll walk you step by step through setting up a Jenkins server in Docker with <strong>persistent volumes</strong> — perfect for building a scalable and reliable CI/CD pipeline.</p><h3>Why Docker + Jenkins?</h3><h3>Key Benefits</h3><ol><li><strong>Enhanced Productivity:</strong> Quickly set up Jenkins without worrying about environment inconsistencies.</li><li><strong>Consistent Operations:</strong> Containers ensure Jenkins behaves the same across development and production.</li><li><strong>Scalability:</strong> Spin up multiple Jenkins instances on demand.</li><li><strong>Persistent Data:</strong> Jenkins job configurations, plugins, and build history remain safe even if containers are removed.</li><li><strong>Cost-Effective:</strong> Run multiple containers on the same host, optimizing infrastructure usage.</li><li><strong>Easy Version Control:</strong> Roll back to previous Jenkins versions effortlessly using Docker images.</li></ol><h3>Prerequisites</h3><ul><li>Docker installed on your machine (<a href="https://docs.docker.com/get-started/get-docker/">Install Docker)</a></li><li>Basic knowledge of CLI commands</li></ul><h3>Step 1: Pull the Jenkins LTS Docker Image</h3><p>The Long-Term Support (LTS) version of Jenkins is recommended for stability</p><pre>docker volume create jenkins_data</pre><h3>Step 2: Create a Docker Volume</h3><p>Volumes allow Jenkins to store data persistently</p><pre>docker volume create jenkins_data</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e2L07CC8sHC45lgXF09mOg.png" /></figure><h3>Step 3: Run the Jenkins Container</h3><p>Run Jenkins with persistent storage and proper port mapping</p><pre>docker run -d \<br>  -p 8081:8080 \<br>  -p 50001:50000 \<br>  -v jenkins_data:/var/jenkins_home \<br>  --name jenkins_server_v2 \<br>  jenkins/jenkins:lts</pre><p><strong>Explanation:</strong></p><ul><li>-p 8081:8080 → Exposes Jenkins web interface on port 8081</li><li>-p 50001:50000 → Port for Jenkins agents</li><li>-v jenkins_data:/var/jenkins_home → Ensures data persists</li><li>--name jenkins_server_v2 → Names the container</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UvH9VzBGeR1GopP__N0XA.png" /></figure><h3>Step 4: Retrieve the Initial Admin Password</h3><p>To unlock Jenkins for the first time, Copy the password after entering code for the next step (I covered mine but it should show right after entering previous code)</p><h3>Step 5: Access Jenkins in Your Browser</h3><ul><li>Navigate to: <a href="http://localhost:8081/">http://localhost:8081</a></li><li>Paste the <strong>initial admin password</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uLuznWjb2OBljWZTynowBA.png" /></figure><ul><li>Install suggested plugins</li><li>Create your <strong>first admin user</strong> (e.g., EA_Admin)</li></ul><h3>Step 6: Verify Persistent Volume</h3><p>Stop and remove the container:</p><pre>docker stop jenkins_server_v2<br>docker rm jenkins_server_v2</pre><p>Start it again using the same volume:</p><pre>docker run -d \<br>  -p 8081:8080 \<br>  -p 50001:50000 \<br>  -v jenkins_data:/var/jenkins_home \<br>  --name jenkins_server_v2 \<br>  jenkins/jenkins:lts</pre><p>Log back in and confirm your <strong>admin user and settings</strong> are intact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gBhAaEXWvN1zIfKRe5Cmng.png" /></figure><h3>Step 7: Next Steps</h3><ul><li>Explore the Jenkins dashboard and create your first job or pipeline</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O57PlnWkVMY9xtMn4Mce8Q.png" /></figure><h3>Conclusion</h3><p>By combining Docker and Jenkins, Level Up Solutions (or any organization) can create a <strong>robust, scalable, and efficient CI/CD environment</strong>. This setup reduces manual configuration, maintains consistency, and ensures data persistence, making it a reliable solution for modern software development needs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efb1ba31b8f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Jenkins Deployment Using Terraform on AWS]]></title>
            <link>https://medium.com/@elizabethamanquah1/automating-jenkins-deployment-using-terraform-on-aws-d3f3a0ca5e7c?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3f3a0ca5e7c</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 19:13:48 GMT</pubDate>
            <atom:updated>2025-10-08T19:13:48.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Xl1OTQU3fVCnc6FGSvgZA.png" /></figure><h3>Deploying a Jenkins Server on AWS with Terraform</h3><p>In today’s DevOps world, automation and repeatability are everything. My team wanted to start using <strong>Jenkins</strong> as our CI/CD tool, but instead of manually setting it up, we decided to build it using <strong>Terraform</strong>. This approach not only makes the deployment repeatable, but also ensures that every infrastructure change is tracked as code.</p><p>In this post, I’ll walk you through how I used <strong>Terraform</strong> to deploy a Jenkins server on AWS, secure it, and prepare it for CI/CD pipelines.</p><h3>Why This Project Matters</h3><p>Manually spinning up servers is fine for quick testing, but it doesn’t scale.<br>If the goal is to build <strong>consistent, version-controlled infrastructure</strong>, Terraform changes the game.</p><p>Using Terraform for this Jenkins setup:</p><ul><li>Keeps every change <strong>tracked in code</strong> (no guessing what changed).</li><li>Makes redeployment <strong>predictable and fast</strong> across environments.</li><li>Helps build <strong>DevOps discipline</strong> early — every resource is intentional.</li></ul><p>In short, it’s not just about standing up a Jenkins server — it’s about learning <strong>how to think like an automation engineer</strong>.</p><h3>Prerequisites</h3><p>Before starting, make sure you have the following installed and configured:</p><ul><li><strong>AWS Account</strong> (with proper IAM permissions for EC2, S3, and Security Groups)</li><li><strong>Terraform</strong> <a href="https://developer.hashicorp.com/terraform/install">(Download link)</a></li><li><strong>AWS CLI</strong> and configured with aws configure</li><li><strong>GitHub</strong></li><li><strong>VS Code</strong> Installed</li><li><strong>An SSH Key Pair</strong> for EC2 (create in AWS or locally with ssh-keygen)</li></ul><h3>Project Requirements</h3><p>Here’s what we set out to build:</p><ol><li>Deploy <strong>1 EC2 instance</strong> inside the <strong>default VPC</strong>.</li><li><strong>Configure</strong> the instance with a script that installs and starts Jenkins</li><li>Create a <strong>Security Group</strong> that:</li></ol><ul><li>allows SSH (port 22) only from <em>my IP</em></li><li>allows Jenkins (port 8080) publicly.</li></ul><p>4. Create an <strong>S3 bucket</strong> for Jenkins artifacts (with <strong>no public access</strong>).</p><p>5. Verify Jenkins is accessible on <strong>port 8080</strong>.</p><p>6. Push all Terraform code to GitHub</p><h3>Step 1: Set Up Your VS Code Project</h3><ol><li>Open VS Code</li><li>Create a new folder for the project: terraform-jenkins</li><li>Inside VS Code, create a new file: main.tf</li></ol><h3>Step 1: Plan in the AWS Console</h3><p>Before writing Terraform code, I walked through the AWS Console manually:</p><ul><li>Launch an EC2 instance</li><li>Attach a security group with port 22 and 8080 open.</li><li>SSH in and install Jenkins using the official docs (<a href="https://www.jenkins.io/doc/book/installing/linux/#debian-java">Jenkins Linux install guide).</a></li><li>Confirm Jenkins was running on http://&lt;your public-ip&gt;:8080.</li></ul><p>This dry run gave me the confidence to encode everything in Terraform.</p><h3>Step 2: Write the Terraform Code</h3><p>Since this was a <strong>foundational project</strong>, I kept everything in a single main.tf file (monolith).</p><p>Key resources created in Terraform:</p><ul><li><strong>EC2 instance</strong> (with Amazon Linux AMI).</li><li><strong>Security Group</strong> for SSH + Jenkins.</li><li><strong>User Data</strong> script to install Jenkins.</li><li><strong>S3 bucket</strong> for Jenkins artifacts.</li></ul><p>I followed the official <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs">Terraform AWS provider documentation</a> while building each block and placed each block in the main.tf in <strong>VS Code</strong></p><h3>User Data Script</h3><p>The user_data script runs when the instance launches and installs Jenkins automatically. It handles:</p><ul><li>Adding the Jenkins repository.</li><li>Installing Jenkins and dependencies.</li><li>Starting the Jenkins service.</li></ul><p>It should look like this</p><pre>#!/bin/bash<br># Update software packages<br>yum update -y<br><br># Install Java (required by Jenkins)<br>amazon-linux-extras enable java-openjdk11<br>yum install java-11-openjdk-devel -y<br><br># Add the Jenkins repository and import the key<br>wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo<br>rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key<br><br># Install Jenkins<br>yum install jenkins -y<br><br># Start Jenkins and make it start on boot<br>systemctl start jenkins<br>systemctl enable jenkins</pre><p>Refer to the <a href="https://www.jenkins.io/doc/book/installing/linux/#debian-java">Installing Jenkins User Handbook</a> for deeper understanding</p><h3>Security Group</h3><ul><li><strong>Port 22 (SSH):</strong> Open only to my public IP.</li><li><strong>Port 8080 (Jenkins):</strong> Open to all (0.0.0.0/0) for browser access.</li></ul><p>This keeps the server secure while still letting me test Jenkins externally.</p><h3>S3 Bucket</h3><p>A private <strong>S3 bucket</strong> stores Jenkins artifacts. Public access is fully blocked using the aws_s3_bucket_public_access_block resource.</p><h3>Step 3: Deploy with Terraform</h3><p>Initialize Terraform:</p><pre>terraform init</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XN3VZQG2D41Sk4qPJbjU2g.png" /></figure><p>Review the plan:</p><pre>terraform plan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i-IBVyrzfmTdNLX3L8WKPQ.png" /></figure><p>Apply the changes:</p><pre>terraform apply</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OCUTqXlUEBJs0dBFB3IvNA.png" /></figure><h3>Step 4: Verify Jenkins</h3><pre>http://&lt;public-ip&gt;:8080</pre><p>You should see the <strong>Jenkins Unlock page</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ucyMxMnJE7-cywo2aPtovA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ypq6v_GmX3dbB0vozVgVPQ.png" /></figure><p>From there, SSH into the server to grab the initial admin password:</p><pre>ssh -i my-key.pem ec2-user@&lt;public-ip&gt;<br>sudo cat /var/lib/jenkins/secrets/initialAdminPassword</pre><p>Enter this into the browser to complete Jenkins setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPx51pK7VxutzxHz_xe8kQ.png" /></figure><h3>Step 5: Push Your Project to GitHub</h3><p>All Terraform code is stored in a public GitHub repository for easy reuse and tracking</p><pre>git init<br>git add .<br>git commit -m &quot;Terraform Jenkins deployment&quot;</pre><p>Git Hub Repository <a href="https://github.com/Amanque195/TerraformP.git">Link</a></p><h3>Conclusion</h3><p>Using VS Code, we:</p><ul><li>Wrote Terraform code in main.tf to create EC2, Security Group, and S3 bucket.</li><li>Bootstrapped the EC2 instance to install Jenkins automatically.</li><li>Verified Jenkins was accessible via port 8080.</li><li>Version-controlled our infrastructure code using GitHub.</li></ul><p>This setup ensures that the team can deploy Jenkins in a reproducible and trackable way for DevOps pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3f3a0ca5e7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Made Simple: From Ubuntu Container to Webpage]]></title>
            <link>https://medium.com/@elizabethamanquah1/docker-made-simple-from-ubuntu-container-to-webpage-036524cd38ee?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/036524cd38ee</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Fri, 03 Oct 2025 18:15:37 GMT</pubDate>
            <atom:updated>2025-10-03T18:15:37.923Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BdhRMWB8zT_ypACuLOCE6g.png" /></figure><h3><strong>Docker Made Simple: From Ubuntu Container to Webpage</strong></h3><p>As part of my journey exploring containerization and practical DevOps projects, I recently tackled a common scenario in web development: deploying a web application in a consistent and portable way. The goal was to use <strong>Docker</strong> to create an Ubuntu-based container running a web server, add a custom webpage, and make it easy to share and run across different environments.</p><h3>The Challenge</h3><p>The main challenge was learning how to deploy a web application in a <strong>consistent, isolated environment</strong>. Traditional deployments can be unpredictable — different servers, missing dependencies, or conflicting software can all cause headaches. For this project, I needed a solution that would ensure the web app runs the same way <strong>everywhere</strong>, from my local machine to any cloud server.</p><h3>Why This Project Matters</h3><p>In real-world software development, <strong>inconsistencies and deployment issues</strong> can delay releases, frustrate teams, and increase costs. Docker solves these problems by <strong>packaging applications with all their dependencies</strong> in a single container, making deployments predictable, reproducible, and scalable. Learning Docker is essential for modern DevOps and web development.</p><h3>The Solution</h3><p>I used Docker to:</p><ul><li>Create a <strong>Ubuntu-based container</strong> as the deployment environment.</li><li>Install <strong>Apache2</strong> to serve a web page.</li><li>Add a <strong>custom webpage</strong> for Level Up Solutions.</li><li>Push the container image to <strong>Docker Hub</strong> for version control and collaboration.</li><li>Run the container on different ports to test <strong>scalability and portability</strong>.</li><li>This approach ensured the web application could run <strong>anywhere with minimal setup</strong>.</li></ul><h3>How It Works</h3><p>Before diving into the commands, let’s quickly go over what we’re doing in these steps. The goal is to create a <strong>basic web server</strong> inside a Docker container using Ubuntu.</p><p>In this process, I will:</p><ol><li><strong>Start an Ubuntu container</strong> — This gives you a clean, isolated environment to work in.</li><li><strong>Update packages</strong> — Ensure your container has the latest software and security updates.</li><li><strong>Install Apache2</strong> — Set up a web server to serve webpages.</li><li><strong>Add a custom webpage</strong> — Create a simple HTML page to test the server.</li><li><strong>Verify your web server</strong> — Make sure your webpage is accessible from a browser.</li></ol><p>These steps give you a solid foundation for containerizing web applications and demonstrate how Docker can simplify deployment, make environments reproducible, and isolate your web server from the host system.</p><h3>Step 1: Install Docker</h3><p>Make sure Docker Desktop is installed on your Mac:</p><ol><li>Go to Docker Desktop and download the Mac version.</li><li>Install and open Docker Desktop.</li><li>Verify installation in Terminal:</li></ol><pre>docker --version</pre><p>You should see something like</p><pre>Docker version 28.4.0, build d8eb465</pre><h3>Step 2: Pull the latest Ubuntu image</h3><p>This ensures you have the latest base image:</p><pre>docker pull ubuntu:latest</pre><h3>Step 3: Run a new Ubuntu container</h3><p>Run the container in detached mode (-d) and map port 80:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mCP8FxTgaCLVQU15nlAabQ.png" /></figure><p><strong>Notes:</strong></p><ul><li>-d → detached mode (container runs in the background).</li><li>-p 80:80 → maps your local port 80 to the container port 80.</li><li>--name webserverluit → gives the container a friendly name.</li><li>tail -f /dev/null → keeps the container running so you can exec into it later.</li></ul><p>Check that its running :</p><pre>docker ps</pre><p>You should see something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRw4N8oJf-CM8xTfqlAVBA.png" /></figure><h3>Step 4: Enter the container</h3><pre>docker exec -it webserverluit bash</pre><p>Now you are inside the container. You’ll see a prompt like root@xxxxxx:/#:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*1MmcoP5FUM1KS5vwtR-2ew.png" /></figure><h3>Step 5: Update the package lists and install Apache</h3><pre>apt-get update &amp;&amp; apt-get upgrade -y<br>apt-get install apache2 -y</pre><h3>Step 6: Start Apache and Check Status</h3><pre>service apache2 start<br>service apache2 status</pre><p>You should see it running</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*SRQ4z3LiPKdRCOCPhoLaxw.png" /></figure><h3>Step 7: Add a test webpage</h3><pre>echo &quot;&lt;h1&gt;Welcome to Level Up Solutions! Enjoy! &lt;/h1&gt;&quot; &gt; /var/www/html/index.html</pre><p>Restart Apache to apply changes:</p><pre>service apache2 restart</pre><h3>Step 8: Test in your browser</h3><pre>http://localhost</pre><p>When I tested it, the server couldnt be found. So now let’s check what when wrong in terminal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3Rs_3dvefgMJAULwkwU8g.png" /></figure><p>That error happens because of <strong>Bash history expansion</strong> — the exclamation mark ! is interpreted by Bash, not literally. That’s why ! in my message caused bash: !: event not found.</p><p>Instead of double quotes I switched to single quotes</p><pre>echo &#39;&lt;h1&gt;Welcome to Level Up Solutions! Enjoy!&lt;/h1&gt;&#39; &gt; /var/www/html/index.html</pre><p>I used the following prompts to see if it worked:</p><pre>cat /var/www/html/index.html</pre><p>Then restarted Apache to make sure the page is served:</p><pre>service apache2 restart</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*XUvfLW-D0HuZWl6jLZfoqA.png" /></figure><p>Another failed attempt. So we’ll back track to see if Apache2 is installed properly or if the command Im using is correct for the container</p><h3>Troubleshoot Step</h3><p>First, check if Apache is installed, updated</p><pre>apt update<br>apt install apache2 -y<br></pre><p>Then start it and check status</p><pre>service apache2 start<br>service apache2 status</pre><p>It’s Running !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*sh-QhON3Heq7p-j6XPR5WA.png" /></figure><h3>Apache issue</h3><ul><li>Initially, service apache2 restart failed.</li><li>After running apt update and apt install apache2 -y, I ran service apache2 start, and now its running</li></ul><h3>Bash ! issue</h3><ul><li>Every time I tried echo &quot;&lt;h1&gt;Welcome to Level Up Solutions! Enjoy!&lt;/h1&gt;&quot; &gt; I got:</li></ul><pre> bash: !: event not found</pre><p>This is because ! triggers <strong>history expansion</strong> in bash inside double quotes.</p><p>My Fixes: Use single quotes instead of double quotes</p><pre>echo &quot;&lt;h1&gt;Welcome to Level Up Solutions\! Enjoy!&lt;/h1&gt;&quot; &gt;</pre><p>Double Check By Running:</p><pre>cat /var/www/html/index.html</pre><p>This is what you should see on your end in your terminal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*KSYMzjxdunQX9Ac8IZrR1g.png" /></figure><h3>Step 8: Test in your browser</h3><p>Open your browser and go to:</p><pre>http://localhost</pre><p>It worked ! <em>Be sure to exit the container and go back to your terminal</em></p><p><em>Now time to put the HTML content into a DockerFile so that it works!</em></p><h3>Put HTML content into a DockerFile</h3><h4>Step 1: Create a folder</h4><pre>mkdir levelup-docker<br>cd levelup-docker</pre><p><em>This will be the folder where the Dockerfile lives</em></p><h4>Step 2: Create the Dockerfile</h4><pre>touch Dockerfile</pre><h4>Step 3: Edit the Dockerfile:</h4><p>A simple editor like nano:</p><pre>nano Dockerfile</pre><pre># Use Ubuntu as base image<br>FROM ubuntu:latest<br><br># Install Apache<br>RUN apt-get update &amp;&amp; apt-get install -y apache2<br><br># Add your HTML content<br>RUN echo &#39;&lt;h1&gt;Welcome to Level Up Solutions! Enjoy!&lt;/h1&gt;&#39; &gt; /var/www/html/index.html<br><br># Expose port 80<br>EXPOSE 80<br><br># Start Apache in the foreground<br>CMD [&quot;apache2ctl&quot;, &quot;-D&quot;, &quot;FOREGROUND&quot;]</pre><ul><li>The RUN echo ... &gt; /var/www/html/index.html line is where the HTML content goes.</li><li>Make sure you <strong>use single quotes </strong><strong>&#39; &#39;</strong> around the HTML to avoid bash interpreting ! or other symbols.</li><li>Then Enter to save, CTRL X. to exit nano</li></ul><h4>Step 4 : Build the Docker image</h4><p>In terminal</p><pre>docker build -t ubuntu-apache .</pre><p>This creates an image called ubuntu-apache with Apache and the HTML file.</p><h4><strong>Step 5: Run the Container</strong></h4><pre>docker run -d -p 8080:80 --name levelup-container ubuntu-apache</pre><h4>Step 6: Check in Browser</h4><p>Open Safari (or any browser) and go to:</p><pre>http://localhost:8080</pre><p>You should see the welcome message in localhost:8080</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bnic8IfPzelRPtgXc3SfDQ.png" /></figure><p>This is what the container looks like on the Docker Desktop — It’s up and running !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1MasBpMQHZ3ZSWCMn-gBog.png" /></figure><h4>Step 7: Stopping and Removing the Container</h4><p>To stop your container and remove it</p><pre>docker stop levelup-container<br>docker rm levelup-container</pre><p>To remove the image:</p><pre>docker rmi ubuntu-apache</pre><h3>Conclusion</h3><p>By adopting Docker, Level Up Solutions ensures <strong>consistency, scalability, and collaboration</strong> in their web application deployments. Containers simplify infrastructure management, streamline development workflows, and provide a reproducible environment for teams, allowing the company to deploy software faster and more reliably.</p><p>Docker isn’t just a tool — it’s a framework for efficient and scalable software development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=036524cd38ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Project: Organizing and Tracking Files Like a Pro]]></title>
            <link>https://medium.com/@elizabethamanquah1/python-project-organizing-and-tracking-files-like-a-pro-8fbaf0d53e9f?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fbaf0d53e9f</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Wed, 01 Oct 2025 20:27:39 GMT</pubDate>
            <atom:updated>2025-10-01T20:27:39.232Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2CTggLRi7AWjwFbjVuVCuA.png" /></figure><h3>Exploring File Information with Python: A Beginner-Friendly Script</h3><p>As part of my journey learning Python and building practical projects, I recently tackled a scenario many companies face: <strong>tracking and analyzing files on multiple machines</strong>. The goal was to create a script that extracts useful information about files in a directory — like their name, size, type, and last modified date — and organizes it in a structured way.</p><h3>The Challenge</h3><p>Many organizations need to audit files for compliance, storage management, or security purposes. Doing this manually is tedious and error-prone, so automating it with Python is both practical and educational.</p><h3>Why This Project Matters</h3><p>Manual file management can be tedious and error-prone. Automating it with Python makes processes faster, more accurate, and scalable. This project is useful for:</p><ul><li>Auditing files for compliance</li><li>Managing storage efficiently</li><li>Preparing reports or tracking changes</li></ul><p>It was also a fun way to practice Python beyond basic exercises</p><h3>The Solution</h3><p>I built a Python script that generates a <strong>list of dictionaries</strong>, where each dictionary contains information about a file in the current working directory. Each file’s dictionary includes:</p><ul><li>File name</li><li>File size in bytes</li><li>File size in a human-readable format (KB, MB, etc.)</li><li>File type/extension</li><li>Last modified date</li></ul><p>Here’s a snippet of the output:</p><pre>{<br>  &#39;name&#39;: &#39;example.txt&#39;,<br>  &#39;size_bytes&#39;: 2048,<br>  &#39;size_readable&#39;: &#39;2.00 KB&#39;,<br>  &#39;type&#39;: &#39;.txt&#39;,<br>  &#39;last_modified&#39;: &#39;2025-10-01 09:15:32&#39;<br>}</pre><h3>How It Works</h3><ol><li><strong>Listing Files:</strong> The script uses os.listdir() to scan the current directory.</li><li><strong>Filtering Files:</strong> It skips folders using os.path.isfile().</li><li><strong>Gathering Info:</strong> For each file, it collects size, extension, and last modified date.</li><li><strong>Formatting Sizes:</strong> A helper function converts bytes into KB, MB, or GB for readability.</li><li><strong>Structuring Data:</strong> Each file’s details are stored as a dictionary and added to a list.</li></ol><h3>How to Get it Python Script on GitHub</h3><h4>Step 1: Create a New Repository on GitHub</h4><ol><li>Go to <a href="https://github.com/">GitHub</a> and log in.</li><li>Click the <strong>+</strong> icon in the top right → <strong>New repository</strong>.</li><li>Give it a <strong>name</strong> (e.g., file-info-extractor).</li><li>Add a <strong>description</strong> (optional).</li><li>Decide if it’s <strong>public</strong> or <strong>private</strong>.</li><li><strong>Do NOT</strong> initialize with a README (it’ll be done locally)</li><li>Click <strong>Create repository</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zYJvsILnzeNP3Ir4mORa9Q.png" /></figure><h4>Step 2: Prepare Your Script Locally</h4><ol><li>Open your terminal (or command prompt).</li><li>Navigate to the folder where your Python script is saved <em>(I saved mine using VS Code)</em></li><li>Make sure your script is saved, for example: file_info_extractor.py</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C3ZnCjo5q9aG0Q_6sbnPpQ.png" /></figure><p>You can also run your terminal on VS Code or you can run it directly from your PC (I did it from my mac)</p><h4>Step 3: Initialize Git</h4><p>In your script folder, run:</p><pre>git init</pre><h4>Step 4: Add Your Script to Git</h4><pre>git add file_info_extractor.py</pre><h4>Step 5: Commit Your Changes</h4><pre>git commit -m &quot;Initial commit: Add file information extractor script&quot;</pre><h4>Step 6: Link to Your GitHub Repository</h4><p>Copy the repository URL from GitHub. It looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PNC9v0601qtKA9IVd4dEDQ.png" /></figure><p>In terminal, run:</p><pre>git remote add origin https://github.com/your-username/file-info-extractor.git</pre><p>Step 7: Push Your Code</p><pre>git branch -M main<br>git push -u origin main</pre><ul><li>branch -M main ensures your default branch is main</li><li>push -u origin main uploads your code to GitHub</li></ul><h3>Step 8: Verify</h3><ol><li>Go back to your GitHub repository page.</li><li>You should see file_info_extractor.py there!</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lk8XErPx7SusifGY0YUddg.png" /></figure><h3>What I Learned</h3><ul><li>Python makes automating mundane tasks super easy</li><li>Working with files programmatically opens doors to larger projects like data analysis or system monitoring.</li><li>Even small projects can be shared and improved through GitHub</li></ul><h3>GitHub</h3><p>I pushed the full script to GitHub for anyone interested in exploring or improving it. Check it out <a href="https://github.com/Amanque195/file-info-extractor.git"><strong>HERE!</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fbaf0d53e9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From GitHub to CloudWatch: Automating File Checks and Logs]]></title>
            <link>https://medium.com/@elizabethamanquah1/from-github-to-cloudwatch-automating-file-checks-and-logs-9c5241927914?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c5241927914</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 12:14:06 GMT</pubDate>
            <atom:updated>2025-08-24T12:14:06.505Z</atom:updated>
            <content:encoded><![CDATA[<h4>A step-by-step guide to building a CI/CD pipeline that validates essential files and logs every workflow run for beta and production</h4><h3>Overview</h3><p>Our team at LUIT was tasked with building a CI/CD pipeline to enforce structural standards and automate deployments. Currently, developers manually test and push changes — a process that’s both slow and error-prone.</p><p>The goal of this project is to simulate LevelUp Bank’s internal policy enforcement and auditing setup. The platform engineering team requires every service repository to include baseline documentation and structure files, and they want this enforced automatically through CI checks. Leadership has also requested audit visibility into which GitHub Actions workflows pass validation, with logs sent to CloudWatch under environment-specific log groups. In this guide, we will set up a GitHub → AWS CI/CD pipeline that automatically checks for required files and logs the results to CloudWatch.</p><p><strong>Objectives:</strong></p><ul><li>Automate validation of required files (e.g., README.md, .gitignore) to enforce baseline standards.</li><li>Fail pull requests that don’t meet these standards.</li><li>Automatically build and deploy the site, providing a live static URL for testing.</li><li>Push metadata about successful runs to CloudWatch (beta vs. prod), using GitHub Actions secrets for environment-specific logging.</li></ul><p>This shift streamlines the workflow, reduces manual steps, enforces consistency across repositories, and ensures faster, more reliable releases with centralized audit visibility.</p><h3>What is AWS CodePipeline?</h3><p><strong>AWS CodePipeline</strong> is a fully managed continuous integration and continuous delivery (CI/CD) service that helps you automate and accelerate your release process for both applications and infrastructure updates. It allows you to model your entire software delivery workflow — from source to production — using a visual interface.</p><p>A pipeline in CodePipeline defines the steps your code goes through before it’s released. It’s organized into stages such as <strong>build</strong>, <strong>test</strong>, and <strong>deploy</strong>, each containing a series of actions like compiling code, running tests, or deploying to environments. With its intuitive dashboard, CodePipeline makes it easy to configure, manage, and monitor your CI/CD process, ensuring fast, reliable, and repeatable releases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qUlDmIrb91dpiVEjy9OYrA.png" /></figure><p><strong>Prerequisites</strong><br>1. Create a GitHub account (if you don’t have one) and set up a new repository for your project.</p><p><strong>2. An AWS account</strong> (free tier)</p><p><strong>3. Basic installed tools</strong> (optional for local testing):</p><ul><li>Python 3 installed on your computer</li><li>Git installed</li></ul><h3>Set up AWS for logging</h3><ol><li><strong>Log into AWS Console</strong> → Go to <strong>IAM</strong> (Identity &amp; Access Management).</li><li>Create a new <strong>IAM user</strong> (ex: Github-ci-user ).</li><li>Give it <strong>Programmatic access</strong> (so it has an Access Key ID + Secret).</li><li>Attach a policy with permissions for CloudWatch Logs.</li></ol><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Action&quot;: [<br>        &quot;logs:CreateLogGroup&quot;,<br>        &quot;logs:CreateLogStream&quot;,<br>        &quot;logs:PutLogEvents&quot;,<br>        &quot;logs:DescribeLogStreams&quot;<br>      ],<br>      &quot;Resource&quot;: &quot;arn:aws:logs:*:*:log-group:/github-actions/required-files-checker*&quot;<br>    }<br>  ]<br>}</pre><p>5. Note the <strong>AWS_ACCESS_KEY_ID</strong> and <strong>AWS_SECRET_ACCESS_KEY</strong> for GitHub Secrets.</p><p>6. Confirm your <strong>AWS_REGION</strong> (e.g., us-east-1).</p><h3>Create CloudWatch Log Groups</h3><ol><li>Go to <strong>CloudWatch → Logs → Log groups</strong>.</li><li>Create two groups:</li></ol><p>/github-actions/required-files-checker/beta</p><p>/github-actions/required-files-checker/prod</p><p>3. Keep the Access Key ID and Secret Key safe — we’ll use them in GitHub.</p><h3>Set Up Your GitHub Repository</h3><ol><li>Create a repo on GitHub.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H8qzmD_RRHpQOnnolEVo3w.png" /></figure><p>2. Add two files at the root of your repo:</p><p>README.md (can be empty)</p><p>.gitignore (can be empty)</p><p><em>These are the files your pipeline will check for.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hurEnJgz8-wstyvVDepJXQ.png" /></figure><h3>Add the Python File Checker</h3><p>In your repo root, create a file called check_required_files.py</p><pre>#!/usr/bin/env python3<br>import os, sys</pre><pre>REQUIRED_FILES = [&quot;README.md&quot;, &quot;.gitignore&quot;]</pre><pre>missing = [f for f in REQUIRED_FILES if not os.path.exists(f)]</pre><pre>if missing:<br>    print(&quot;Missing required files:&quot;, &quot;, &quot;.join(missing))<br>    sys.exit(1)</pre><pre>sys.exit(0)</pre><p>What this does:</p><ul><li>Checks if README.md and .gitignore exist.</li><li>If any are missing, it prints their names and <strong>fails</strong>.</li><li>If all exist, it does nothing (success).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ahVxQdMZQC8gHc_76hqsWg.png" /></figure><h3>Set Up Your GitHub Repository</h3><ol><li>Create a repo on GitHub.</li><li>Navigate to <strong>Settings → Secrets and variables → Actions</strong>.</li><li>Add the following secrets:</li></ol><p>AWS_ACCESS_KEY_IDYour AWS Access Key</p><p>AWS_SECRET_ACCESS_KEYYour AWS Secret Key</p><p>AWS_REGIONe.g., us-east-1</p><p>LOG_GROUP_NAME/github-actions/required-files-checker/beta or /prod</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MFoFBKNrh6QdddyxUiJamA.png" /></figure><h3>Create GitHub Actions Workflows</h3><p>Create a folder in your repo: .github/workflows/</p><h3>A) Pull Request Workflow (Beta)</h3><p>File: .github/workflows/on_pull_request.yml</p><pre>name: Required Files Check (PR Beta)</pre><pre>on:<br>  pull_request:<br>    branches: [&quot;main&quot;]</pre><pre>jobs:<br>  check:<br>    runs-on: ubuntu-latest</pre><pre>    steps:<br>      - uses: actions/checkout@v4</pre><pre>      - name: Run Python file checker<br>        run: python3 check_required_files.py</pre><pre>      - name: Configure AWS credentials<br>        uses: aws-actions/configure-aws-credentials@v2<br>        with:<br>          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}<br>          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}<br>          aws-region: ${{ secrets.AWS_REGION }}</pre><pre>      - name: Log to CloudWatch (beta)<br>        env:<br>          LOG_GROUP_NAME: ${{ secrets.LOG_GROUP_NAME }}<br>          WORKFLOW_NAME: ${{ github.workflow }}<br>          COMMIT_SHA: ${{ github.sha }}<br>          GITHUB_ACTOR: ${{ github.actor }}<br>        run: |<br>          ts_iso=$(date -u +&quot;%Y-%m-%dT%H:%M:%SZ&quot;)<br>          ts_ms=$(date +%s%3N)</pre><pre>          aws logs create-log-group --log-group-name &quot;$LOG_GROUP_NAME&quot; || true<br>          aws logs create-log-stream --log-group-name &quot;$LOG_GROUP_NAME&quot; --log-stream-name &quot;$ts_iso&quot; || true</pre><pre>          msg=&quot;{\&quot;workflow\&quot;:\&quot;$WORKFLOW_NAME\&quot;,\&quot;commit_sha\&quot;:\&quot;$COMMIT_SHA\&quot;,\&quot;actor\&quot;:\&quot;$GITHUB_ACTOR\&quot;,\&quot;timestamp\&quot;:\&quot;$ts_iso\&quot;}&quot;</pre><pre>          aws logs put-log-events \<br>            --log-group-name &quot;$LOG_GROUP_NAME&quot; \<br>            --log-stream-name &quot;$ts_iso&quot; \<br>            --log-events &quot;[{\&quot;timestamp\&quot;:$ts_ms,\&quot;message\&quot;:\&quot;$msg\&quot;}]&quot;</pre><h3>B) Merge Workflow (Prod)</h3><p>File: .github/workflows/on_merge.yml</p><ul><li>Same as above but:</li><li>Triggered on push to main.</li><li>LOG_GROUP_NAME set to /github-actions/required-files-checker/prod</li></ul><h3>Run &amp; Test Workflows</h3><ol><li><strong>Open a Pull Request</strong> → on_pull_request.yml triggers.</li><li><strong>Merge to main</strong> → on_merge.yml triggers.</li><li>Check <strong>Actions tab</strong> → workflow should succeed or fail depending on required files.</li><li>Verify <strong>CloudWatch Logs</strong>:</li></ol><ul><li>Beta: /github-actions/required-files-checker/beta</li><li>Prod: /github-actions/required-files-checker/prod</li></ul><h3>README.md Documentation</h3><pre># Required Files CI/CD</pre><pre>## GitHub Secrets<br>- AWS_ACCESS_KEY_ID<br>- AWS_SECRET_ACCESS_KEY<br>- AWS_REGION<br>- LOG_GROUP_NAME</pre><pre>## Run Check Manually<br>```bash<br>python check_required_files.py</pre><h3>Verify Logs in AWS</h3><ol><li>Navigate to <strong>CloudWatch → Log groups</strong>.</li><li>Open:</li></ol><ul><li>/github-actions/required-files-checker/beta (PRs)</li><li>/github-actions/required-files-checker/prod (merges)</li></ul><p>3. Click the log stream (ISO timestamp).</p><p>4. You’ll see a JSON like:</p><pre>{<br>  &quot;workflow&quot;: &quot;Required Files Check (PR Beta)&quot;,<br>  &quot;commit_sha&quot;: &quot;abc123...&quot;,<br>  &quot;actor&quot;: &quot;your-username&quot;,<br>  &quot;timestamp&quot;: &quot;2025-08-22T22:10:00Z&quot;<br>}</pre><h3>Behavior on Missing Files</h3><ul><li>If any required files are missing, the workflow will fail and print which files are absent.</li><li>The CloudWatch logging step will be skipped since the check didn’t pass.</li></ul><h3>⚠️ Potential Errors &amp; Troubleshooting</h3><ul><li><strong>aws: command not found</strong> → Install the AWS CLI in the workflow:</li></ul><pre>- run: sudo apt-get install -y awscli</pre><ul><li><strong>Missing GitHub secrets</strong> → Ensure AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, and LOG_GROUP_NAMEare set correctly.</li><li><strong>Incorrect IAM permissions</strong> → Verify the IAM user has permissions to create log streams and put log events in CloudWatch.</li><li><strong>Workflow YAML syntax errors</strong> → Double-check indentation and formatting in your workflow files.</li><li><strong>CloudWatch log group or stream creation failures</strong> → Confirm the log group exists or that your IAM user can create it.</li></ul><p><strong>Summary:</strong><br>We’ve built a GitHub → AWS CI/CD pipeline that automatically checks for required files and logs activity to CloudWatch. It runs on pull requests (beta) and merges to main (prod), providing automated file validation and centralized logging for easy monitoring.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c5241927914" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure Management with Linux: A Hands-On Guide]]></title>
            <link>https://medium.com/@elizabethamanquah1/infrastructure-management-with-linux-a-hands-on-guide-2591b64cf766?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/2591b64cf766</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 03:16:46 GMT</pubDate>
            <atom:updated>2025-08-02T03:16:46.038Z</atom:updated>
            <content:encoded><![CDATA[<p>A Practical Guide to Secure and Efficient Infrastructure Management with Linux</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rlUqKmuonIQMTl7zoO0TDA.png" /></figure><p><strong>Overview</strong><br>Managing infrastructure gets complicated fast — especially when multiple departments need access to different sets of data, and security is non-negotiable. In this article, I’ll show how Linux can help an organization like Level Up Bank meet that challenge.</p><p>With the right setup, Linux allows you to give each user just the access they need — no more, no less. It’s a flexible, powerful way to keep systems organized, protect sensitive info, and support teams in doing their day-to-day work without friction.</p><h3>Prerequisites</h3><ul><li>An AWS EC2 instance running <strong>Ubuntu 22.04</strong></li><li>AMI ID: ubuntu-jammy-22.04-amd64-server-20240301</li><li>SSH access to the instance</li></ul><h3>Creating Directories</h3><p>Level Up Bank needs to create three directories: Development, Operations, and Analytics<br>As the root user, navigate to the /home directory and run the following command:</p><pre>sudo mkdir Development Operations Analytics</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6hIc1NOtLWNBX7Pe4AxBuw.png" /><figcaption>Directory Setup</figcaption></figure><p>If you are getting a message that says that you cannot create directory, it usually means you’re <strong>not operating as the root user</strong> or don’t have the required permissions. If that happens, use the following commands:</p><pre>sudo mkdir /home/Development /home/Operations /home/Analytics</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CAn7j_Dm36vJh5_Dt-dxw.png" /></figure><p>We can confirm the directories were created successfully by running the ls command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ai73cOUuyfd5Uc2FBTQipw.png" /><figcaption>Directories are listed</figcaption></figure><h3>Adding Files</h3><p>Now we’ll create blank files within each of the directories we set up earlier.<br>To begin, navigate to the target directory before adding files.<br>Start by moving into the <strong>Analytics</strong> directory with the following command:</p><pre>cd Analytics/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aB9hL_21DoVbfbfP3qO0Fw.png" /></figure><p>Once inside the <strong>Analytics</strong> directory, create the blank files by running the following command:</p><pre>sudo touch report1.txt report2.txt report3.txt<br><br>ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewOYKDwSRafsPkzuCxRX0A.png" /><figcaption>Blank files listed here</figcaption></figure><p>Once we’ve created our blank files in the Analytics directory, we can navigate to the other directories by entering the following command:</p><pre>cd ..</pre><p>Repeat the steps above to navigate to the <strong>Operations</strong> and <strong>Development</strong> directories and create blank files in each.</p><h3>Creating Groups</h3><p>Next, we’ll create three user groups: <strong>Developers</strong>, <strong>Operations</strong>, and <strong>Data Analysts</strong>.<br>Use the following command to create each group:</p><pre>sudo groupadd developers<br>sudo groupadd operations<br>sudo groupadd data_analysts</pre><blockquote><strong>Tip:</strong><br>When creating the <strong>Data Analysts</strong> group, use an underscore (_) instead of a space, as Linux does not allow spaces in group names.</blockquote><h3>Verifying Group Creation</h3><p>To confirm that the groups were successfully created, navigate to the /etc directory by running the following command:</p><pre>cd /etc<br>ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thO9ltn_eM36CYXTUDBjSw.png" /></figure><p>Use the following command to check if all the groups have been created successfully:</p><pre>cat group | tail</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_RNP4u8na8g6Q-Xw1ru9g.png" /><figcaption>The 3 directories are displayed</figcaption></figure><h3>Editing Permissions</h3><h4>Changing Directory Ownership</h4><p>After creating the groups, we need to ensure that each group has exclusive access to its corresponding directory.<br>We can use the chown command (which changes file owner and group) to set the appropriate ownership.</p><pre>sudo mkdir -p /projects/development<br>sudo mkdir -p /projects/operations<br>sudo mkdir -p /projects/data_analytics</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6yNivAXFXhQ6oCiEAoTqg.png" /></figure><p>As shown, the <strong>root</strong> user is currently set as the group owner of all three directories. However, we want each directory to be owned by its corresponding group:</p><ul><li>Analytics → owned by <strong>data_analysts</strong></li><li>Development → owned by <strong>developers</strong></li><li>Operations → owned by <strong>operations</strong></li></ul><p>To change the group ownership of each directory, use the following command:</p><pre>sudo chown :developers /projects/development<br>sudo chown :operations /projects/operations<br>sudo chown :data_analysts /projects/data_analytics</pre><p>The -R flag ensures that when the group ownership of a directory is changed, all files and subdirectories within it are included for access and viewing by the group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fuzD8ZJheWLScU22bfoqUg.png" /><figcaption>The <strong>root</strong> user is no longer the group owner of the three directories we created earlier.</figcaption></figure><h3>Changing Read, Write, and Execute Permissions</h3><h4>Understanding Permissions</h4><p>In Linux, permissions are divided into three categories and apply to three types of users:</p><ol><li><strong>Owner</strong> — the user who created the file or directory</li><li><strong>Group</strong> — users who belong to the file or directory’s assigned group</li><li><strong>Others (World)</strong> — all other users who are not the owner or part of the group</li></ol><p>Each user type can be granted different levels of access: <strong>read (r)</strong>, <strong>write (w)</strong>, and <strong>execute (x)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nucb_9fgTrsK-q6LL_-prA.png" /><figcaption>Directory Permission</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*qIWddH0dWiGWDiK_Q3Ha0w.png" /></figure><ul><li><strong>r</strong> — Read permission (allows viewing the contents of a file or listing a directory)</li><li><strong>w</strong> — Write permission (allows modifying a file or adding/removing files in a directory)</li><li><strong>x</strong> — Execute permission (allows running a file as a program or accessing a directory)</li></ul><h3>Octal Notation</h3><p>In Linux, file permissions can also be represented using <strong>octal notation</strong>, where each type of permission is assigned a numerical value:</p><ul><li><strong>Read (r)</strong> = 4</li><li><strong>Write (w)</strong> = 2</li><li><strong>Execute (x)</strong> = 1</li></ul><p>By adding these values together, you can define permission levels for the owner, group, and others.</p><blockquote><em>Next we want to set the directory permissions so that only the group owner has full read, write, and execute access.</em></blockquote><blockquote><em>In octal notation, read (4) + write (2) + execute (1) equals </em><strong><em>7</em></strong><em>, which grants full permissions. A value of </em><strong><em>0</em></strong><em> removes all permissions, preventing any access.</em></blockquote><p>Use the chmod (change mode) command to apply these permission changes by running:</p><pre>sudo chmod 770 /projects/development<br>sudo chmod 770 /projects/operations<br>sudo chmod 770 /projects/data_analytics</pre><p>This restricts access so <strong>only users in the assigned group can enter and read/write inside</strong> the directory.</p><h3>Creating Users</h3><p>Next, we’ll create three users to join the Level Up Bank team using the adduser command:</p><pre>sudo adduser bdorsey<br>sudo adduser jwaller<br>sudo adduser jewart</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s2-rQRJI-T5BFlreRDjRWg.png" /><figcaption>Repeat the process for the last two users</figcaption></figure><p>The adduser command prompts you to enter additional user information during creation, while useradd does not provide these interactive fields.</p><p>You can use the ls /home command to verify that the new user directories have been created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*71iyd6c7gXnZVEX2Af5tug.png" /></figure><h3>Adding Users to Groups</h3><p>To add users to supplementary groups in Linux, use the usermod command with the -a (append) option along with -G(group). This ensures the user is added to the specified group without removing them from existing groups.</p><p>Run the following command to add a user to their respective group, and repeat it for the other users:</p><pre>sudo usermod -a -G developers bdorsey<br>sudo usermod -a -G operations jwaller<br>sudo usermod -a -G data_analysts jewart</pre><p>By running the id command followed by the username, we can verify whether the user belongs to the <strong>Developers</strong> group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hG88de-oxpC6E4Aph30BCw.png" /></figure><h3>Changing Ownership</h3><p>Next, we’ll make sure each user can only access the directory associated with their group, allowing them to view and open files there. We’ll use the chown command to set the appropriate ownership:</p><pre>sudo chown jwaller:Developers Development</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiL59HCtSpAJAvrXRAS19g.png" /><figcaption>Each user has access to only their group’s corresponding directory.</figcaption></figure><h3>Switching Users</h3><p>To verify that each user can only access the directory associated with their group, we’ll switch users and test file visibility and access. Use the su - command followed by the username to switch to a different user:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IbUsiBg4iRe0_r4xXWlYng.png" /></figure><p>Let’s navigate to <strong>jwaller’s</strong> home directory, then cd into the <strong>Development</strong> directory to check if the user has access to view and open the files.</p><pre>cd /home/Development<br>ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WUF9ddfippddTOmgxsj1bw.png" /></figure><p>Let’s attempt to open a file using the nano command:</p><pre>nano Apps.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sz1UfS1knLdEyk2R_CV3dQ.png" /></figure><blockquote><em>We can verify that we can read the </em><strong><em>Apps.txt</em></strong><em> file by typing the </em><strong><em>cat</em></strong><em> command.</em></blockquote><pre>cat /home/Development/Apps.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1HMipBFYI5zTW3XGXqGyzg.png" /></figure><blockquote><em>To ensure that the other users have exclusive access to their respective directories and can view and open files, we will repeat the same process as above for each user.</em></blockquote><pre>sudo usermod -a -G developers jwaller<br>sudo usermod -a -G operations bdorsey<br>sudo usermod -a -G data_analysts jewart</pre><p>Change the group ownership of each directory (also as <strong>sudo</strong>):</p><pre>sudo chown -R :developers /home/Development<br>sudo chown -R :operations /home/Operations<br>sudo chown -R :data_analysts /home/Analytics</pre><p>Set the directory permissions so the owner and group have full access, but others have none:</p><pre>sudo chmod -R 760 Operations<br>sudo chmod -R 760 Analytics</pre><h3>Directory and File Access Verification</h3><p>We will confirm that each user can only view their assigned directories and has permission to access the files within them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sNWCz90VdQ122rHjbReGkQ.png" /><figcaption>jwaller can access the Development directory and list the cotents</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zQZlPJCQF6LqdBCDgS5sYw.png" /><figcaption>bdorsey can access the Operations Directory</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vTCkXvnJIic4plCMaNuWHA.png" /><figcaption>jweart can access the Analytics Directory</figcaption></figure><h3>Access Denied to Other Users’ Directories</h3><p>Finally, we will verify that users cannot access directories belonging to other users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8TFR3A8DGRFjyFlaYvycEA.png" /><figcaption>bdorsey cant access any other directory</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpyfKms-IDmN5todX-O9mg.png" /><figcaption>jewart cant access any other directory</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLfH3HzHQCAXb9po12FxOA.png" /><figcaption>jwaller cant access any other directory</figcaption></figure><p><strong>Summary</strong><br>In this article, we explored how Linux empowers administrators to manage users and groups efficiently. By leveraging permissions, we can control user access precisely, ensuring proper separation of duties and enhancing security within an organization. Mastering these fundamentals is key to maintaining a secure and organized system environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2591b64cf766" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DynamoDB and EC2: A Beginner Movie Database]]></title>
            <link>https://medium.com/@elizabethamanquah1/dynamodb-and-ec2-a-beginner-movie-database-c28143081594?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/c28143081594</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 20:37:45 GMT</pubDate>
            <atom:updated>2025-07-30T20:37:45.996Z</atom:updated>
            <content:encoded><![CDATA[<p>How-To Guide to Creating a DynamoDB Database on AWS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J4w5Xd4YBXt-kBOrTq9coQ.png" /></figure><p><strong>Overview</strong><br>Let’s Go! Media Inc. is a global media production and distribution company that creates and delivers movies, TV shows, and other entertainment content to audiences around the world.</p><p><strong>Challenge</strong><br>As part of their daily operations, the company needs an efficient way to manage and track important details about their media content — such as metadata, ratings, release dates, and genres. Their previous system was becoming difficult to maintain, especially as the volume of content grew. To keep up with this growth and ensure data security, the engineering team began looking for a more scalable and reliable solution.</p><p><strong>Solution</strong><br>To streamline the management of its media content, Let’s Go! Media Inc. has chosen AWS DynamoDB as the solution to store and organize its data. The DynamoDB table will hold details about 10 of the company’s latest movie releases, including key information such as the movie title, genre, release date, and rating making it easier to organize, access, and analyze their content.</p><p><strong>Behind the Build</strong></p><ul><li><strong>DynamoDB</strong>: Functions as the main database to store and manage media content.</li><li><strong>EC2</strong>: A virtual server that hosts and runs the necessary scripts to connect and communicate with DynamoDB.</li><li><strong>AWS CLI</strong>: A command-line tool used to send instructions to AWS services like DynamoDB from the EC2 instance.</li></ul><p><strong>What is AWS DynamoDB?</strong></p><p>AWS DynamoDB is a fully managed, serverless NoSQL database designed for high performance at any scale. It’s fast, reliable, and requires no manual infrastructure management. Click <a href="https://aws.amazon.com/dynamodb/">HERE</a> to explore the official AWS documentation for a deeper dive.</p><h3>Creating the DynamoDB Table</h3><p>The first step is to create a DynamoDB table that will hold your data. Follow these steps below:</p><h3>Steps to Create the DynamoDB Table</h3><ol><li><strong>Go to the DynamoDB Dashboard</strong><br>Navigate to the AWS Management Console and open the <strong>DynamoDB</strong> service. Click on <strong>“Create table.”</strong></li><li><strong>Name Your Table</strong><br>Enter a descriptive name for your table. For this example, we’ll use <strong>Movie-MediaDB</strong></li><li><strong>Set the Partition Key</strong><br>Choose a <strong>Partition Key</strong> that helps distribute your data evenly. We’ll use <strong>movie_DB</strong> as the Partition Key.</li><li>Keep the defaults and Click on <strong>“Create a table”</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_iUKQuwwenxmP1Ffafl65g.png" /><figcaption>Image of configuration in the console</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lg0i8E4vZuW64wmVtOaEWQ.png" /><figcaption>Image of Table Creation</figcaption></figure><h3>Adding Items to Your Table</h3><p>Now that the table has been successfully created, the next step is to populate it with data. We’ll go through how to manually add items to your table using the AWS console.</p><h4>Steps to Add Items</h4><ol><li>Select your newly created table from the <strong>DynamoDB dashboard</strong>.</li><li>Click on <strong>Explore table items</strong> in the left-hand menu.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sx7IaShLguaRYZeX1J5ugw.png" /></figure><p>3. Scroll down and choose <strong>Create item</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pje6ClRRhbeTzRbKF8gA_g.png" /></figure><p>4. In the item editor, you’ll start by assigning a value to your <strong>Partition Key</strong> (movie-DB). This will serve as the unique identifier for each movie. For example, let’s use The <strong>Fantastic Four: First Steps </strong>as our first movie title.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZdGB3y-BbkSZGwIrldTseg.png" /><figcaption>Image of configuration in the console</figcaption></figure><p>5. To add additional details such as <strong>genre</strong>, <strong>release date</strong>, and <strong>rating</strong>:</p><ul><li>Click <strong>Add new attribute</strong>.</li><li>Select <strong>String</strong> from the dropdown menu.</li><li>Enter the attribute name (e.g., genre)</li><li>Give a value for the attribute (e.g. Superhero/Sci-Fi)</li><li>Repeat this step for each additional attribute</li></ul><p>6. Once all attributes are added, click <strong>Create item</strong>.</p><p>7. Repeat the process for the remaining nine movies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mIRsB2vHK5WNCHW86fNEZA.png" /><figcaption>DynamoDB with all items in the table</figcaption></figure><h3>Creating a t2.micro EC2 Instance</h3><p>Next, we’ll launch a <strong>t2.micro EC2 instance</strong> that will be used to read data from our DynamoDB table.</p><h4>Steps to Launch the Instance</h4><ol><li><strong>Navigate to the EC2 Dashboard</strong><br>Open the <strong>EC2</strong> service from the AWS Console. Make sure you’re in the <strong>same region</strong> as your DynamoDB table.</li><li><strong>Click “Launch Instance”</strong> and configure the following settings:</li></ol><ul><li><strong>Name:</strong> Give your instance a recognizable name (e.g., DynamoDB).</li><li><strong>AMI:</strong> Select <strong>Amazon Linux</strong></li><li><strong>Instance Type:</strong> Choose <strong>t2.micro</strong></li><li><strong>Key Pair:</strong> Select <strong>“Proceed without a key pair”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6pMrrOtLaTPUMR3mwIQog.png" /></figure><ul><li><strong>Network Settings:</strong></li><li>Keep the <strong>default VPC</strong>.</li><li>Leave <strong>“Create security group”</strong> selected.</li><li>Ensure <strong>SSH (port 22)</strong> is allowed <strong>from Anywhere (0.0.0.0/0)</strong>.</li><li>Review your settings, then click <strong>“Launch instance”</strong> to create your EC2.</li></ul><h3>IAM Role Creation</h3><p>To follow the <strong>principle of least privilege</strong>, we’ll create an IAM role that grants our EC2 instance <strong>read-only access</strong> to the DynamoDB table.</p><h4>Steps to Create the IAM Role</h4><ol><li><strong>Open the IAM Dashboard</strong><br>In the AWS Console, navigate to the <strong>IAM</strong> service</li><li><strong>Go to Roles</strong><br>From the left-hand menu, click <strong>Roles</strong>, then select <strong>Create role</strong></li><li>Under <strong>Trusted entity type</strong>, select <strong>AWS service</strong></li><li>Under <strong>Use case</strong>, choose <strong>EC2</strong>, then click <strong>Next</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCirwaee0FFf92tns7NLPQ.png" /></figure><p>5. In the <strong>Permissions policies</strong> search bar, type <strong>dynamodb</strong></p><p>6. From the results, check the box next to <strong>AmazonDynamoDBReadOnlyAccess</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xIVdZMa2DWn11tXfp8FTTQ.png" /></figure><p>7.Give your role a clear name (e.g., DynamoDB) and click <strong>Create role</strong> to finalize.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4okiuKHpfXvRcS0afD_S3Q.png" /></figure><p>Once created, this role can be attached to your EC2 instance to securely grant it DynamoDB read access — without using access keys or credentials.</p><h3>Assigning the IAM Role to the EC2 Instance</h3><p>Now that the IAM role has been created, we need to <strong>attach it to the EC2 instance</strong> so it can access the DynamoDB table with read-only permissions.</p><h4>Steps to Assign the IAM Role</h4><ol><li>Go to the <strong>EC2 dashboard</strong> in the AWS Console.</li><li>Select the <strong>EC2 instance</strong> you created earlier.</li><li>Click on <strong>Actions</strong> → <strong>Security</strong> → <strong>Modify IAM role</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*CvxA4IsLtEPrnIBsD5wkZQ.png" /></figure><p>4. In the dropdown menu, choose the IAM role you created (e.g., DynamoDB).</p><p>5. Click <strong>Update IAM role</strong> to save the changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DIFW16cfyjjWTu9uqA9-2A.png" /></figure><p>Your EC2 instance now has the correct permissions to securely read from the DynamoDB table without needing access keys</p><h3>Scanning the DynamoDB Table Using the AWS CLI</h3><p>Next, we’ll connect to our EC2 instance and use the AWS CLI to scan the DynamoDB table</p><h4>Steps to Scan the Table</h4><ol><li>Navigate to the <strong>EC2 dashboard</strong> and select your running instance</li><li>Click <strong>Connect</strong></li><li>Under <strong>Connection type</strong>, keep the default option: <strong>Connect using EC2 Instance Connect</strong>.</li><li>Ensure the <strong>username</strong> is set to ec2-user.</li><li>Click <strong>Connect</strong> to open the terminal.</li><li>Once the terminal opens, run the following command to scan the DynamoDB table</li></ol><pre>aws dynamodb scan - table-name YourTableName --region YourRegion </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PTwimSFRXSsUUbSVCeRy6Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8iHzP7MGGkwXqHif7vOQkA.png" /></figure><p>All the items stored in your table will be displayed</p><h3>Attempting to Write to the DynamoDB Table</h3><p>Now that we’ve successfully scanned the table using the AWS CLI, we’ll test that <strong>write access is restricted</strong>, as expected.<br>Since the IAM role attached to our EC2 instance only grants <strong>read-only permissions</strong>, this test will confirm that our security settings are working correctly.</p><p>To attempt a write operation, we’ll use the put-item command, which requires specifying the full <strong>primary key</strong> for the new item.</p><p>Enter the following command into the AWS CLI terminal, making sure to customize it to your specific setup:</p><pre>aws dynamodb put-item \<br>  --table-name YOUR TABLE \<br>  --item &#39;{<br>    &quot;movie_DB&quot;: {&quot;S&quot;: &quot;Test Movie&quot;},<br>    &quot;genre&quot;: {&quot;S&quot;: &quot;Action&quot;},<br>    &quot;release_date&quot;: {&quot;S&quot;: &quot;2025-07-29&quot;},<br>    &quot;rating&quot;: {&quot;S&quot;: &quot;4.0&quot;}<br>  }&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NoZdFRzXx2gCjIaiXrxKpg.png" /><figcaption>Write an item to the table failed</figcaption></figure><p>As expected, we received a permission error when attempting to write to the DynamoDB table. This confirms that our <strong>IAM role is working as intended</strong>, since it only has <strong>read-only permissions</strong> and does <strong>not allow write operations</strong>.</p><p>Also, note that we <strong>did not configure the AWS CLI with access keys</strong> — further validating that the EC2 instance is accessing DynamoDB strictly through the attached IAM role, not through user credentials.</p><h3>Summary</h3><p>Now that we’ve built a DynamoDB table for Let’s Go! Media Inc., the team can store and access movie metadata without worrying about provisioning or managing database servers. Thanks to DynamoDB’s fully managed and serverless nature, scaling with growing data needs is effortless. And with AWS handling availability and performance, the company can focus on content creation and distribution.</p><p>We also ensured <strong>secure access</strong> by assigning an <strong>IAM role</strong> with read-only permissions to our <strong>t2.micro EC2 instance</strong>. Without configuring the AWS CLI or using access keys, we confirmed that the role worked as intended — allowing us to read from the table while preventing unauthorized write operations.</p><p>✅<em> </em><strong><em>Reminder</em></strong><em>: To avoid extra charges, be sure to </em><strong><em>terminate your EC2 instance</em></strong><em> and </em><strong><em>delete your DynamoDB table</em></strong><em> when you’re done.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c28143081594" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Novice To Expert: Deploying an Apache HTTP Web Server on Amazon Linux]]></title>
            <link>https://medium.com/@elizabethamanquah1/from-novice-to-expert-deploying-an-apache-http-web-server-on-amazon-linux-e54468bf8308?source=rss-673dc36b6407------2</link>
            <guid isPermaLink="false">https://medium.com/p/e54468bf8308</guid>
            <dc:creator><![CDATA[Elizabeth Amanquah]]></dc:creator>
            <pubDate>Wed, 30 Jul 2025 03:51:37 GMT</pubDate>
            <atom:updated>2025-07-30T03:51:37.839Z</atom:updated>
            <content:encoded><![CDATA[<p>Amazon Linux is a powerful Linux operating system from Amazon Web Services (AWS). It provides a security-focused, stable, and high-performance execution environment to develop many cloud applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-NI0bDrDYfnC2UnufC-ekA.png" /></figure><h3>What is an Apache Web Server ?</h3><p>Apache HTTP Server (Apache), is a free open-source web server that is used to exhibit website content. Apache software is deployed on Linux, Unix, Windows, and MacOS and is capable of hosting both static and dynamic content. Its job is to create a connection between a server and the browsers of website visitors (Safari, Google Chrome etc.) while exchanging files between them through the HTTP protocol</p><p>Purpose: This post serves to provide an easy step by step guide on building an Apache HTTP web server using the Amazon EC2 Instance on Amazon Linux.</p><h3>Prerequisites</h3><ul><li>AWS Account and IAM User</li><li>AWS Management Console</li><li>Linux command line knowledge in preferred Linux Command Line Interface</li></ul><h3>Overview to Install Apache Webserver:</h3><ul><li>Launch the Amazon Linux Instance</li><li>Be sure to update all packages on the server</li><li>Install an Apache HTTP Web Server</li><li>Enable the Apache Web Server</li><li>Find the public IP of the server and access the server from online</li><li>Setup SG (security group) for EC2 to allow connection from HTTP/HTTPs</li><li>Customize the web server page and be sure to check functionality</li></ul><p><strong>Steps To Launching Amazon Linux Instance:</strong></p><ol><li>Open the AWS Management Console and Type or Click “EC2”</li></ol><p>2. Click “Launch an Instance” and it will take you to where you can name and modify your specific instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEaylQE2Pv9ZOLxixnroSA.png" /></figure><p>3. Select an Amazon Machine Image (AMI) from the list provided. AMI’s are supported and maintained images provided by AWS that supply information needed to launch an instance.</p><p>4. Select “Amazon Linux”</p><p>5. Then select the instance type “t2.micro”.</p><p>6. Next, choose a Key Pair in order to log into your instance and deploy any software or packages. Click “Create a new key pair” and another screen will appear to name your key pair.</p><p>7. Save your key pair on your desktop maintaining all the defaults. (Please take note of the following: Remember the location you save the key pair; you will use it later on in this guide</p><p>8. After refreshing the “key pair login” section, the key pair you just created will be visible to Select</p><p>9. A new Security Group must be created under <em>“Network Settings”</em>. The purpose of a security group is to control the inbound and outbound traffic for an EC2 instance. You can create additional security groups for a VPC, each with their own inbound and outbound rules. Essentially, these rules regulate who can access your PC using SSH or HTTP (if open to the general public)</p><p>10. Select “Allow SSH traffic from” My IP, keep everything as default and click “Launch Instance” <br><strong>**We will revisit this later on to allow web traffic</strong></p><p>Once your instance shows ready with status check as 2/2 and “Running”, your instance is ready to be connected.<strong><em> (Please note: The instance will take some time before it can be ready for use)</em></strong></p><p>11. Now select your instance and click “Connect”. Then choose SSH client and follow the instructions.</p><p><strong>SSH To Machine</strong></p><ol><li>Open your Terminal and navigate into the folder where your Key Pair is saved.</li></ol><p>Typed Commands</p><pre>cd Downloads <br><br>ssh -i &quot;Apache-key.pem&quot; ec2-user@ec2</pre><p>A prompt will ask “Are you sure you want to connect to your instance”. <br>Type ‘Yes’ and you will see a message from Amazon Linux machine.</p><p>You have successfully connected to your machine.</p><p><strong>Installing Apache Webserver</strong></p><ol><li><strong>Update all packages on the server using this command:</strong></li></ol><pre>sudo yum update -y</pre><p><strong>2. Install an Apache HTTP Web Server on your machine using this command:</strong></p><pre>sudo yum install -y httpd.x86_64</pre><p><strong>3. Start Apache Web Server </strong><br>You server is installed. However, you must run the command below in order for the server to begin</p><pre>sudo systemctl start httpd.service</pre><p><strong>4. Run Apache on System Boot <br></strong>Run this command to Run Apache on every system boot</p><pre>sudo systemctl enable httpd.service</pre><p>Your Apache server is successfully installed after following these four steps! We’ll try to access the EC2 instance and verify.</p><p>To do this: Copy the public IP address of your instance and paste it in your browser</p><p>You should see a message stating: “This site can’t be reached”.</p><p><strong>BREATH! </strong>You didn’t do anything wrong. The reason for this is because the EC2 instance security group that is attached only allows for SSH connection and in order to access it from the web, we need to allow web traffic (HTTP) to make it accessible through the internet. (Scroll back to Step 10 in <strong>Launching Amazon Linux Instance </strong>for review)</p><h4><strong>Modifying Security Group To Allow Web Traffic</strong></h4><ol><li>To makes changes and modify the security group, select the EC2 instance and go to the Security Tab. You’ll notice the security group attached to your instance.</li><li>Click “Edit Inbound rules” and add the two rules about HTTP and HTTPs that will allow any web traffic to your instance. Click “Save rules” and exit.</li><li>Rrefresh your browser page for theEC2 and you will see the message “It works” which means you have successfully installed Apache webserver on your EC2 and it is connected!</li></ol><h4>Customize Webserver Page</h4><p>The fun part about all of this is that you can create customized pages for your webserver!</p><p>In order to do this, you must create your own index.html page in the Document Root Folder which Apache uses for the webpage. Additionally, any editor can be used to accomplish this ! (We’ll be using nano editor)</p><p>Type this command:</p><pre>sudo nano /var/www/html/index.html</pre><p>It will open an editor for you where you can write your simple html code.</p><p>Copy and Paste this code</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;body&gt;<br>&lt;h1&gt;Apache Webserver Officially Launched &lt;/h1&gt;<br>&lt;h2&gt;Welcome to LUIT &lt;/h2&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><ul><li>Press Ctrl+O to Write out/save the file</li><li>Press enter to say “yes: to save your file with this name</li><li>Ctrl+X to exit out of your editor.</li></ul><p>Now copy the public IP address for your EC2 (or refresh the page of the browser) and you will see the customized page!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e54468bf8308" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>