<?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 Carlos L. Glover II on Medium]]></title>
        <description><![CDATA[Stories by Carlos L. Glover II on Medium]]></description>
        <link>https://medium.com/@carlitolamar1989?source=rss-1247a82fc4cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*enFSmLlDVs9RslxF</url>
            <title>Stories by Carlos L. Glover II on Medium</title>
            <link>https://medium.com/@carlitolamar1989?source=rss-1247a82fc4cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:34:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@carlitolamar1989/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[Cloud Operations, Engineered: Building Jenkins on AWS with Terraform]]></title>
            <link>https://medium.com/@carlitolamar1989/cloud-operations-engineered-building-jenkins-on-aws-with-terraform-d52e79396b85?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d52e79396b85</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Tue, 14 Apr 2026 22:11:12 GMT</pubDate>
            <atom:updated>2026-04-14T22:11:12.363Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GkO5DK2XdhjRZqWM5ce9Fg.png" /></figure><p>When my team needed a Jenkins CI/CD server that could be replicated across environments, I didn’t build one through the AWS Console. I wrote Terraform code to provision the entire thing — EC2 instance, security groups, S3 storage, SSH access — all from a single configuration file.</p><p>Here’s what that looked like and what I ran into along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0T0yV2v9Czd6FhyyhuPNdw.png" /></figure><h3>The Architecture</h3><p>The infrastructure is straightforward but production-minded:</p><ul><li>An EC2 instance (Ubuntu 22.04 LTS) bootstrapped with a shell script that installs Java 17 and Jenkins on first boot</li><li>A security group scoped to my IP — port 22 for SSH, port 8080 for the Jenkins UI, all outbound open for package downloads</li><li>An S3 bucket for Jenkins build artifacts, locked down with all four public access block settings enabled</li><li>The default VPC and subnets — no need to over-engineer the network layer for a CI/CD server</li></ul><p>Everything lives in a single main.tf for the foundational tier. The Terraform code reads like a story: provider, data lookups, resources, outputs. One terraform apply and the environment exists. One terraform destroy and it&#39;s gone.</p><h3>Where It Got Real — Troubleshooting</h3><p>This wasn’t a clean, straight-line deployment. Here’s what actually happened:</p><p>1. Instance type rejected. t2.micro is no longer free tier eligible on newer AWS accounts. Terraform threw an InvalidParameterCombination error on apply. The fix was a one-line change to t3.micro and a reapply. No console clicking, no starting over.</p><p>2. Availability Zone mismatch. The subnet Terraform selected landed in us-east-1e, which doesn&#39;t support t3.micro. Switched the subnet index and reapplied. Lesson: not all instance types are available in every AZ.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTNk2ug3Ewr7GyXIaJcdwQ.png" /></figure><p>3. IP address changed mid-session. My ISP rotated my public IP while I was working. Suddenly, SSH stalled and Jenkins wouldn’t load in the browser. The security group was doing its job — blocking an IP it didn’t recognize. Updated the CIDR block in main.tf, ran terraform apply, and I was back in within 30 seconds.</p><p>4. Jenkins GPG key mismatch. The signing key from the official Jenkins documentation didn’t match what the Debian repository expected. The apt-get install jenkins command failed silently during the EC2 bootstrap. I SSH&#39;d in, checked /var/log/cloud-init-output.log, identified the NO_PUBKEY error, and resolved it by importing the correct key directly from Ubuntu&#39;s keyserver.</p><p>Each of these issues took minutes to diagnose and fix — because the infrastructure was code. I didn’t have to rebuild anything from scratch. I changed a line, reapplied, and moved forward.</p><h3>The Result</h3><p>A fully functional Jenkins server, accessible via browser, ready to run CI/CD pipelines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r41DHAAmun2zcFtwWBlUjg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FUS5K_cOCoVj6TLCqundtQ.png" /></figure><p>The entire project — including the Terraform code, bootstrap script, and documentation — is version-controlled and pushed to GitHub. Run terraform apply in a different region or a different AWS account, and you get an identical environment in under two minutes.</p><h3>Fun Fact: Jenkins vs. AI Agents</h3><p>With AI tools writing and reviewing code now, you might wonder — why do we still need Jenkins?</p><p>Jenkins and AI solve different problems. AI agents reason, generate, and adapt. Jenkins executes a defined pipeline the same way, every time, with a full audit trail. When a bank deploys code to production at 2am, they need a system that’s predictable and auditable — not one that improvises.</p><p>The future is both working together: AI writes and reviews the code, Jenkins handles the build-test-deploy pipeline with consistency and accountability. Understanding both is what separates someone who can use tools from someone who can architect solutions.</p><p>The full code is available on my GitHub: github.com/carlitolamar1989/jenkins-terraform</p><p>Follow me for more cloud and DevOps insights.</p><p>Carlos L. Glover II | <a href="/service/mailto:carlitolamar1989@gmail.com">carlitolamar1989@gmail.com</a><br><em>Ensuring Smooth Cloud Operations &amp; Significant Cost Savings.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d52e79396b85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Port 8080 Broke My Docker Deployment]]></title>
            <link>https://medium.com/@carlitolamar1989/port-8080-broke-my-docker-deployment-e4098d03ba9b?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4098d03ba9b</guid>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[velonyx-systems]]></category>
            <category><![CDATA[cicd-pipeline]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Sat, 21 Mar 2026 13:54:31 GMT</pubDate>
            <atom:updated>2026-03-21T13:54:31.925Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>What started as a simple Docker project turned into a real lesson in troubleshooting, portability, and deployment.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D774DOSuqq7J4FPzaARD-g.png" /></figure><p>I ran an Ubuntu container, updated packages, installed Apache2, added a custom Level Up Solutions landing page, and verified it in the browser. I committed the container as an image, pushed it to Docker Hub, then pulled and ran it on a different port. When port 8080 was already in use, I used `lsof` to find the conflicting process and switched to port 8888. Same app, same image, different port — problem solved.</p><p>I walked through a hands-on scenario as <strong>Level Up Solutions</strong>, a company that delivers web solutions to clients. The goal was to adopt <em>Docker</em> so we could package, deploy, and run our web application in a consistent, portable way — and push it to Docker Hub for versioning and sharing. In this post I cover the foundational steps (Ubuntu container, Apache2, custom page), the advanced steps (commit, push to Docker Hub, run on a different port), and the troubleshooting that got me there when port 8080 was already in use.</p><p>Docker, Ubuntu 22.04, Apache2, Docker Hub.</p><h4>Why I Chose Containers</h4><p>I wanted the app to run the same way everywhere: same OS, same packages, same config. Docker lets me package the application and its dependencies into a single container— isolated from the host and other apps — so I avoid “it works on my machine” and get reproducible deployments. I also wanted version control for deployments: push an image, tag it, and roll back if needed. And I wanted to use Docker Hub so I could share the image with my team or run it in different environments. Containers give me consistency, portability, and a clear path to scale.</p><h3>What I Did: Foundational Steps</h3><p>1. Run an Ubuntu container (detached, port 80)</p><p>I started an **Ubuntu 22.04** container in the background (`-d`) and mapped my host’s port 80 to the container’s port 80 (`-p 80:80`). I gave it a clear name: `levelup-web`. The container stays running so I could work inside it.</p><p>2. Update packages and install Apache2</p><p>I opened a <em>Bash shell</em> inside the container (`docker exec -it levelup-web bash`) and ran `apt-get update` and `apt-get upgrade -y` to bring the system up to date. Then I installed Apache2 and started the service so I could serve web content. I confirmed Apache was running inside the container.</p><p>3. Add a custom webpage</p><p>I replaced the default Apache page with a custom <strong>Level Up Solutions </strong>landing page: who we are, that we deliver innovative web solutions, and that the page is served from an Ubuntu container running Apache inside Docker. The page lives in `/var/www/html/` inside the container.</p><p>4. Verify in the browser</p><p>I opened http://localhost on my machine and confirmed the Level Up Solutions page loaded. That proved the container was serving the app correctly and that port mapping (host 80 → container 80) was working. I had a **consistent, reproducible** environment I could reuse.</p><h4>What I Did: Advanced Steps</h4><p>5. Commit the container as an image and push to Docker Hub</p><p>I turned my running container into a reusable <em>image</em> with <em>`docker commit levelup-web velonyxsystems/levelup-web:v1`</em>. That image includes Ubuntu, the updated packages, Apache2, and my custom page. I logged into Docker Hub (`docker login`) and **pushed** the image so it’s stored in the cloud. That gave me **version control** (e.g. `v1`) and **sharing** — anyone with access can pull and run the same stack.</p><p>6. Pull the image and run on a different port</p><p>To simulate deploying the same app in another environment, I stopped and removed the original container, then pulled my image from Docker Hub and ran it again. The goal was to map a different host port (e.g. 8080) to port 80 inside the container — same app, different port on the host. That’s when I hit a problem.</p><h4>Troubleshooting</h4><p>When I ran the container with `-p 8080:80`, Docker returned:</p><p><em>**”bind: address already in use”**</em></p><p>Then, when I tried again, I got a **second** error: t<em>he container name `levelup-web-8080`</em> was already in use. So I was dealing with both a port conflict and a naming conflict.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hArqjkK9R-3JMp46N0WSzg.png" /></figure><p>Port 8080 on my machine was already taken. Instead of guessing, I ran:</p><p><em>`lsof -i :8080`</em></p><p>The output showed a **Python process** (PID 6696) listening on 8080 — another app on the host, not Docker. So the conflict was **environment**: something else had claimed that port.</p><p>I had two options: free port 8080 by stopping that process, or **use a different port**. I chose to use <strong>port 8888</strong> and leave the Python app on 8080. I removed the existing container (to avoid name conflicts), then ran:</p><p>`docker run -d -p <strong>8888:80</strong> — name levelup-web-8080 <em>velonyxsystems/levelup-web:v1 bash -c “service apache2 start &amp;&amp; tail -f /dev/null”`</em></p><p>I opened http://localhost:8888 and the Level Up Solutions page loaded. Same app, same image, different host port — exactly what I wanted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVhEXOz5TrJjVOHC01sGrg.png" /></figure><blockquote>**Takeaway:** When a container won’t start because of a port error, check <em>*what*</em> is using that port (`lsof -i :&lt;port&gt;` on Mac/Linux). Then either free the port or pick another and update your `-p` mapping. If you also see a name conflict, remove the existing container with `docker rm &lt;name&gt;` before creating a new one. Containers share the host with other services; that kind of troubleshooting is part of real deployments.</blockquote><h4>Closing</h4><p>Here’s what I got out of this:</p><p>- **Consistency and portability** — The same image runs the same way on any host that has Docker.</p><p>- **Reproducibility** — I can recreate the exact stack (Ubuntu + Apache + custom page) from one image.</p><p>- **Version control and rollback** — Images are tagged (e.g. `v1`); I can pull an older tag if needed.</p><p>- **Scalability and sharing** — The image lives on Docker Hub; I can pull it to multiple servers or share it with my team.</p><p>- **A real troubleshooting win** — I hit a port conflict and a name conflict and fixed both by inspecting the environment, removing the old container, and switching to another port without breaking anything else.</p><p>This project mirrors what I’d do in a real role: containerize an app, push it to a registry, run it in different environments, and when something breaks, diagnose and fix it. In production I’d take the next step: use a **Dockerfile** and **CI/CD** to build images repeatably instead of `docker commit` — but the concepts (images, registries, port mapping, troubleshooting) are the same. If you’re hiring for cloud or DevOps roles, this is the kind of hands-on work I enjoy — and if you’re learning Docker or cloud engineering, I recommend a flow like this: build the stack in a container, customize it, push it, then run it on another port. You’ll run into a problem; that’s where the learning pays off.</p><p><em>*Level Up Solutions · Image: velonyxsystems/levelup-web:v1 on Docker Hub · Deployed and verified on localhost:8888*</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4098d03ba9b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Text-to-Talk in the Pipeline]]></title>
            <link>https://medium.com/@carlitolamar1989/text-to-talk-in-the-pipeline-21226c3a5926?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/21226c3a5926</guid>
            <category><![CDATA[cicd-pipeline]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[aws-s3]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Wed, 18 Feb 2026 03:05:56 GMT</pubDate>
            <atom:updated>2026-02-18T03:05:56.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LAVLsfwgjcE8AXrZ2mjbzA.png" /></figure><blockquote><em>From text to talk — built in the pipeline &amp; deployed it in the cloud. Leveling up accessibility with AI.</em></blockquote><p><a href="https://github.com/carlitolamar1989/pixel-learning-polly-text-audio">https://github.com/carlitolamar1989/pixel-learning-polly-text-audio</a></p><p>Pixel Learning Co. wants to make course content more accessible by offering <strong>audio versions</strong> of lessons. To solve that, I built a <strong>serverless AI pipeline</strong> that automatically converts text into an MP3 using <strong>Amazon Polly</strong>, then uploads it to <strong>Amazon S3</strong> — triggered directly from a <strong>GitHub Actions</strong> CI/CD workflow.</p><p>No servers. No model training. Fully automated.</p><h3>What I built</h3><p>A lightweight pipeline that:</p><ul><li>Reads lesson content from speech.txt</li><li>Uses synthesize.py (Python + boto3) to call <strong>Amazon Polly</strong> and generate an MP3</li><li>Uploads the MP3 to <strong>S3</strong> under the polly-audio/ prefix</li><li>Runs automatically through GitHub Actions using two workflows:</li><li><strong>Pull Request → Test audio:</strong> polly-audio/test.mp3</li><li><strong>Merge to main → Live audio:</strong> polly-audio/live.mp3</li><li>Stores AWS credentials and settings securely in <strong>GitHub Secrets</strong> (no hardcoding)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*0fccwsIvBMnrc7UHe3Xn4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WggE36kRE3sg_Eieic75KQ.png" /></figure><h3>How the pipeline flow works</h3><h3>Pull Request = Test</h3><p>A Pull Request is basically: “Review this change before it becomes official.”</p><p>So when a PR targets main, the pipeline generates a <strong>preview MP3</strong>:</p><p>✅ polly-audio/test.mp3</p><h3>Merge to main = Live</h3><p>When the PR is approved and merged into main, the pipeline generates the <strong>official MP3</strong>:</p><p>✅ polly-audio/live.mp3</p><p>This creates a clean “review → release” flow.</p><h3>Architecture (simple)</h3><p>🧠 <strong>GitHub Repository (source of truth)</strong></p><ul><li>📝 speech.txt → lesson/content text that gets converted to audio</li><li>🐍 synthesize.py → Python script that calls <strong>Amazon Polly</strong> and uploads the MP3 to <strong>S3</strong></li><li>📦 requirements.txt → installs boto3 so the script can talk to AWS</li><li>📘 README.md → setup + usage documentation</li></ul><p>⚙️ <strong>CI/CD Automation (GitHub Actions)</strong></p><ul><li>🧩 .github/workflows/on_pull_request.yml</li><li>🔁 Trigger: <strong>Pull Request → main</strong></li><li>🧪 Output: uploads <strong>Test</strong> audio to polly-audio/test.mp3</li><li>🚀 .github/workflows/on_merge.yml</li><li>📌 Trigger: <strong>Push to main</strong> (after merge)</li><li>✅ Output: uploads <strong>Live</strong> audio to polly-audio/live.mp3</li></ul><p>🔐 <strong>Secure Configuration (GitHub Secrets)</strong></p><ul><li>🗝️ AWS_ACCESS_KEY_ID</li><li>🗝️ AWS_SECRET_ACCESS_KEY</li><li>🌍 AWS_REGION</li><li>🪣 S3_BUCKET</li><li>☁️ <strong>AWS Services</strong></li><li>🗣️ <strong>Amazon Polly</strong> → converts text into an MP3 (Text-to-Speech)</li><li>🪣 <strong>Amazon S3</strong> → stores audio outputs under the polly-audio/ prefix</li></ul><h3>Security &amp; practitioner skills</h3><ul><li><strong>No credentials in code</strong> (GitHub Secrets only)</li><li><strong>IAM permissions scoped</strong> for Polly + S3 upload</li><li><strong>Environment separation</strong> using Test vs Live outputs</li><li><strong>Automated delivery</strong> tied to PR and merge events</li></ul><h3>Troubleshooting highlights (real-world debugging)</h3><ul><li><strong>Missing aws-region:</strong> fixed by adding AWS_REGION as a GitHub Secret and referencing it in both workflows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZfWGnwcAlXRl5M5VSy69g.png" /></figure><ul><li><strong>Secret access key “missing” even though it existed:</strong> deleting and recreating the secrets fixed it (clean save/paste in GitHub Secrets).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUS7_UZuuJE3RDwk2STwgA.png" /></figure><ul><li><strong>Repo not visible on GitHub:</strong> it wasn’t published yet — publishing fixed it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0B_WBTO3gBtbjt4JmZ-BEg.png" /></figure><ul><li><strong>.venv folder appeared:</strong> removed from repo and ignored (kept the project clean).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*ZCYWODOOpdhsvLOJxB4C9w.png" /></figure><h3>Verification</h3><p>I confirmed success by checking S3 for:</p><ul><li>polly-audio/test.mp3 after PR runs</li><li>polly-audio/live.mp3 after merging to main</li></ul><p>Then I downloaded and listened to confirm the audio matched the updated text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JlRQQtZmTf3r-ke4fP8sMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KPy5-zl03e3JMJo88wKCww.png" /></figure><h3>Final takeaway</h3><p>This project shows how to build a <strong>real, production-style serverless AI pipeline</strong> using managed AWS services and CI/CD — fast, secure, and beginner-friendly.</p><p>“Ensuring smooth cloud operations &amp; significant cost savings”</p><p>— Carlos L. Glover</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21226c3a5926" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Nightly EC2 Shutdown with AWS Lambda + CloudFormation + GitHub Actions]]></title>
            <link>https://medium.com/@carlitolamar1989/automated-nightly-ec2-shutdown-with-aws-lambda-cloudformation-github-actions-170e5ee16826?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/170e5ee16826</guid>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Sat, 31 Jan 2026 15:22:37 GMT</pubDate>
            <atom:updated>2026-01-31T15:22:37.532Z</atom:updated>
            <content:encoded><![CDATA[<p>I completed a DevOps automation project focused on reducing AWS spend from dev EC2 instances that get left running after hours. The deliverable was a <strong>serverless, low-maintenance</strong> solution that automatically shuts down <strong>non-production</strong> EC2 instances daily — with a clean <strong>beta → prod CI/CD pipeline</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2NwO4dlJyOOu6ggezmpJ4w.png" /></figure><h4>What I built</h4><ul><li><strong>AWS Lambda (Python 3.12 + boto3)</strong> to detect <strong>running EC2 instances</strong> and stop only <strong>non-production</strong> targets.</li><li><strong>Safe-by-default targeting</strong> using tags.</li><li><strong>CloudFormation</strong> to provision the Lambda, IAM role, and scheduled trigger (EventBridge).</li><li><strong>GitHub Actions</strong> CI/CD with environment separation:</li><li><strong>Pull Request → Beta deploy</strong></li><li><strong>Merge to main → Prod deploy</strong></li><li><strong>GitHub Secrets</strong> for all environment-specific values (AWS creds, stack names, Lambda names, S3 bucket/paths).</li><li>Deployed and validated in <strong>us-east-1</strong> using <strong>VS Code + GitHub Desktop</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*Z68x_Xn2vSh6XhPtjJN41w.png" /></figure><p><strong>Caption:</strong> “Minimal repo structure: Lambda code + CloudFormation + two GitHub Actions workflows.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nyi3EoUP_9vtT8EgaClTHQ.png" /></figure><h4>Proof it works</h4><p>To validate end-to-end behavior, I created a test <strong>EC2 instance</strong>, applied the non-prod tag, and ran a <strong>manual Lambda test invocation</strong>. The function output showed the instance was targeted and stopped successfully, and <strong>CloudWatch logs</strong> confirmed the stop request + a follow-up run found zero running instances (idempotent behavior).</p><p>After validation, I <strong>terminated the test instance</strong> to avoid ongoing cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*knCKyG6v271fwDoRhahiyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxaV3kDSwkt2oWfv5ir-Rw.png" /></figure><h3>Troubleshooting highlights (real-world DevOps moments)</h3><p>This project wasn’t a straight-line deploy — I had to debug common CI/CD and IAM issues using GitHub Actions logs + CloudFormation stack events:</p><ul><li><strong>S3 Upload AccessDenied (</strong><strong>s3:PutObject)</strong><br>Fixed by updating the GitHub Actions IAM user policy to allow artifact uploads to the S3 bucket/path.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FQQsnlDfV5D-PWLqcVUbjQ.png" /></figure><ul><li><strong>CloudFormation “Invalid template path”</strong><br>Root cause was a file location/commit issue (wrong folder + untracked file). Fixed by placing the template in the expected repo path and committing it so the runner could see it.</li><li><strong>CloudFormation AccessDenied (</strong><strong>cloudformation:DescribeStacks)</strong><br>Fixed by granting baseline CloudFormation read/deploy permissions required by aws cloudformation deploy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*eEy4D5kFnZHcTTbVdABLww.png" /></figure><ul><li><strong>Stack failed during creation (</strong><strong>iam:GetRolePolicy)</strong><br>Root cause was missing IAM “read-back” permission needed during provisioning. Fixed by updating the CI user policy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVbxJ5-qMxQMvvK65hH_fg.png" /></figure><ul><li><strong>EventBridge rule not visible where expected</strong><br>AWS UI differences between event pattern rules vs scheduled rules caused confusion. I verified the schedule using CloudFormation resources + Lambda triggers as the source of truth.</li></ul><h3>Conclusion</h3><p>This project delivered a lightweight automation that helps prevent dev environments from quietly driving up AWS costs. It’s <strong>serverless</strong>, <strong>repeatable</strong>, and <strong>safe</strong> through tag-based targeting, and it ships through a proper <strong>beta → prod deployment pipeline</strong>. Most importantly, I gained hands-on experience troubleshooting the types of issues that show up in real deployments: permissions, CI file paths, and CloudFormation event-driven debugging.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=170e5ee16826" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smooth Deploys Only ✨ — From GitHub Commit to Live S3 Website]]></title>
            <link>https://medium.com/@carlitolamar1989/smooth-deploys-only-from-github-commit-to-live-s3-website-c0ae855b110a?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0ae855b110a</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[aws-codepipeline]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[aws-s3]]></category>
            <category><![CDATA[404-page]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 02:44:16 GMT</pubDate>
            <atom:updated>2025-12-17T02:44:16.727Z</atom:updated>
            <content:encoded><![CDATA[<h3>Smooth Deploys Only ✨ — From GitHub Commit to Live S3 Website</h3><p><strong>A simple CI/CD flow with AWS CodePipeline + S3 — plus the real fixes that turned 404 errors into a live site.</strong> 🔧✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SNwvODjW_fpsKFHZbRHSHQ.png" /></figure><h3>What I Built 🧠</h3><p>I stood up a simple static website and wired it into a lightweight CI/CD flow so updates are automatic:</p><p><strong>GitHub (code) 🧾 → CodePipeline (orchestration) 🔁 → S3 (live site) 🌐</strong></p><p>The goal was simple: when I change the site files in GitHub, AWS picks it up and deploys the update to my S3-hosted website — no manual uploads needed. ✅</p><h3>The Build in One Paragraph 🏗️</h3><p>I created an S3 bucket configured for static website hosting, then created an AWS CodePipeline that uses my GitHub repo as the source and my S3 bucket as the deploy target (no build stage needed). After that, I validated everything by making a small text change in index.html and bumping the footer from <strong>Version 1.0 to 2.0</strong>—the pipeline triggered automatically and the live website updated. 🎯</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LFGmfFUjlmaOowiMvVxovw.png" /></figure><h3>Verification (Proving CI/CD Is Actually Working) ✅</h3><p>To confirm this was real automation and not a one-time deploy, I updated the page copy:</p><ul><li>Added: <strong>“Testing for changes… Looking for changes.”</strong> 🔍</li><li>Updated: <strong>Version 1.0 → Version 2.0</strong> ⬆️</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DbwLjPTxNfllKfkqbHPxNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LT_pqrbIWQScSH2WWVpASw.png" /></figure><p>Within minutes, CodePipeline ran a fresh execution and the updated text showed on the live site. ⚡🌍</p><h3>Troubleshooting Highlights 🧯🔥</h3><p>This looked simple on paper, but the troubleshooting is where the real learning happened. 💯</p><h3>1) Missing Website Endpoint: Static Hosting Was Disabled 🧩</h3><p>At one point I couldn’t find the bucket website endpoint in S3.</p><p><strong>Root cause:</strong> Static website hosting was still <strong>Disabled</strong> 🚫<br><strong>Fix:</strong> Enabled <strong>Host a static website</strong>, set the index document to index.html, and the endpoint appeared. ✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2aJ9DAkWD3BRUy5zW5XuRw.png" /></figure><h3>2) 404 Not Found: NoSuchKey for index.html (Filename Got Me) 😅</h3><p>After enabling hosting, I hit:</p><p><strong>404 Not Found</strong> → <strong>NoSuchKey</strong> → <strong>Key: index.html</strong></p><p><strong>What really happened:</strong> I uploaded/created the homepage file but didn’t name it <strong>exactly</strong> index.html. 📝<br><strong>Fix:</strong> Renamed/created the file as index.html (case-sensitive), redeployed, and it worked immediately. ✅⚙️</p><p><strong>Lesson:</strong> In cloud deployments, one small detail (like a filename) can block the whole release. 🧠🔒</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xsKKA6zGoVAyk6Fq0CD8MQ.png" /></figure><h3>3) “Why Do I Have Two S3 Buckets?” 🪣🪣</h3><p>After the pipeline was created, I noticed an extra bucket named like codepipeline-us-east-1-....</p><p>That’s CodePipeline’s <strong>artifact bucket</strong> — it stores the packaged files CodePipeline moves through the pipeline. 📦</p><p><strong>Important:</strong> Don’t delete the artifact bucket while the pipeline exists, or deployments can break. ⚠️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FjJhFiMQCemcXnkye_htlg.png" /></figure><h3>What I’d Improve Next (Real DevOps Growth) 📈</h3><p>Even stopping here, this setup naturally leads into real-world best practices like:</p><ul><li>Staging vs production deployments 🧪➡️🏭</li><li>Manual approval before production releases ✋✅</li><li>CloudFront in front of S3 for HTTPS + caching 🌐🔐</li><li>Least-privilege IAM permissions and avoiding long-lived access keys 🔒</li></ul><h3>Closing 🎬</h3><p>If you’re learning Cloud / DevOps, don’t skip the troubleshooting — that’s where the “real engineer” reps happen. 💪🏾🔥</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fJcvuV7bB5wpccn_EZL3uw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0ae855b110a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ When “AccessDenied” Means Success: Validating IAM Roles in AWS]]></title>
            <link>https://medium.com/@carlitolamar1989/when-accessdenied-means-success-validating-iam-roles-in-aws-094e57c85169?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/094e57c85169</guid>
            <category><![CDATA[iam-roles]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[dynamodb]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Sun, 14 Dec 2025 21:22:46 GMT</pubDate>
            <atom:updated>2025-12-14T21:22:46.808Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZjPyQwPL2UJxU9C1Q9uY_g.png" /></figure><p>While building this DynamoDB project for <em>Media Inc.</em>, I ran into an important validation step that helped confirm the security design was working exactly as intended.</p><p>I initially added a few movie records directly through the DynamoDB console. After realizing how inefficient manual entry would be at scale, I pivoted to using the AWS CLI and automation to populate the table with all 10 movie records at once. This better reflects how data ingestion is handled in real cloud environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLH28EFVj3nUa7xOglxZ0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H0lS2-WxqqdE9rRKd8dRzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*db-EWlm-qn47DWoXdCh_WA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QfAMIRAQlhetI1DBzcD6xw.png" /></figure><p>To secure access, I created a <strong>custom IAM policy</strong> that grants <strong>read-only permissions</strong> to the DynamoDB table and attached it to an <strong>EC2 IAM role</strong>. The EC2 instance was launched with this role, allowing it to access DynamoDB <strong>without using IAM access keys</strong>, following AWS best practices and the principle of least privilege.</p><p>Once connected to the EC2 instance, I validated that <strong>read access worked</strong> by scanning the table with the AWS CLI. The command returned the expected movie records, confirming the role was correctly applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*jq-CPNot-RIfH8hZ0wVCHA.png" /></figure><p>Next, I intentionally attempted a <strong>write operation</strong> using PutItem from the same EC2 instance. This request failed with an <strong>AccessDeniedException</strong>, stating that the assumed EC2 role was not authorized to perform <strong>dynamodb:PutItem.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dYT4Xh3F_dM_yrgLlaGMkQ.png" /></figure><p>This denial was the goal — not an error. It confirmed that:</p><ul><li>The EC2 instance was using its <strong>IAM role</strong>, not static credentials</li><li>The policy enforced <strong>read-only access</strong></li><li>Unauthorized modifications to the DynamoDB table were successfully blocked</li></ul><h3>✅ Key Takeaway</h3><p>A successful read combined with an intentional write denial is the clearest proof that an IAM role is enforcing least-privilege access correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uV9wUhf_pvpoDajv5uMkqQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=094e57c85169" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Two-Tier AWS Architecture: Deploying Joomla for Adventure Works]]></title>
            <link>https://medium.com/@carlitolamar1989/building-a-two-tier-aws-architecture-deploying-joomla-for-adventure-works-678b7d01021b?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/678b7d01021b</guid>
            <category><![CDATA[joomla]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws-vpc]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Sat, 13 Dec 2025 02:52:23 GMT</pubDate>
            <atom:updated>2025-12-13T02:52:23.041Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>A journey through failed attempts, troubleshooting, and finally seeing it all work ✅</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8zhOQ31nvaOKyT4eB1F-Dw.png" /></figure><h3>Introduction</h3><p>Cloud builds don’t always go in a straight line — and this project proved it.</p><p>I set out to deploy a <strong>two-tier AWS architecture</strong> (web tier + database tier) for a fictional travel agency called <strong>Adventure Works</strong>, running a Joomla website on EC2 with a MySQL backend on RDS.</p><p>What I expected to be a quick setup turned into multiple rebuilds, dead ends, and troubleshooting sessions that taught me the real difference between:</p><ul><li><strong>“It’s broken because networking is blocking traffic”</strong> (hangs/timeouts)<br>vs</li><li><strong>“It’s broken because my credentials are wrong”</strong> (instant access denied)</li></ul><p>This post documents the final working architecture <strong>and</strong> the critical mistakes that forced me to learn AWS networking the hard way — so you don’t have to.</p><h3>The business case: Adventure Works</h3><p>Adventure Works is a growing travel agency offering global adventure tours — safaris, cruises, cultural experiences, and luxury packages.</p><p>They needed a site that is:</p><ul><li><strong>Secure</strong> (database not exposed to the internet)</li><li><strong>Scalable</strong> (web tier can grow without touching the database tier)</li><li><strong>Reliable</strong> (managed backups + durability via RDS)</li></ul><p><strong>Goal:</strong> Deploy a <strong>two-tier architecture</strong> on AWS to host Joomla with MySQL in a private subnet.</p><h3>Architecture overview (two tiers)</h3><h3>Web Tier (EC2)</h3><ul><li>Ubuntu 24.04 on EC2</li><li>Apache + PHP</li><li>Joomla application served to the public internet</li></ul><h3>Database Tier (RDS MySQL)</h3><ul><li>RDS MySQL 8.0</li><li>Private subnet</li><li>Only accessible from the EC2 security group over <strong>port 3306</strong></li></ul><h3>Architecture diagram</h3><pre>Internet<br>  |<br>[Internet Gateway]<br>  |<br>[Public Subnets] ---------------------&gt; EC2 (Apache + Joomla)<br>  |                                          |<br>  |                                          |  TCP 3306<br>  |<br>[Private Subnets] ---------------------&gt; RDS MySQL (Private)</pre><h3>Success criteria (what “done” looks like ✅)</h3><ul><li>I can SSH to EC2</li><li>EC2 can reach the internet (apt update works)</li><li>EC2 can connect to RDS on port 3306</li><li>Joomla installer completes successfully using the RDS endpoint</li><li>Joomla frontend loads in a browser</li><li>A Joomla article displays on the homepage (Featured ⭐)</li></ul><h3>Critical troubleshooting war stories (the real learning)</h3><h3>Issue #1 — Network ACL Blocking Return Traffic</h3><p><strong>Symptom: </strong>After launching my EC2 instance, I couldn’t run ‘sudo apt-get update’. The command would hang and eventually timeout with connection errors.</p><p><strong>Investigation: </strong>I verified my EC2 had a public IP, the Internet Gateway was attached, and the route table had the correct 0.0.0.0/0 route to the IGW. Everything looked correct, but still no internet access.</p><p><strong>Root Cause: </strong>The Network ACL (NACL) inbound rules only allowed ports 22 (SSH) and 80 (HTTP). When my EC2 made outbound requests, the <em>response traffic came back on ephemeral ports (1024–65535)</em>, which were being blocked!</p><p><strong>Solution: </strong>Changed the NACL inbound rules to allow all traffic (0.0.0.0/0) and rely on Security Groups for filtering. This is a common and recommended approach — NACLs are often left open while Security Groups handle the granular access control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*8enF92XqMcPKmN06WhggiQ.png" /></figure><h3>Issue #2 — MySQL connection to RDS would hang forever</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FNr34ePEO1na31oxVbqIHA.png" /></figure><p><strong>Symptom:</strong><br><strong>Root cause:</strong> The <strong>RDS security group</strong> didn’t allow inbound MySQL traffic from the EC2 instance.</p><p><strong>Fix:</strong> In the RDS security group, add inbound:</p><ul><li><strong>Type:</strong> MySQL/Aurora</li><li><strong>Port:</strong> 3306</li><li><strong>Source:</strong> <strong>EC2 Security Group ID</strong> (best practice)</li></ul><blockquote>✅ This is cleaner and safer than opening 3306 to your whole VPC.</blockquote><h3>Issue #3 — Connection stopped hanging… but now it said “Access denied”</h3><p><strong>Symptom:</strong> Immediate error: Access denied for user ...</p><p><strong>Root cause:</strong> Wrong username. I assumed the master user was admin, but I set a custom master username when creating RDS.</p><p><strong>Fix:</strong> RDS Console → <strong>Configuration</strong> → confirm the <strong>Master username</strong>.</p><p><strong>Debug rule I learned:</strong></p><ul><li>Hanging = networking/security rules</li><li>Access denied = credentials/permission<strong>s</strong></li></ul><h3>Issue #4 — Joomla installed, article created… but nothing showed on homepage</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8YMtVzDjNXDRX3InR60qNQ.png" /></figure><p><strong>Symptom:</strong> Joomla frontend loaded but my content didn’t appear.</p><p><strong>Root cause:</strong> Joomla articles don’t automatically appear on the homepage unless they’re <strong>Featured</strong> (depending on default menu/module setup).</p><p><strong>Fix:</strong> Joomla Admin → Content → Articles → click the <strong>⭐ Featured</strong> star.</p><h3>STEP BY STEP IMPLEMENTATION</h3><h4>Step 1 — Networking (VPC + subnets + routes)</h4><p><strong>VPC:</strong> Adventure-Works-2-Tier<br><strong>CIDR:</strong> 10.0.0.0/16</p><h4>Subnets</h4><p><strong>Subnet Layout (High Availability Across Two AZs)</strong></p><ul><li><strong>Public subnets (web tier):</strong></li><li>Public-Subnet-1 — 10.0.1.0/24 (us-east-1a)</li><li>Public-Subnet-2 — 10.0.2.0/24 (us-east-1b)</li><li><strong>Private subnets (database tier):</strong></li><li>Private-Subnet-1 — 10.0.3.0/24 (us-east-1a)</li><li>Private-Subnet-2 — 10.0.4.0/24 (us-east-1b)</li></ul><h4>Route tables</h4><ul><li><strong>Public RT:</strong> 0.0.0.0/0 → Internet Gateway</li><li><strong>Private RT:</strong> local only (10.0.0.0/16 → local)</li></ul><h4>Step 2 — Security Groups (Gatekeepers)</h4><h3>EC2 Security Group (Web Tier)</h3><p><strong>TYPE:</strong> SSH — <strong>PORT:</strong> 22 — <strong>SOURCE:</strong> MY IP Only</p><p><strong>TYPE:</strong> HTTP — <strong>PORT:</strong> 80 — <strong>SOURCE: </strong>0.0.0.0/0</p><h3>RDS Security Group (DB Tier)</h3><p><strong>Type:</strong> MySQL/Aurora —<strong> PORT:</strong> 3306 — <strong>SOURCE:</strong> EC2 Security Group ID</p><p>✅ This ensures <strong>only</strong> the web server can access the database.</p><h3>Step 3 — Launch the EC2 web server</h3><ul><li><strong>AMI:</strong> Ubuntu Server 24.04 LTS</li><li><strong>Instance type:</strong> t3.micro</li><li><strong>Subnet:</strong> Public</li><li><strong>Auto-assign public IP:</strong> Enabled</li><li><strong>SG:</strong> EC2 Web SG</li></ul><h3>Step 4 — Launch RDS MySQL in private subnets</h3><ul><li><strong>Engine:</strong> MySQL 8.0</li><li><strong>Class:</strong> db.t3.micro</li><li><strong>Public access:</strong> No</li><li><strong>Subnet group:</strong> private subnets only</li><li><strong>Initial DB name:</strong> joomla_db</li><li><strong>SG:</strong> RDS SG</li></ul><h3>Step 5 — Install Apache, PHP, and dependencies (EC2)</h3><p>Run on EC2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*ULLaD6RiIjhian7K_hwvvg.png" /></figure><h3>Step 6 — Create the Joomla DB user (from EC2 to RDS)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*2PqXSOlfDqP5A6GJbo3rQw.png" /></figure><h3>Step 7 — Download + install Joomla</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*eWvjv8533MtadlVwwMNd3g.png" /></figure><h3>Step 8 — Complete the Joomla web installer</h3><ol><li>Go to:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*xHHkFlcpk6VbMFedzmmYyQ.png" /></figure><ol><li>Database host: <strong>RDS endpoint</strong></li><li>Username: <strong>joomla_user</strong></li><li>Password: *************</li><li>Finish install</li><li>Remove installation directory</li></ol><h3>Step 9 — Security best practice (required)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*-TqceQY7U8Bl4zsgSRZ-dg.png" /></figure><h3>Validation checklist (prove everything works)</h3><p>Run these on EC2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*omhCnhOzfTuwlc1B_UkqEw.png" /></figure><p>Confirm DB connectivity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jvJSigR_3Ipr9i_QXpvqw.png" /></figure><p>Browser test: I used <em>HTTP://</em> <strong>+</strong><em> 54.152.153.94</em> = <strong>LOADS JOOMLA</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*UgW_zfmd3CpSvhABvbkb9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*kQ5lkbf5wNTQrMABxsDTpw.png" /></figure><p>Joomla content test:</p><ul><li>Create an article → mark it <strong>Featured ⭐</strong> → confirm it appears</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SbraXM7KStVvHF-8OSXwLQ.png" /></figure><h3>Lessons learned (what changed how I think)</h3><ol><li><strong>NACLs are stateless</strong> — return traffic isn’t automatic</li></ol><p><strong>2. Hanging vs Access Denied</strong> is a diagnostic shortcut:</p><ul><li>Hanging = network/security rules</li><li>Access denied = credentials/permissions</li></ul><p><strong>3. Security group referencing</strong> is the cleanest way to secure DB access.</p><p><strong>4. Verify master username</strong> in RDS before assuming anything.</p><p><strong>5. Joomla’s “Featured” behavior</strong> can make it feel broken when it isn’t.</p><p><strong>6. Persistence pays off</strong> — rebuilding is part of real cloud engineering.</p><h3>Cleanup (save money 💸)</h3><p>When you’re done:</p><ul><li>Terminate EC2</li><li>Delete RDS instance (and snapshots if you don’t need them)</li><li>Delete security groups (after dependencies are gone)</li><li>Delete NAT/IGW resources (if created)</li><li>Delete subnets, route tables, then the VPC</li></ul><h3>Conclusion</h3><p>This two-tier build gave Adventure Works exactly what a growing business needs: <strong>separation of concerns</strong>, stronger security boundaries, and a design that scales cleanly.</p><p>If you’re building this and it breaks: don’t quit. Check NACLs, verify SG-to-SG rules, confirm credentials, and keep pushing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mMXVPXNLGOZ1skndK-yuSA.png" /></figure><p>🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=678b7d01021b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stack It Up: Launching an EC2 Web Server with AWS CloudFormation]]></title>
            <link>https://medium.com/@carlitolamar1989/stack-it-up-launching-an-ec2-web-server-with-aws-cloudformation-2623548bcb97?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2623548bcb97</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[cloudformation]]></category>
            <category><![CDATA[aws-vpc]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Sat, 29 Nov 2025 18:22:17 GMT</pubDate>
            <atom:updated>2025-11-29T18:22:17.882Z</atom:updated>
            <content:encoded><![CDATA[<p>Aurora Digital is my fictional online retailer for luxury home goods. For this project, I wanted to prove I could use <strong>AWS CloudFormation</strong> to automatically create a working web server — no manual clicking in the console — and handle real-world errors along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W3AA947sI1q5Sbbfv47KaA.png" /></figure><h3>What I Built</h3><p>Using a single <strong>JSON CloudFormation template</strong>, I created:</p><ul><li>A <strong>security group</strong> that allows:</li><li>SSH (port 22) from the internet</li><li>HTTP (port 80) from the internet</li><li>One <strong>EC2 instance</strong> that:</li><li>Runs in my chosen VPC and subnet</li><li>Uses my EC2 key pair for SSH</li><li>Boots from an <strong>Amazon Linux</strong> AMI</li><li>Runs a <strong>user data</strong> script to:</li><li>Install Apache (httpd)</li><li>Start the web server</li><li>Create a custom index.html with:<br>Hello from CloudFormation Aurora Digital-demo</li></ul><p>When the stack finishes, CloudFormation outputs the <strong>public DNS name</strong>, which I paste into a browser to see the page.</p><h3><strong>Why This Stack Actually Helps the Business</strong></h3><p><strong>**Saves time (less clicking, more doing)** </strong><br> Instead of engineers clicking around the AWS console every time they need servers, networks, or security groups, CloudFormation builds everything automatically from a template. One action = full environment and faster delivery.</p><p><strong>**Saves money (no wasted resources)** </strong><br> Aurora Digital can standardize on the right instance sizes, reuse proven designs, and easily delete whole stacks when they’re no longer needed. That cuts down on “forgotten” resources and oversized servers that quietly increase the bill.</p><p><strong>**More reliable website (fewer “oops” moments)** </strong><br> Every environment is created the same way from the same template. That reduces human error and makes the site more stable — especially during big traffic spikes for sales and promotions.</p><p><strong>**Stronger security (rules you can’t forget)** </strong><br> Security groups, IAM roles, and network rules are all written into the template. Every new stack launches with the same security protections by default, instead of depending on someone to remember every setting.</p><p><strong>**Faster recovery when something breaks** </strong><br> If an environment has issues, the team can re-create the entire stack from the template in a known-good state. That helps reduce downtime and keeps customers online.</p><p><strong>**Easier teamwork and change tracking** </strong><br> Templates live in Git alongside the application code, so changes can be reviewed, tracked, and rolled back. No more mystery settings that only exist in one person’s account.</p><p><strong>**Reusable building blocks for the future** </strong><br> Once Aurora Digital has a solid template for its web tier, it can copy and adapt it for new projects, regions, or test environments. Future work becomes faster, cheaper, and more consistent.</p><h3>The CloudFormation Template</h3><p>I used parameters so the template stays reusable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWrEZRiTjXrG4MkrEiUE4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eI5Wp6_CbsOFhUCeMSc-CA.png" /></figure><p>In plain language:</p><ul><li><strong>Parameters</strong>: let me plug in the VPC, subnet, key pair, instance type, and AMI per environment.</li><li><strong>Resources</strong>: create a security group and an EC2 instance, then use user data to turn that instance into a web server automatically.</li><li><strong>Outputs</strong>: give me the public DNS so I can test it.</li></ul><h3>How I Deployed It</h3><p>Using the AWS console:</p><ol><li><strong>CloudFormation → Create stack → With new resources (standard)</strong></li><li><strong>Upload</strong> the JSON template.</li><li>Fill in parameters:</li></ol><ul><li>VpcId → default VPC</li><li>SubnetId → a subnet in that VPC</li><li>KeyName → my key pair (for example, newkey2025)</li><li>AmiId → an Amazon Linux AMI in my region</li></ul><ol><li>Click <strong>Create stack</strong> and wait for <strong>CREATE_COMPLETE</strong>.</li><li>Go to <strong>Outputs</strong>, copy PublicDNS, and open:<br>http://&lt;PublicDNS&gt; in the browser.</li></ol><p>Seeing <strong>“Hello from CloudFormation Aurora Digital-demo”</strong> confirmed that everything worked end-to-end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wfWZ971hbYfghpcpNl8RQ.png" /></figure><h3>Troubleshooting Highlights</h3><p>It wasn’t smooth on the first try. Here are the main issues I hit and fixed:</p><h3>1. Broken JSON</h3><p>I initially hard-coded values into the template wrong and got parser errors like:</p><blockquote><em>missed comma between flow collection entries</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GU1k9Qq8S61bKgQrp_a4bQ.png" /></figure><p>I learned to:</p><ul><li>Keep everything valid JSON (&quot;key&quot;: &quot;value&quot;,).</li><li>Put my IDs (AMI, key pair, VPC, subnet) in <strong>parameter defaults</strong>, then reference them with &quot;Ref&quot;.</li></ul><h3>2. Invalid VPC / Subnet IDs</h3><p>CloudFormation complained:</p><blockquote><em>parameter value for parameter name VpcId does not exist</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUnrsTpY5O52s2P4z5X0xw.png" /></figure><p>That meant I was using IDs that didn’t exist in that region. I fixed it by:</p><ul><li>Grabbing the real <strong>default VPC ID</strong> from the VPC console.</li><li>Grabbing a real <strong>subnet ID</strong> from that VPC.</li><li>Using those values in the parameters.</li></ul><h3>3. Marketplace AMI Access Error</h3><p>At one point I used a Marketplace AMI and got:</p><blockquote><em>“In order to use this AWS Marketplace product you need to accept terms and subscribe…”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aax4xGTr1HJss1tl1l6kfA.png" /></figure><p>Instead of subscribing, I switched to an official <strong>Amazon Linux</strong> AMI, which worked perfectly with user data and Apache.</p><h3>What This Shows About My Skills</h3><p>This project shows that I can:</p><ul><li>Define infrastructure as code with <strong>CloudFormation (JSON)</strong></li><li>Use parameters, references, and outputs instead of hard-coding everything</li><li>Bootstrap an EC2 instance with <strong>user data</strong> so it’s ready to serve traffic on first boot</li><li>Read and fix real AWS errors (JSON parsing, invalid parameters, Marketplace AMIs)</li></ul><p>It’s a small stack, but it proves I can go from idea → template → debugging → working web server.</p><h3>Final Thoughts</h3><p>This started as “just make a web server,” but it turned into a great CloudFormation and troubleshooting rep for me.</p><p>If posts like this help you learn or you want to follow my Cloud / DevOps journey:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0j_b6yW9mZsQZbrfFfCFTA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2623548bcb97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 502 Rebuild]]></title>
            <link>https://medium.com/@carlitolamar1989/the-502-rebuild-669c56fc340a?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/669c56fc340a</guid>
            <category><![CDATA[502-bad-gateway-error]]></category>
            <category><![CDATA[auto-scaling-groups]]></category>
            <category><![CDATA[application-load-balancer]]></category>
            <category><![CDATA[aws-vpc]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 13:21:48 GMT</pubDate>
            <atom:updated>2025-11-25T13:21:48.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwZhjNllXiVBeKx89pnAVg.png" /></figure><p>Level-Up Bank has been slowly testing the cloud — starting by moving a single server to EC2. Now they’re ready for the bigger step: moving their <strong>network</strong> into AWS so they can get scalability, reliability, and stronger security without buying more hardware.</p><p>This project is one slice of that journey:<br>designing and troubleshooting a <strong>highly available web tier</strong> in a custom VPC.</p><p>I didn’t get it right the first time. My initial attempt ended with:</p><blockquote><strong><em>502 Bad Gateway</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q5Ff2J-S8__XXUs9RxqxJw.png" /></figure><p>And honestly, that’s exactly the kind of problem I want right now. No more simple “click here, then click there” tutorials — this is <strong>real Cloud DevOps troubleshooting</strong>, the kind of work that actually pushes me toward becoming an <strong>elite Cloud DevOps engineer</strong>.</p><h3>Why Level-Up Bank Is Moving to AWS</h3><p>Here’s why a bank like this would move its on-prem network into AWS:</p><ul><li><strong>Scalability</strong> — Traffic isn’t steady. With autoscaling and pay-as-you-go, the bank can scale up during high demand and scale back down later, instead of overbuying hardware.</li><li><strong>Reliability</strong> — Multiple Availability Zones and automatic failover reduce downtime. If one AZ has an issue, services can fail over to another without customers noticing.</li><li><strong>Security</strong> — Encryption, fine-grained access controls, and network isolation help meet strict banking and regulatory requirements.</li><li><strong>Cost savings</strong> — No more big upfront hardware purchases or long refresh cycles. The bank pays for what it actually uses and can right-size over time.</li><li><strong>Flexibility</strong> — The team can spin up test environments, try new features, and experiment with architectures quickly, which helps them respond faster to the market.</li></ul><p>This project focuses on one core piece of that move: the public-facing web tier.</p><h3>The Target Architecture: Auto Scaling Web Tier in a VPC</h3><p>The design I was aiming for:</p><ul><li>A <strong>VPC</strong> with CIDR 10.10.0.0/16</li><li><strong>Three public subnets</strong> in different Availability Zones:</li><li>10.10.1.0/24</li><li>10.10.2.0/24</li><li>10.10.3.0/24</li><li>An <strong>Internet Gateway</strong> with a public route table sending 0.0.0.0/0 to the internet</li><li>An <strong>Auto Scaling Group</strong> of t3.micro instances:</li><li>Minimum 2 instances, maximum 5</li><li>Each one running Apache and serving a test web page (so hitting any random instance IP during testing shows a response)</li><li>An <strong>Application Load Balancer</strong>:</li><li>Internet-facing, listening on HTTP (port 80)</li><li>Forwarding traffic to a target group on port 80</li><li><strong>Two layers of security groups</strong>:</li><li>One that allows HTTP from the internet to the load balancer</li><li>One that allows HTTP <strong>only from the load balancer</strong> to the EC2 instances</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*yvwjtvvz7cOoTS4s9Qv8wQ.png" /></figure><blockquote>I created it using a free diagramming tool with official AWS icons and added a watermark with my name in the center so it can’t be reused without credit.</blockquote><p>This was the “clean” architecture I wanted. Getting there took a failure first.</p><h3>The First Attempt: 502 Bad Gateway</h3><p>On my first build, I had all the pieces:</p><ul><li>VPC, subnets, and Internet Gateway</li><li>Auto Scaling Group with Apache running on each instance</li><li>Application Load Balancer and a target group wired up</li></ul><p>But when I hit the load balancer’s DNS name, I got <strong>502 Bad Gateway</strong>.</p><p>I went through the usual checks:</p><ul><li>Security group rules between the load balancer and the instances</li><li>Target group health status (healthy vs unhealthy)</li><li>Whether everything was actually in the same VPC and subnets</li><li>Listener configuration and forwarding rules</li></ul><p>I even pulled up AWS documentation on troubleshooting 502 errors and walked through the guidance. Still stuck.</p><p>At that point, I realized I was trying to “band-aid” a shaky build. So I did what real engineers do when the stack feels cursed:</p><blockquote><strong><em>Tear it down. Rebuild it clean, layer by layer.</em></strong></blockquote><h3>The Rebuild: Networking, Security, and User Data Done Right</h3><h3>1. Networking First</h3><p>I rebuilt the network from scratch:</p><ul><li>New VPC with CIDR 10.10.0.0/16</li><li>Internet Gateway attached</li><li>Three public subnets with <strong>auto-assign public IPs</strong> enabled</li><li>Public route table with default route 0.0.0.0/0 to the Internet Gateway, associated to all three subnets</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w-wpdd9w4AU4cnN-2i15Uw.png" /></figure><p>Now anything launched there could actually talk to the internet.</p><h3>2. Security Groups With a Clear Story</h3><p>Then I tightened the security model:</p><ul><li>One security group for the <strong>load balancer</strong>:</li><li>Allows HTTP (port 80) from anywhere on the internet</li><li>One security group for the <strong>web servers</strong>:</li><li>Allows HTTP (port 80) <strong>only from the load balancer’s security group</strong></li><li>Optionally allows SSH (port 22) from my IP for admin access</li></ul><p>This is what prevents customers (or anyone) from hitting the instance public IPs directly. All traffic must come through the load balancer.</p><h3>3. Launch Template and User Data</h3><p>To keep configuration consistent, I used a launch template with:</p><ul><li>Instance type t3.micro</li><li>The web-server security group</li><li>User data that installs Apache and places a test page:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_pULdeMNiWOYvPbM_Fxiw.png" /></figure><p>User data runs as root, so there’s no need to use sudo. Every instance launched by the Auto Scaling Group comes up fully configured.</p><h3>4. Target Group, Auto Scaling Group, and Load Balancer</h3><p>Finally, I reassembled the moving parts:</p><ul><li>A <strong>target group</strong> on HTTP port 80 with health checks on /</li><li>An <strong>Auto Scaling Group</strong> that:</li><li>Uses the launch template</li><li>Spans all three public subnets</li><li>Keeps between 2 and 5 instances running</li><li>Registers instances with the target group</li><li>An <strong>Application Load Balancer</strong> that:</li><li>Is internet-facing in the same VPC and public subnets</li><li>Uses the load balancer’s security group</li><li>Has an HTTP listener that forwards requests to the target group</li></ul><p>This time I waited for the targets to show <strong>healthy</strong> before testing.</p><h3>The Tests That Proved It</h3><p>I ran two key tests:</p><ol><li><strong>Direct EC2 public IP (should fail)</strong></li></ol><ul><li>http://&lt;instance-public-ip&gt; → blocked</li><li>That’s expected, because the web-server security group only allows HTTP from the load balancer’s security group.</li></ul><p>2<strong>. Load balancer DNS name (should succeed)</strong></p><ul><li>http://&lt;load-balancer-dns-name&gt; → shows the custom page</li><li>Refreshing the page shows different hostnames as the load balancer distributes traffic across instances.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*tEtHCfEB2bNrzUzS-AZ0tQ.png" /></figure><p>No more 502. Just a clean, highly available, properly secured web tier for Level-Up Bank.</p><h3>What This Project Really Taught Me</h3><p>This wasn’t just “how to put a website on EC2.” It was:</p><ul><li>Taking a real <strong>502 Bad Gateway</strong> and turning it into a structured investigation</li><li>Using architecture diagrams, health checks, and security group logic to reason about the system</li><li>Being willing to <strong>destroy and rebuild</strong> the environment instead of endlessly tweaking a broken setup</li><li>Connecting the design back to business reasons: scalability, reliability, security, cost savings, and flexibility for the bank</li></ul><p>This is how I’m leveling up — from simple, step-by-step labs to <strong>real Cloud DevOps troubleshooting</strong> in the cloud. It’s exactly the kind of practice that moves me toward being an <strong>elite Cloud DevOps engineer</strong>, not just someone who can follow instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyrVYRSJZs-eMl1u_Xwu6w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=669c56fc340a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sky Rocket: Launching Level Up Bank into the Cloud]]></title>
            <link>https://medium.com/@carlitolamar1989/sky-rocket-launching-level-up-bank-into-the-cloud-454df0bf8129?source=rss-1247a82fc4cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/454df0bf8129</guid>
            <category><![CDATA[level-up-in-tech]]></category>
            <category><![CDATA[cloud-devops]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <dc:creator><![CDATA[Carlos L. Glover II]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 02:13:55 GMT</pubDate>
            <atom:updated>2025-11-13T02:13:55.471Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uNlykVgLnQA1uzHqWdkq3g.png" /></figure><p>Level Up Bank is designed to feel modern.</p><p>Customers expect:</p><ul><li>Quick logins</li><li>Fast, smooth online banking</li><li>A website that is always up</li><li>Their information protected</li></ul><p>But behind the scenes, everything was running on one older Linux server in a small server room.</p><p>If that one machine failed, the website and online banking could go down.<br>If traffic increased, that server could struggle.<br>If we needed more capacity, it took time, hardware, and money.</p><p>For a bank that wants to feel high tech, that setup wasn’t enough.</p><p>That’s where I come in — as a <strong>Junior Cloud Developer and Site Reliability Engineer (SRE)</strong> — to help move Level Up Bank into the cloud using <strong>Amazon Web Services (AWS)</strong>.</p><p>My first goal was simple:</p><h4>Create our first web server in AWS and prove:<strong><em><br></em></strong><em>“Level Up Bank can safely and reliably run in the cloud.”</em></h4><h3>Why Move from the Old Server to AWS?</h3><p>Here’s why Level Up Bank wants to leave the old on-prem server behind and use AWS EC2 instead, in simple terms:</p><h3>1. Handle Growth Better</h3><p>On the old system, if more customers used the website, we had to worry:</p><ul><li>Is the server strong enough?</li><li>Do we need to buy more hardware?</li></ul><p>In AWS, we can create more server power when needed and reduce it when things are quiet. This helps us handle busy times without slowing down or crashing.</p><h3>2. Stay Online More</h3><p>One server in one room is a risk.<br>If it goes down, customers are locked out.</p><p>In AWS, we can use multiple servers in different locations (Availability Zones). If one has a problem, others can keep running. That helps Level Up Bank stay online.</p><h3>3. Stronger Security Options</h3><p>Banks must protect customer data.</p><p>AWS gives us tools to:</p><ul><li>Control who can access what</li><li>Encrypt data</li><li>Monitor activity</li><li>Meet security and compliance standards</li></ul><p>We still have to use those tools correctly, but they give us a strong base.</p><h3>4. Smarter Spending</h3><p>Instead of buying big servers up front, we pay AWS for what we use.</p><p>This means:</p><ul><li>Less money spent on hardware</li><li>More focus on improving the app and customer experience</li></ul><h3>5. More Flexibility</h3><p>We can test new ideas faster:</p><ul><li>New features</li><li>New versions of the site</li><li>New services</li></ul><p>We can create and remove environments as needed, instead of being stuck waiting on physical equipment.</p><h3>Launching the Cloud Web Server for Level Up Bank</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ArgWhxgMT34anRfX0Br6g.png" /></figure><p>To start the launch, I built one simple thing:</p><blockquote><em>A small web server in AWS EC2 that shows<br></em><strong><em>“✅ Level Up Bank test site works”</em></strong><em><br>using automation.</em></blockquote><p><em>This is our first “signal” that the cloud setup works.</em></p><h3>Step 1: Create the EC2 Instance</h3><p>In the AWS Console, I went to:</p><blockquote><strong><em>EC2 → Instances → Launch instances</em></strong></blockquote><p>Here’s how I set it up:</p><ul><li><strong>Name:</strong> LevelUpBank-2025-Web</li><li><strong>AMI (Operating System):</strong> Amazon Linux</li><li><strong>Instance Type:</strong> t3.micro</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drEToJ_PkGoVTvCgyhWdcQ.png" /></figure><ul><li><strong>Key Pair:</strong> <em>I created a key pair so I can securely SSH into the EC2 server later to troubleshoot or fix issues if needed.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CpEbloH5MrSE0wFUT3p3Q.png" /></figure><h3><strong>Security Group:</strong></h3><ul><li><strong>SSH (Port 22)</strong> — only from my IP (for admin access)</li><li><strong>HTTP (Port 80)</strong> — from anywhere (0.0.0.0/0) so users can reach the website</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drEToJ_PkGoVTvCgyhWdcQ.png" /></figure><h3>“At this point, I had created the EC2 server. Next, I needed the EC2 server to set itself up automatically.”</h3><h3>Step 2: Set up Level Up Bank to Automatically launch using User Data.</h3><p>Instead of logging in and typing commands by hand, I used <strong>User Data</strong>.</p><p>This is a script that runs <strong>automatically</strong> the first time the EC2 instance starts.</p><p>In <strong>Advanced details → User data</strong>, I pasted:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*FGh2feewQ5-7VL_HO73Jkw.png" /></figure><p>Plain English version of what this does:</p><ul><li>Updates the system</li><li>Installs the Apache web server</li><li>Starts Apache</li><li>Makes sure Apache starts again after a reboot</li><li>Creates a simple test web page for Level Up Bank</li></ul><p>This means:</p><blockquote><em>When the server turns on for the first time, it builds itself.</em></blockquote><h3>Step 3: Check the Result (The “Sky Rocket” Launch)</h3><p>After the instance status showed <strong>running</strong> and a <strong>Public IPv4 address</strong> appeared, I opened my browser and went to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3G2KKcZRMUTFIW8sO8pmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*raYddRHzcvc9Wq4yUfXEkQ.png" /></figure><p>On the screen, I saw:</p><blockquote><em>✅ Level Up Bank test site works</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DRM2fDObzv36CTkYADXPJQ.png" /></figure><p>That one message proved:</p><ul><li>The script ran correctly.</li><li>Apache is installed.</li><li>Apache is running.</li><li>The firewall and security group allow web traffic on port 80.</li><li>Level Up Bank now has its first working web server in the cloud.</li></ul><p>It’s simple, but it’s powerful.</p><p>This is our <strong>first launch</strong> — our “Sky Rocket” moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDksQsT2-XH7cS5SP7GtRQ.png" /></figure><p><strong>Conclusion — Sky Rocket: Phase One (Complete)</strong><br>I launched Level Up Bank’s first cloud web server using a simple, automated startup script. The result is clear and easy to verify: <strong>“✅ Level Up Bank test site works.”</strong> This proves we can run in AWS with a setup that’s fast, reliable, and secure enough to build on.</p><p>— <strong>Carlos L. Glover II</strong><br><em>Ensuring Smooth Cloud Operations and Significant Cost Savings</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=454df0bf8129" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>