<?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 Brandon Forlina on Medium]]></title>
        <description><![CDATA[Stories by Brandon Forlina on Medium]]></description>
        <link>https://medium.com/@bdogforlina98?source=rss-bb331359ed06------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fZndIIVT9Q2qGi4_7IXhzg.png</url>
            <title>Stories by Brandon Forlina on Medium</title>
            <link>https://medium.com/@bdogforlina98?source=rss-bb331359ed06------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:04:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bdogforlina98/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[Building a Highly Available Two-Tier AWS Architecture with Terraform Cloud]]></title>
            <link>https://medium.com/@bdogforlina98/building-a-highly-available-two-tier-aws-architecture-with-terraform-cloud-12ff00dfc58d?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/12ff00dfc58d</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Mon, 09 Mar 2026 05:17:07 GMT</pubDate>
            <atom:updated>2026-03-09T05:17:07.292Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Brandon Forlina</em></p><p>In this project, I built a highly available two-tier AWS architecture using Terraform and Terraform Cloud, with the goal of simulating how modern infrastructure is deployed in production environments.</p><p>The architecture includes:</p><ul><li>A custom VPC</li><li>Public subnets for the web tier</li><li>Private subnets for the database tier</li><li>EC2 instances running a web server</li><li>An RDS MySQL database</li><li>Terraform Cloud for CI/CD automation</li><li>GitHub for version control</li></ul><p>This project helped me practice real-world DevOps workflows, including infrastructure modularization, automated deployment pipelines, and secure network architecture.</p><h3>Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/0*ezXc6Xjtj1dxOdF9.png" /></figure><p>The architecture is built for high availability and separation of concerns, following best practices commonly used in production cloud environments.</p><h3>Components</h3><p><strong>Networking</strong></p><ul><li>Custom VPC</li><li>2 Public Subnets (Web Tier)</li><li>2 Private Subnets (Database Tier)</li><li>Route Tables and Internet Gateway</li></ul><p><strong>Compute Layer</strong></p><ul><li>Two EC2 instances</li><li>One instance deployed in each public subnet</li><li>Web server installed during bootstrapping</li></ul><p><strong>Database Layer</strong></p><ul><li><strong>Amazon</strong> RDS MySQL (db.t3.micro)</li><li>Hosted in private subnets</li><li>Not accessible from the public internet</li></ul><p><strong>Infrastructure Automation</strong></p><ul><li>Terraform used for Infrastructure as Code</li><li>Terraform Cloud used as CI/CD pipeline</li><li>GitHub used for version control</li></ul><h3>Why I Built This Project</h3><p>Modern DevOps teams rely heavily on Infrastructure as Code (IaC) to provision and maintain environments consistently.</p><p>The goals of this project were to:</p><ul><li>Practice AWS networking fundamentals</li><li>Automate infrastructure provisioning with Terraform</li><li>Implement high availability design</li><li>Use <strong>T</strong>erraform Cloud as a CI/CD tool</li><li>Store infrastructure code in GitHub</li><li>Build a repeatable and modular infrastructure design</li></ul><h3>Step 1: Building the Network (Custom VPC)</h3><p>The foundation of this project is a <strong>custom Virtual Private Cloud (VPC)</strong>.</p><p>Inside the VPC I created:</p><ul><li>2 Public Subnets</li><li>Host the web servers</li><li>Have internet access through an Internet Gateway</li><li>2 Private Subnets</li><li>Host the database layer</li><li>No direct internet access</li></ul><p>This separation protects the database from external access and follows security best practices.</p><p>Example Terraform resource:</p><pre>resource &quot;aws_vpc&quot; &quot;main&quot; {<br>  cidr_block = &quot;10.0.0.0/16&quot;</pre><pre>  tags = {<br>    Name = &quot;two-tier-vpc&quot;<br>  }</pre><h3>Step 2: Deploying the Web Tier (EC2)</h3><p>The web layer runs on two EC2 instances, each deployed into a separate public subnet.</p><p>This improves availability, since traffic can still be served if one subnet or availability zone experiences issues.</p><p>The instances are bootstrapped with a script that installs a web server.</p><p>Example user data script:</p><pre>#!/bin/bash<br>sudo yum update -y<br>sudo yum install httpd -y<br>sudo systemctl start httpd<br>sudo systemctl enable httpd<br>echo &quot;Hello from Brandon&#39;s Terraform Web Server&quot; &gt; /var/www/html/index.html</pre><p>This ensures the web server is <strong>automatically configured at launch</strong>, which is a common DevOps practice.</p><h3>Step 3: Creating the Database Tier (RDS)</h3><p>The database layer uses <strong>Amazon RDS MySQL</strong>, deployed in the <strong>private subnets</strong>.</p><p>Key security features:</p><ul><li>No public access</li><li>Only accessible from the web server security group</li><li>Hosted in a DB subnet group</li></ul><p>Example Terraform resource:</p><pre>resource &quot;aws_db_instance&quot; &quot;mysql&quot; {<br>  engine            = &quot;mysql&quot;<br>  instance_class    = &quot;db.t3.micro&quot;<br>  allocated_storage = 20<br>  username          = &quot;admin&quot;<br>  password          = &quot;examplepassword&quot;<br>  publicly_accessible = false<br>}</pre><p>This ensures the database is <strong>isolated from the public internet</strong>, which is critical in production environments.</p><h3>Step 4: Security Groups</h3><p>Security groups were configured to control traffic between components.</p><h3>Web Server Security Group</h3><p>Allows:</p><ul><li>HTTP (80) from the internet</li><li>SSH (22) from my IP</li></ul><h3>Database Security Group</h3><p>Allows:</p><ul><li>MySQL (3306) only from the web server security group</li></ul><p>This architecture ensures the database cannot be accessed externally, reducing attack surface.</p><h3>Step 5: Terraform Modules for Repeatability</h3><p>To improve maintainability, I organized parts of the infrastructure into custom Terraform modules.</p><p>Modules make the infrastructure:</p><ul><li>Reusable</li><li>Easier to maintain</li><li>More production-ready</li></ul><p>Example module structure:</p><pre>terraform-project<br>│<br>├── modules<br>│   ├── vpc<br>│   ├── ec2<br>│   └── rds<br>│<br>├── main.tf<br>├── variables.tf<br>└── outputs.tf</pre><p>This approach mirrors how many professional DevOps teams structure their Terraform repositories.</p><h3>Step 6: Terraform Cloud as CI/CD</h3><p>Instead of running Terraform locally, I integrated the project with <strong>Terraform Cloud</strong>.</p><p>Terraform Cloud automatically:</p><ul><li>Runs terraform plan</li><li>Runs terraform apply</li><li>Validates configuration</li><li>Tracks state remotely</li></ul><p>This simulates a <strong>CI/CD pipeline for infrastructure</strong>.</p><p>Workflow:</p><pre>Code Change<br>     ↓<br>Push to GitHub<br>     ↓<br>Terraform Cloud Trigger<br>     ↓<br>Terraform Plan<br>     ↓<br>Terraform Apply<br>     ↓<br>Infrastructure Deployment</pre><p>This allowed me to experience <strong>GitOps-style infrastructure deployment</strong>.</p><h3>Key Lessons From This Project</h3><p>This project helped reinforce several core DevOps and cloud engineering concepts:</p><h3>Infrastructure as Code</h3><p>Using Terraform allowed me to <strong>define the entire infrastructure declaratively</strong> and redeploy it easily.</p><h3>High Availability</h3><p>Deploying resources across multiple subnets improves system reliability.</p><h3>Cloud Security</h3><p>Separating public and private layers is critical for protecting sensitive resources like databases.</p><h3>CI/CD for Infrastructure</h3><p>Terraform Cloud enabled automated deployment pipelines for infrastructure changes.</p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12ff00dfc58d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Highly Available Auto Scaling Web Infrastructure on AWS Using Terraform]]></title>
            <link>https://medium.com/@bdogforlina98/building-a-highly-available-auto-scaling-web-infrastructure-on-aws-using-terraform-dc68d1bdb141?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc68d1bdb141</guid>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 04:52:26 GMT</pubDate>
            <atom:updated>2026-03-02T04:55:56.230Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Brandon Forlina</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6lUnVAUqyi68HpuNXWxzgA.png" /></figure><p>As part of strengthening my DevOps and cloud engineering skills, I built a highly available, scalable web infrastructure on AWS using Terraform as Infrastructure as Code (IaC).</p><h3><strong>Project Objective</strong></h3><p>The requirements were:</p><ul><li>Launch an Auto Scaling Group spanning two subnets in the default VPC</li><li>Create and attach a security group allowing public HTTP access</li><li>Use a user data script to install and configure Apache</li><li>Configure the Auto Scaling Group with:</li><li>Minimum: 2 instances</li><li>Maximum: 5 instances</li><li>Manually terminate an instance to verify automatic replacement</li><li>Store Terraform state remotely in an S3 bucket</li></ul><p>All infrastructure (except initial backend bootstrapping) was provisioned using Terraform.</p><h3>Architecture Overview</h3><p>The infrastructure design follows a simple but production-relevant pattern:</p><p>Internet<br> ↓<br> Security Group (HTTP 80 open)<br> ↓<br> Auto Scaling Group<br> ↓<br> EC2 Instances across 2 Availability Zones<br> ↓<br> Apache Web Server installed via User Data</p><p>By spanning multiple subnets in different Availability Zones, the system remains resilient even if one AZ experiences failure.</p><h3>Step 1: Using the Default VPC and Subnets</h3><p>Rather than manually hardcoding availability zones (which can vary between AWS accounts), I used Terraform data sources to dynamically retrieve:</p><ul><li>The default VPC</li><li>Its associated subnets</li></ul><p>This ensured the Auto Scaling Group used valid subnet IDs instead of relying on availability zone names — a common mistake that can lead to deployment errors.</p><p>Example:</p><pre>data &quot;aws_vpc&quot; &quot;default&quot; {<br>  default = true<br>}</pre><pre>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><p>This approach prevents environment-specific issues and reflects production-ready IaC design.</p><h3>Step 2: Launch Template with User Data</h3><p>The launch template defines how each EC2 instance is built.</p><p>I included a user data script to automatically:</p><ul><li>Update packages</li><li>Install Apache</li><li>Start and enable the service</li><li>Create a simple test web page</li></ul><pre>#!/bin/bash<br>yum update -y<br>yum install httpd -y<br>systemctl start httpd<br>systemctl enable httpd<br>echo &quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;Welcome to Terraform!&lt;/h1&gt;&lt;/body&gt;&lt;html&gt;&quot; &gt; /var/www/html/index.html</pre><p>This demonstrates automated provisioning — a core DevOps principle.</p><h3>Step 3: Auto Scaling Configuration</h3><p>The Auto Scaling Group was configured with:</p><ul><li>Minimum capacity: 2</li><li>Desired capacity: 2</li><li>Maximum capacity: 5</li><li>Subnets across two Availability Zones</li></ul><p>Key configuration:</p><pre>resource &quot;aws_autoscaling_group&quot; &quot;asg&quot; {<br>  desired_capacity = 2<br>  max_size         = 5<br>  min_size         = 2</pre><pre>  vpc_zone_identifier = slice(data.aws_subnets.default.ids, 0, 2)</pre><pre>  launch_template {<br>    id      = aws_launch_template.web.id<br>    version = &quot;$Latest&quot;<br>  }<br>}</pre><p>Using subnet IDs instead of availability zone names ensures AWS places instances correctly within the VPC.</p><h3>Step 4: Verifying High Availability</h3><p>After deployment, I verified:</p><ul><li>Two instances launched automatically</li><li>Each instance displayed its hostname via Apache</li><li>Public IPs were accessible via browser</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*EFfOKZwb2Gt5fZqTJtf3vg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*A-ugJFQHoR_NSFXdIj4Yig.png" /></figure><p>To test resilience:</p><ol><li>I manually terminated one EC2 instance</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wE13Pk006EQ1FKhTMk_7Qg.png" /></figure><ol><li>Within minutes, Auto Scaling automatically launched a replacement</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jayOgITSge7WnIcJ5Jvd6A.png" /></figure><p>This confirmed the system maintains minimum capacity and self-heals — a key production behavior.</p><h3>Step 5: Remote State Management with S3</h3><p>To follow Terraform best practices, I configured a remote backend using S3 with versioning enabled.</p><p>Benefits of remote state:</p><ul><li>Prevents local state drift</li><li>Enables collaboration</li><li>Protects state from accidental deletion</li><li>Supports state locking (when paired with DynamoDB)</li></ul><p>Backend configuration:</p><pre>terraform {<br>  backend &quot;s3&quot; {<br>    bucket         = &quot;my-terraform-remote-state&quot;<br>    key            = &quot;autoscaling/terraform.tfstate&quot;<br>    region         = &quot;us-east-2&quot;<br>    encrypt        = true<br>  }<br>}</pre><p>This mirrors real-world DevOps workflows where infrastructure state is centralized and secured.</p><h3>Key Challenges &amp; Lessons Learned</h3><h3>1. Avoid Hardcoding Availability Zones</h3><p>I initially encountered an error related to invalid default subnets.<br> The solution was using Terraform data sources to dynamically retrieve subnet IDs instead of specifying AZ names directly.</p><p>This reinforced an important lesson:</p><p><em>Always reference infrastructure dynamically when possible.</em></p><h3>2. Infrastructure as Code Discipline</h3><p>Aside from bootstrapping the remote backend, all infrastructure was provisioned via Terraform.<br> This ensures reproducibility, consistency, and version control.</p><h3>Final Thoughts</h3><p>This project represents more than just launching EC2 instances — it reflects the mindset of building resilient, automated, and scalable systems.</p><p>By combining Terraform with AWS Auto Scaling, I created a system that is:</p><ul><li>Repeatable</li><li>Self-healing</li><li>Highly available</li><li>Managed entirely as code</li></ul><p>As I continue growing in DevOps and cloud engineering, I’m focused on building infrastructure the way modern teams operate — automated, version-controlled, and production-aware.</p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><p>GITHUB REPOSITORY: <a href="https://github.com/BForlina/second-terraform-project">https://github.com/BForlina/second-terraform-project</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc68d1bdb141" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Fully Automated Jenkins Server on AWS Using Terraform]]></title>
            <link>https://medium.com/@bdogforlina98/deploying-a-fully-automated-jenkins-server-on-aws-using-terraform-f5e043676e2d?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5e043676e2d</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[aws-s3]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 20:02:53 GMT</pubDate>
            <atom:updated>2026-02-23T20:02:53.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93kW9SGeP8Qj_qEG5xBuJA.png" /></figure><h3>Introduction</h3><p>To strengthen my DevOps and cloud engineering skills, I built and deployed a fully automated Jenkins server on AWS — entirely using Terraform.</p><p>Rather than manually provisioning resources through the AWS Console, I defined the entire infrastructure as code and allowed Terraform to build it for me.</p><p>This project demonstrates my ability to:</p><ul><li>Use Infrastructure as Code (IaC)</li><li>Secure cloud networking properly</li><li>Automate application bootstrapping</li><li>Implement artifact storage best practices</li><li>Manage reproducible environments</li><li>Version control infrastructure professionally</li></ul><p>Technologies used:</p><ul><li><strong>Amazon Web Services</strong></li><li><strong>Terraform</strong></li><li><strong>Jenkins</strong></li><li><strong>GitHub</strong></li><li><strong>VSCode</strong></li></ul><h3>Architecture Overview</h3><p>The infrastructure includes:</p><ul><li>1 EC2 instance in the default VPC</li><li>Custom Security Group</li><li>Bootstrap script (User Data) to install Jenkins automatically</li><li>Private S3 bucket for Jenkins artifacts</li><li>Controlled inbound access (SSH restricted to my IP)</li><li>Web access to Jenkins on port 8080</li></ul><p>All resources were provisioned through Terraform configuration files.</p><h3>Why Terraform?</h3><p>Using Terraform allowed me to:</p><ul><li>Version control infrastructure</li><li>Eliminate manual configuration errors</li><li>Rebuild environments instantly</li><li>Practice real-world DevOps workflows</li><li>Treat infrastructure like software</li></ul><p>Instead of clicking in the AWS Console, I ran:</p><pre>terraform init<br>terraform plan<br>terraform apply</pre><p>And Terraform provisioned everything automatically.</p><h3>Step 1: Provisioning the EC2 Instance with Terraform</h3><p>I defined an aws_instance resource inside my Terraform configuration.</p><p>Key configuration choices:</p><ul><li>Amazon Linux 2 AMI</li><li>t3.micro instance type</li><li>SSH key pair</li><li>Attached Security Group</li><li>User Data script for Jenkins installation</li></ul><p>By using the user_data argument, the instance installs and starts Jenkins immediately on boot — no manual SSH configuration required.</p><p>This reflects immutable infrastructure principles.</p><h3>Step 2: Automating Jenkins Installation</h3><p>Using the official Jenkins Linux documentation, my bootstrap script:</p><ul><li>Updated system packages</li><li>Installed Java</li><li>Added the Jenkins repository</li><li>Installed Jenkins</li><li>Enabled and started the service</li></ul><p>When Terraform launched the instance, Jenkins was automatically installed and running.</p><p>This approach ensures:</p><ul><li>Consistency</li><li>Automation</li><li>Reproducibility</li><li>Zero manual configuration</li></ul><h3>Step 3: Creating a Secure Security Group via Terraform</h3><p>Instead of manually creating networking rules, I defined an aws_security_group resource.</p><p>Inbound rules:</p><ul><li>Port 22 → Restricted to my public IP</li><li>Port 8080 → Allowed for web access</li></ul><p>Outbound rules:</p><ul><li>Allowed outbound internet access</li></ul><p>By defining this in code, I ensured:</p><ul><li>Repeatable security policies</li><li>Clear documentation of allowed traffic</li><li>Reduced risk of misconfiguration</li></ul><p>This demonstrates understanding of AWS networking fundamentals.</p><h3>Step 4: Creating a Private S3 Bucket for Artifacts</h3><p>I provisioned a private S3 bucket using Terraform for Jenkins build artifacts.</p><p>Security configurations included:</p><ul><li>Block public access enabled</li><li>No public ACLs</li><li>Private bucket policy</li><li>Default encryption enabled</li></ul><p>This ensures artifacts are securely stored and not exposed to the public internet.</p><p>It demonstrates knowledge of:</p><ul><li>Secure object storage</li><li>Cloud data protection</li><li>Infrastructure hardening</li></ul><h3>Step 5: Verifying Jenkins Deployment</h3><p>After running terraform apply, I retrieved the EC2 public IP output from Terraform and navigated to:</p><pre>http://&lt;EC2-Public-IP&gt;:8080</pre><p>The Jenkins unlock screen loaded successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/0*JZsG3VEzD-wwyhJk" /></figure><p>This verified:</p><ul><li>Terraform provisioned resources correctly</li><li>The bootstrap script executed successfully</li><li>Security Group rules were functional</li><li>Jenkins service was running</li></ul><p>I documented this with a screenshot in my project repository.</p><h3>Challenges I Solved</h3><h3>1. Handling Public IP Restrictions</h3><p>Restricting SSH to my IP required dynamically determining my public IP and updating Terraform variables accordingly.</p><p>This strengthened my understanding of:</p><ul><li>CIDR notation</li><li>Security best practices</li><li>Network-level access control</li></ul><h3>2. Debugging User Data Failures</h3><p>At one point, Jenkins did not start correctly.</p><p>I had to:</p><ul><li>SSH into the instance</li><li>Inspect /var/log/cloud-init-output.log</li><li>Validate systemctl status</li><li>Adjust my script formatting</li></ul><h3>Final Thoughts</h3><p>This project strengthened my understanding of:</p><ul><li>Infrastructure as Code</li><li>Cloud networking</li><li>Automation</li><li>Security best practices</li><li>CI server deployment</li></ul><p>More importantly, it reinforced the principle that:</p><p><em>Infrastructure should be automated, reproducible, and secure by design.</em></p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5e043676e2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Resilient WordPress Application Using Docker Swarm on AWS]]></title>
            <link>https://medium.com/@bdogforlina98/deploying-a-resilient-wordpress-application-using-docker-swarm-on-aws-a20a56c271a5?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/a20a56c271a5</guid>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 06:04:57 GMT</pubDate>
            <atom:updated>2026-01-25T06:04:57.568Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3EpYT7T4ZnIHzy7212r6dQ.png" /></figure><h3>A hands-on demonstration of container orchestration, networking, and persistent storage</h3><p>As part of my hands-on cloud and container learning, I built and deployed a highly available WordPress application using Docker Swarm, entirely from the command line. The goal of this project was to demonstrate real-world container orchestration concepts including multi-node clustering, service replication, network isolation, and persistent storage — all skills directly applicable to production environments.</p><p>This project simulates how modern applications are deployed and managed in distributed systems, not just how containers run locally.</p><h3>Project Objectives</h3><p>The core requirements of this project were:</p><ul><li>Deploy a 3-node Docker Swarm cluster</li><li>Create isolated frontend and backend networks</li><li>Deploy a MySQL database service</li><li>Single replica</li><li>Persistent data using Docker volumes</li><li>Resilient to container restarts</li><li>Deploy a WordPress service</li><li>3 replicas for high availability</li><li>Accessible via browser on port 80</li><li>Connected to the MySQL backend</li><li>Complete the entire setup using the Docker CLI</li></ul><h3>Architecture Overview</h3><p>The final architecture consisted of:</p><ul><li><strong>Docker Swarm Cluster</strong></li><li>1 Manager node</li><li>2 Worker nodes</li><li><strong>Overlay Networks</strong></li><li>frontend_net for WordPress traffic</li><li>backend_net for database communication</li><li><strong>Services</strong></li><li>MySQL (1 replica, persistent volume)</li><li>WordPress (3 replicas, load-balanced automatically by Swarm)</li></ul><p>Docker Swarm’s built-in service discovery and routing mesh handled load balancing across WordPress replicas without requiring an external load balancer.</p><h3>Step 1: Initializing the Docker Swarm Cluster</h3><p>On the manager node, I initialized Docker Swarm using the CLI:</p><pre>docker swarm init</pre><p>This generated a join token, which I used to add the two worker nodes:</p><pre>docker swarm join --token &lt;worker-token&gt; &lt;manager-ip&gt;:2377</pre><p>Once complete, I verified the cluster state:</p><pre>docker node ls</pre><p>This confirmed a healthy 3-node Swarm cluster.</p><h3>Step 2: Creating Overlay Networks</h3><p>To properly isolate traffic and follow best practices, I created two overlay networks:</p><pre>docker network create --driver overlay frontend_net<br>docker network create --driver overlay backend_net</pre><ul><li><strong>frontend_net</strong> handles incoming web traffic</li><li><strong>backend_net</strong> isolates database communication</li></ul><p>This separation improves both <strong>security and maintainability</strong>.</p><h3>Step 3: Deploying the MySQL Service with Persistent Storage</h3><p>To ensure the database data would survive container restarts or rescheduling, I used a Docker volume.</p><pre>docker volume create mysql_data</pre><p>I then deployed the MySQL service:</p><pre>docker service create \<br>  --name mysql \<br>  --replicas 1 \<br>  --network backend_net \<br>  --mount type=volume,source=mysql_data,target=/var/lib/mysql \<br>  -e MYSQL_ROOT_PASSWORD=examplepassword \<br>  -e MYSQL_DATABASE=wordpress \<br>  -e MYSQL_USER=wpuser \<br>  -e MYSQL_PASSWORD=wppassword \<br>  mysql:5.7</pre><p>Key design decisions:</p><ul><li>Only 1 replica, as MySQL is stateful</li><li>Persistent storage using volumes</li><li>Isolated backend network</li></ul><p>This configuration ensures the database remains intact even if the container is recreated.</p><h3>Step 4: Deploying the WordPress Service</h3><p>Next, I deployed WordPress with <strong>3 replicas</strong> for availability and scalability.</p><pre>docker service create \<br>  --name wordpress \<br>  --replicas 3 \<br>  --network frontend_net \<br>  --network backend_net \<br>  -p 80:80 \<br>  -e WORDPRESS_DB_HOST=mysql:3306 \<br>  -e WORDPRESS_DB_USER=wpuser \<br>  -e WORDPRESS_DB_PASSWORD=wppassword \<br>  -e WORDPRESS_DB_NAME=wordpress \<br>  wordpress:latest</pre><p>Highlights:</p><ul><li>Docker Swarm automatically load-balances traffic across replicas</li><li>WordPress is exposed via port 80</li><li>Service discovery allows WordPress to connect to MySQL using the service name (mysql)</li></ul><h3>Step 5: Application Setup and Verification</h3><p>After deployment, I accessed the application via the manager node’s public IP address in the browser.</p><p>From there, I completed the WordPress installation by confirming the database connection and creating the admin account. Docker Swarm handled routing seamlessly across all three WordPress replicas.</p><p>To verify resiliency, I:</p><ul><li>Restarted containers</li><li>Observed automatic rescheduling</li><li>Confirmed database persistence</li></ul><p>The application remained fully functional throughout.</p><h3>Key Takeaways</h3><p>This project reinforced several production-grade concepts:</p><ul><li>Container orchestration using Docker Swarm</li><li>Service replication for high availability</li><li>Overlay networking for secure service isolation</li><li>Persistent storage for stateful services</li><li>CLI-driven infrastructure management</li></ul><p>Most importantly, it demonstrated how containerized applications behave in distributed environments, not just on a single machine.</p><p>LINEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a20a56c271a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Docker Swarm as a Junior Engineer]]></title>
            <link>https://medium.com/@bdogforlina98/setting-up-docker-swarm-as-a-junior-engineer-f54e0daaed70?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/f54e0daaed70</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 17:41:26 GMT</pubDate>
            <atom:updated>2026-01-18T17:41:26.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XUy7Gy77DUdRHWT_mFpWjQ.png" /></figure><h3>Why I Built This</h3><p>As a junior engineer on this project, my responsibility was to configure Docker Swarm and provide my team with a clear, repeatable guide for setting it up from scratch.</p><p>I intentionally approached this as if:</p><ul><li>New engineers had<strong> </strong>never installed Docker</li><li>Team members were connecting remotely via VS Code + SSH</li><li>The environment needed to be easy to understand, validate, and troubleshoot</li></ul><p>This article walks through exactly how I set up a Docker Swarm cluster using one manager node and two worker nodes, focusing on clarity, verification, and best practices.</p><h3>Architecture Overview</h3><ul><li>1 Manager (Master) Node</li><li>2 Worker Nodes</li><li>All nodes:</li><li>Run Docker Engine</li><li>Share the same security group</li><li>Are accessed via SSH in VS Code</li><li>Docker Swarm is initialized on the manager and joined by the workers</li></ul><h3>Step 1: SSH Into Each Host Using VS Code</h3><p>I used VS Code’s Remote — SSH extension to connect to each EC2 instance.</p><p>This allowed me to:</p><ul><li>Manage multiple terminals cleanly</li><li>Copy commands consistently across nodes</li><li>Avoid local environment inconsistencies</li></ul><p>Each node was accessed using its public IP and my SSH key.</p><h3>Step 2: Install Docker on All Hosts</h3><p>Since I assumed new team members may not have Docker installed, I started from zero on every node.</p><p>On each instance, I ran:</p><pre>sudo apt update -y<br>sudo apt install -y docker.io</pre><p>This ensures:</p><ul><li>The system is up to date</li><li>Docker is installed directly from the package manager</li></ul><h3>Step 3: Verify Docker Is Running and Enabled</h3><p>After installation, Docker is not always running by default. I explicitly started and enabled it:</p><pre>sudo systemctl start docker<br>sudo systemctl enable docker</pre><p>To verify Docker was active:</p><pre>sudo systemctl status docker</pre><p>At this point, each node confirmed:</p><ul><li>Docker service was active (running)</li><li>Docker would persist across reboots</li></ul><h3>Step 4: Change Hostnames to Identify Each Node</h3><p>To avoid confusion later, I renamed each host so the role of every node was immediately obvious.</p><h3>Manager Node</h3><pre>sudo hostnamectl set-hostname swarm-manager</pre><h3>Worker Nodes</h3><pre>sudo hostnamectl set-hostname swarm-worker-1</pre><pre>sudo hostnamectl set-hostname swarm-worker-2</pre><p>After reconnecting, the terminal prompt clearly showed which node I was working on, reducing human error.</p><h3>Step 5: Validate All Nodes Share the Same Security Group</h3><p>Before creating the Swarm, I confirmed:</p><ul><li>All three instances were in the same VPC</li><li>All shared the same security group</li></ul><p>This is critical because Docker Swarm requires open communication between nodes.</p><p>At minimum, the security group allowed:</p><ul><li>SSH (22)</li><li>Docker Swarm ports (including 2377, 7946, 4789)</li></ul><p>Without this, worker nodes would fail to join the Swarm.</p><h3>Step 6: Add My SSH Key to Each Node</h3><p>To ensure seamless access, I verified my SSH key was present on <strong>all instances</strong>.</p><p>This allowed me to:</p><ul><li>Switch between nodes quickly</li><li>Avoid permission issues</li><li>Demonstrate the setup easily to teammates</li></ul><p>Each node accepted SSH connections without manual intervention.</p><h3>Step 7: Run a Test Container Using the Docker CLI</h3><p>Before creating the Swarm, I validated Docker functionality by running a container:</p><pre>sudo docker run hello-world</pre><p>This confirmed:</p><ul><li>Docker was installed correctly</li><li>Images could be pulled</li><li>Containers could execute successfully</li></ul><p>I repeated this check on all three nodes.</p><h3>Step 8: Initialize Docker Swarm on the Manager Node</h3><p>On the manager node only, I initialized Docker Swarm:</p><pre>sudo docker swarm init</pre><p>This command:</p><ul><li>Designated the current node as the <strong>Swarm Manager</strong></li><li>Generated a <strong>join token</strong> for worker node</li></ul><p>Docker returned a command similar to:</p><pre>docker swarm join --token &lt;TOKEN&gt; &lt;MANAGER-IP&gt;:2377</pre><h3>Step 9: Join the Worker Nodes to the Swarm</h3><p>On each worker node, I ran the join command provided by the manager:</p><pre>sudo docker swarm join --token &lt;TOKEN&gt; &lt;MANAGER-IP&gt;:2377</pre><p>Each worker responded with a confirmation that it successfully joined the Swarm.</p><h3>Step 10: Verify the Docker Swarm Nodes</h3><p>Back on the manager node, I verified the cluster status:</p><pre>sudo docker node ls</pre><p>The output showed:</p><ul><li>1 manager node (Leader)</li><li>2 worker nodes (Ready, Active)</li></ul><p>This confirmed the Swarm was correctly configured and fully operational.</p><h3>Final Result</h3><p>By the end of this setup:</p><ul><li>Docker was installed and running on all hosts</li><li>Nodes were clearly identified by hostname</li><li>Network and security configuration was validated</li><li>Docker Swarm was successfully created</li><li>The cluster status was visible and verifiable</li></ul><p>Most importantly, the process was simple enough for new engineers to follow without prior Docker experience.</p><h3>What This Demonstrates to Future Employers</h3><p>This project demonstrates my ability to:</p><ul><li>Follow infrastructure requirements precisely</li><li>Think from a team onboarding perspective</li><li>Configure container orchestration at the system level</li><li>Validate, document, and explain technical setups clearly</li><li>work confidently in AWS, Docker, Linux, and VS Code environments</li></ul><p>As a junior engineer, my goal was not just to “make it work,” but to make it understandable, repeatable, and production-aware.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f54e0daaed70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Persisting Jenkins with Docker Volumes]]></title>
            <link>https://medium.com/@bdogforlina98/persisting-jenkins-with-docker-volumes-5de32b65d11d?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/5de32b65d11d</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 04:36:18 GMT</pubDate>
            <atom:updated>2026-01-12T04:36:18.275Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EyAYFQqvgFqrCiWnc9n7Gw.png" /></figure><h3>Project Overview</h3><p>In this project, I:</p><ul><li>Pulled the official Jenkins LTS image from Docker Hub</li><li>Created a Docker volume to persist Jenkins data</li><li>Ran Jenkins with the correct port mapping and volume mount</li><li>Retrieved the initial admin password from the container</li><li>Completed Jenkins setup and created a new user</li><li>Removed the container and launched a new one using the same volume</li><li>Verified that Jenkins data persisted by logging in with the previously created user</li></ul><p>This mirrors how Jenkins is typically deployed in containerized environments before being moved into ECS, EKS, or Kubernetes.</p><h3>Step 1: Pulling the Jenkins LTS Image</h3><p>I started by pulling the official <strong>Long-Term Support (LTS)</strong> Jenkins image. Using the LTS version is a best practice in production environments because it prioritizes stability over experimental features.</p><p>This ensures compatibility with plugins and reduces unexpected upgrade issues.</p><h3>Step 2: Creating a Docker Volume for Persistence</h3><p>Next, I created a <strong>Docker volume</strong> dedicated to Jenkins data.</p><p>Jenkins stores critical information such as:</p><ul><li>User accounts</li><li>Job configurations</li><li>Installed plugins</li><li>Build history</li></ul><p>By storing this data in a volume instead of inside the container filesystem, Jenkins can survive container restarts, deletions, or image upgrades — an essential requirement in real-world deployments.</p><h3>Step 3: Running Jenkins with the Volume and Port Mapping</h3><p>I then ran the Jenkins container while:</p><ul><li>Mounting the Docker volume to /var/jenkins_home</li><li>Exposing port <strong>8080</strong> for the Jenkins UI</li></ul><p>This setup cleanly separates application runtime (container) from stateful data (volume), aligning with container best practices.</p><p>At this point, Jenkins was fully accessible via the browser.</p><h3>Step 4: Retrieving the Initial Admin Password</h3><p>When Jenkins starts for the first time, it generates a temporary admin password inside the container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jf3DbRCgEdEy6LfpPKc8Lw.png" /></figure><p>Using the CLI, I retrieved this password directly from the running container. This step shows comfort with:</p><ul><li>Inspecting running containers</li><li>Executing commands inside containers</li><li>Understanding Jenkins’ security bootstrapping process</li></ul><h3>Step 5: Initial Jenkins Setup and User Creation</h3><p>After logging in with the admin password, I:</p><ul><li>Completed the Jenkins setup wizard</li><li>Installed the recommended plugins</li><li>Created a new permanent Jenkins user</li></ul><p>This step was important for validation later — if the user still existed after recreating the container, persistence was working correctly.</p><h3>Step 6: Recreating the Jenkins Container</h3><p>To truly test persistence, I stopped and removed the Jenkins container entirely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*rCvZF1AeZNlfgvEsV2SIpg.png" /></figure><p>Then, I launched a new Jenkins container:</p><ul><li>Using the same Docker image</li><li>Mounting the same Docker volume</li><li>Mapping the same port</li></ul><p>From Docker’s perspective, this was a brand-new container.</p><h3>Step 7: Verifying Data Persistence</h3><p>After launching the new container, I accessed Jenkins in the browser and logged in using the <strong>user I created earlier</strong>.</p><p>The result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SolPDwAslvb0WXblO7roAg.png" /></figure><p>1. User account still existed<br>2. Jenkins configuration was intact<br>3. No reinitialization was required</p><p>This confirmed that Jenkins data was successfully persisted outside the container lifecycle.</p><h3>Why This Matters in Production</h3><p>This project demonstrates key DevOps principles that apply directly to production systems:</p><ul><li>Immutable infrastructure — containers can be destroyed and recreated safely</li><li>State separation — application state lives outside containers</li><li>Disaster recovery readiness — Jenkins can recover quickly from failures</li><li>Foundation for orchestration — this same pattern applies to ECS, EKS, and Kubernetes</li></ul><p>Without persistent storage, Jenkins restarts would mean lost pipelines, users, and configuration — an unacceptable risk in real CI/CD systems.</p><h3>What This Project Shows About Me</h3><p>From a hiring perspective, this project shows that I:</p><ul><li>Understand Docker volumes and container lifecycle management</li><li>Can deploy Jenkins in a production-aware way</li><li>Am comfortable working entirely from the command line</li><li>Think beyond “getting it running” and focus on reliability and persistence</li><li>Build systems using patterns that scale to cloud-native environments</li></ul><h3>Final Thoughts</h3><p>Simple projects, when done <em>correctly</em>, reveal real DevOps understanding.</p><p>By containerizing Jenkins and persisting its data properly, I demonstrated practical skills that translate directly to production systems — skills I bring into every environment I work in.</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5de32b65d11d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying an Apache Web Server in a Dockerized Ubuntu Container on AWS EC2]]></title>
            <link>https://medium.com/@bdogforlina98/deploying-an-apache-web-server-in-a-dockerized-ubuntu-container-on-aws-ec2-aa20455ee342?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa20455ee342</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[apache]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 14:21:51 GMT</pubDate>
            <atom:updated>2026-01-05T14:21:51.211Z</atom:updated>
            <content:encoded><![CDATA[<p>A hands-on project demonstrating Docker fundamentals, Linux administration, and AWS networking</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aQtcKRpMJsWFZq94SoyGUQ.png" /></figure><h3>Project Overview</h3><p>In this project, I designed and deployed a containerized web server using Docker, Ubuntu, and Apache, hosted on an AWS EC2 instance.</p><p>The purpose of this project was to demonstrate practical, hands-on experience with:</p><ul><li>Running and managing Linux-based containers</li><li>Using Bash for system administration tasks</li><li>Installing and configuring services inside minimal container images</li><li>Understanding Docker port mapping and networking</li><li>Exposing containerized applications securely through AWS Security Groups</li></ul><p>Rather than using a preconfigured web server image, I intentionally selected a minimal Ubuntu base image to showcase a deeper understanding of container internals and Linux fundamentals.</p><h3>Architecture Summary</h3><p>The final architecture consisted of the following components:</p><ul><li>AWS EC2 instance (Amazon Linux) acting as the Docker host</li><li>Docker running a detached Ubuntu container</li><li>Apache2 installed and managed inside the container</li><li>Custom HTML webpage served via HTTP</li><li>AWS Security Group rules allowing inbound traffic on port 80</li></ul><p>Request flow:<br> Browser → EC2 Public IP → Docker port mapping → Apache service inside the Ubuntu container</p><p>This mirrors a common real-world deployment pattern for containerized applications running on cloud infrastructure.</p><h3>Implementation Details</h3><h3>1. Environment Preparation</h3><p>I began by connecting to an existing AWS EC2 instance with Docker already installed and running. After verifying that the Docker daemon was active, I confirmed that all Docker commands were executed directly on the EC2 host system.</p><p>This step reinforced an important operational concept: Docker commands must be run from the host environment where the Docker daemon is available, not from within another container or restricted shell.</p><h3>2. Launching the Ubuntu Container</h3><p>Using the official Ubuntu LTS image, I started a container in detached mode and mapped port 80 on the EC2 host to port 80 inside the container.</p><p>Because Ubuntu containers do not run services by default, I kept the container alive using a long-running command. This allowed me to manually configure the container, similar to provisioning a traditional Linux server.</p><h3>3. Updating System Packages</h3><p>After accessing the container using an interactive Bash shell, I updated and upgraded all system packages using the Ubuntu package manager.</p><p>This step highlights a key distinction between containers and managed services: containers do not automatically receive updates and must be explicitly maintained.</p><h3>4. Installing and Managing Apache</h3><p>I installed Apache2 directly inside the container using Bash and started the service manually.</p><p>This demonstrated:</p><ul><li>Familiarity with Linux service management</li><li>An understanding that containers do not automatically manage background processes</li><li>Awareness of how web servers behave inside containerized environments</li></ul><h3>5. Deploying a Custom Web Page</h3><p>To validate the deployment, I replaced Apache’s default landing page with a custom HTML file. This confirmed that:</p><ul><li>Apache was running correctly</li><li>The document root was properly configured</li><li>Requests were being served from the expected filesystem location</li></ul><h3>6. Configuring AWS Networking</h3><p>To make the application accessible externally, I updated the EC2 Security Group to allow inbound HTTP traffic on port 80.</p><p>This step connected container-level configuration with AWS-level security controls and demonstrated an understanding of how cloud networking and container networking must work together to expose applications safely.</p><h3>Results</h3><p>After completing the configuration, I successfully accessed the custom web page from a local browser using the EC2 public IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*owGQwS2iVGeXILC9t6Wd2g.png" /></figure><p>This verified:</p><ul><li>Docker port mapping was functioning correctly</li><li>Apache was serving content as expected</li><li>AWS Security Group rules were correctly applied</li><li>End-to-end connectivity from browser to container was working</li></ul><h3>Key Learnings</h3><p>This project reinforced several foundational engineering principles:</p><ul><li>Minimal container images require explicit configuration</li><li>Linux system administration skills remain essential in containerized environments</li><li>Cloud networking and security controls are critical to application accessibility</li><li>Understanding fundamentals improves troubleshooting and deployment reliability</li></ul><p>Most importantly, this project demonstrates an ability to diagnose issues across multiple layers — operating system, container runtime, and cloud infrastructure — and deliver a functional solution.</p><h3>Potential Enhancements</h3><p>Future improvements to this project could include:</p><ul><li>Creating a Dockerfile to automate the container build</li><li>Running Apache in the foreground for production readiness</li><li>Deploying the container to Amazon ECS instead of EC2</li><li>Adding HTTPS using a load balancer</li><li>Automating deployment using CI/CD pipelines</li></ul><h3>Conclusion</h3><p>This project reflects a practical, fundamentals-first approach to containerization and cloud deployment. By intentionally working with a minimal base image and configuring services manually, I demonstrated an understanding of how Docker, Linux, and AWS interact in real-world environments.</p><p>The skills applied in this project translate directly to production scenarios involving containerized applications, infrastructure management, and cloud-native deployments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa20455ee342" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built an AI-Powered Resume CI/CD Pipeline on AWS]]></title>
            <link>https://medium.com/@bdogforlina98/how-i-built-an-ai-powered-resume-ci-cd-pipeline-on-aws-e14e79a44b58?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/e14e79a44b58</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 04:02:54 GMT</pubDate>
            <atom:updated>2025-12-28T04:02:54.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E6oqpcp1QUqn7ioh9kuuXg.png" /></figure><p>As a DevOps engineer in the making, I wanted to build a portfolio project that combined my love for automation, cloud technologies, and AI. The goal was simple: treat my own resume as “production code” and build a CI/CD pipeline that could automatically convert it into a professional website, analyze it for ATS readiness, and deploy it safely to the cloud.</p><p>Here’s how I approached this project and what I learned along the way.</p><h3>The Problem I Wanted to Solve</h3><p>Resumes are static by nature, but modern tech should allow for dynamic, automated processes. I wanted a system that would:</p><ol><li>Convert Markdown resume files into a professional HTML website automatically.</li><li>Analyze my resume for Applicant Tracking System (ATS) readiness.</li><li>Deploy it safely to AWS with clear separation between beta and production environments.</li><li>Track all deployments and analyses for auditability<strong>.</strong></li></ol><p>Essentially, I wanted to apply DevOps principles to my own career portfolio.</p><h3>Technologies I Used</h3><p>To make this project real, I leveraged the following:</p><ul><li><strong>AWS Services:</strong> S3, DynamoDB, IAM, CloudFormation</li><li><strong>Python:</strong> Scripts to handle AI processing (boto3, openai)</li><li><strong>AI:</strong> OpenAI GPT-4.1 for HTML generation and ATS analysis</li><li><strong>CI/CD:</strong> GitHub Actions workflows for pull requests and main branch merges</li><li><strong>Infrastructure as Code:</strong> CloudFormation to manage AWS resources programmatically</li></ul><p>This combination allowed me to fully automate the flow from <strong>code → cloud → live website</strong>.</p><h3>Step 1: The Resume as Source Code</h3><p>I started by writing my resume in Markdown (resume.md). This file became the source of truth, just like any other production code. Markdown is simple, readable, and easy for scripts to process, which made it ideal for automation.</p><h3>Step 2: AI-Powered HTML Generation</h3><p>I wrote a Python script, generate_html.py, that:</p><ul><li>Reads the Markdown resume</li><li>Calls OpenAI GPT-4.1 to generate semantic, ATS-optimized HTML</li><li>Outputs a polished index.html file ready for deployment</li></ul><p>This step gave me a fully automated way to update my website anytime I changed my resume.</p><h3>Step 3: ATS Analysis</h3><p>Next, I wanted to ensure that my resume was <strong>friendly for modern Applicant Tracking Systems</strong>, which often filter resumes before they reach a human.</p><p>I created analyze_resume.py, another Python script that:</p><ul><li>Sends the Markdown content to OpenAI for analysis</li><li>Returns structured JSON containing:</li><li>Word count</li><li>ATS score</li><li>Keywords</li><li>Missing sections</li><li>Readability level</li></ul><p>These results are stored in DynamoDB, giving me a historical record of resume quality over time.</p><h3>Step 4: CI/CD Automation with GitHub Actions</h3><p>I configured <strong>GitHub Actions</strong> to automate the entire process:</p><ul><li>Pull Requests: Trigger a beta deployment</li><li>Run AI scripts</li><li>Upload HTML to s3://bucket/beta/index.html</li><li>Log deployment &amp; analysis to DynamoDB</li><li>Merge to Main<strong>:</strong> Promote beta → production</li><li>Copy HTML to s3://bucket/prod/index.html</li><li>Log production deployment</li><li>Preserve analytics</li></ul><p>This setup mirrors a professional DevOps workflow with clear environment separation.</p><h3>Step 5: Infrastructure as Code with CloudFormation</h3><p>All AWS resources were managed through <strong>CloudFormation</strong>:</p><ul><li>S3 bucket with beta/ and prod/ folders</li><li>DynamoDB tables for deployment tracking and resume analytics</li><li>IAM roles for secure GitHub Actions access</li></ul><p>Using CloudFormation ensures that the entire system is reproducible, auditable, and version-controlled, just like any enterprise infrastructure.</p><h3>Step 6: Deployment and Results</h3><p>Once everything was set up:</p><ol><li>I made a small change to my resume and pushed it to a <strong>feature branch</strong>.</li><li>GitHub Actions automatically ran the <strong>beta pipeline</strong>, generating HTML and analyzing the resume.</li><li>After reviewing the beta site, I merged into <strong>main</strong>, which triggered the production deployment.</li><li>My live website was updated instantly, with analytics stored in DynamoDB for future reference.</li></ol><h3>Key Takeaways</h3><p>This project allowed me to:</p><ul><li>Apply DevOps practices to real-world tasks</li><li>Build a serverless, automated pipeline using AWS and GitHub Actions</li><li>Learn how to securely manage secrets in GitHub workflows</li><li>Combine AI automation with infrastructure as code</li><li>Create a portfolio-ready, live resume website</li></ul><h3>Why This Matters for Future Employers</h3><p>This project demonstrates that I can:</p><ul><li>Build end-to-end automated solutions</li><li>Think like a DevOps engineer, not just a developer</li><li>Combine AI, cloud, and CI/CD to solve real problems</li><li>Document and track work professionally for audit and analytics</li></ul><h3>Conclusion</h3><p>This project turned my resume into a dynamic portfolio piece while giving me hands-on experience in AWS, Python, GitHub Actions, AI integration, and DevOps best practices. It’s now a conversation starter for interviews and a proof of my ability to build full-stack automation pipelines.</p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e14e79a44b58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying AI Prompts with Amazon Bedrock Using a GitHub CI/CD Pipeline]]></title>
            <link>https://medium.com/@bdogforlina98/deploying-ai-prompts-with-amazon-bedrock-using-a-github-ci-cd-pipeline-04a4b6b11113?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/04a4b6b11113</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[bedrock]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Sun, 14 Dec 2025 13:23:16 GMT</pubDate>
            <atom:updated>2025-12-14T13:23:16.935Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XZ9GZQUOgmEpP4YXNFmEoQ.png" /></figure><h3>Project Overview</h3><p>This project demonstrates how AI prompts can be treated like deployable assets, just like application code. By combining Amazon Bedrock, Anthropic Claude 3 Sonnet, Python, GitHub Actions, and S3 static website hosting, I built a full pipeline that turns prompt configurations into deployed AI-generated content.</p><h3>What This System Does</h3><p>At a high level, this pipeline:</p><ul><li>Reads structured prompt configuration files (JSON)</li><li>Injects variables into reusable prompt templates</li><li>Sends the rendered prompt to Claude 3 Sonnet on Amazon Bedrock</li><li>Saves the model output as .html or .md</li><li>Automatically uploads the result to an S3 bucket</li><li>Uses GitHub CI/CD to deploy to beta or prod environments</li></ul><p>The key idea is that prompt changes trigger deployments, just like application changes would.</p><h3>High-Level Architecture</h3><p>The system is built around a clean and modular flow:</p><ol><li>GitHub Repository stores prompts, templates, and pipeline logic</li><li>GitHub Actions runs the automation</li><li>Amazon Bedrock handles AI inference using Claude 3 Sonnet</li><li>Amazon S3 hosts the generated content as a static website</li></ol><p>Pull requests deploy to a beta/ prefix, while merges to main deploy to prod/.</p><h3>Prompt-as-Code Design</h3><p>I designed prompts as two separate components:</p><h3>1. Prompt Configuration Files</h3><p>Each prompt has a JSON config that defines:</p><ul><li>Which template to use</li><li>Output file name</li><li>Variable values</li></ul><p>This allows non-code changes — like updating a name or topic — without touching Python logic.</p><h3>2. Prompt Templates</h3><p>Templates use simple placeholders (e.g. {{name}}) and can be reused across multiple configs. This makes the system scalable and easy to maintain.</p><p>Together, this creates a flexible <strong>p</strong>rompt-as-code pattern that works well in team environments.</p><h3>Amazon Bedrock Integration</h3><p>For inference, I explicitly used:</p><ul><li>Model: Claude 3 Sonnet</li><li>Model ID: anthropic.claude-3-sonnet-20240229-v1:0</li></ul><p>The request payload strictly follows Anthropic’s Bedrock message format. This was intentional — understanding and respecting provider-specific schemas is critical in production AI systems.</p><p>Using Amazon Bedrock also allowed me to:</p><ul><li>Avoid managing API keys</li><li>Leverage AWS-native security (IAM)</li><li>Keep everything inside a single cloud ecosystem</li></ul><h3>CI/CD with GitHub Actions</h3><p>The CI/CD design mirrors how real teams separate environments:</p><h3>Pull Request Workflow → Beta</h3><p>When a pull request targets the main branch:</p><ul><li>GitHub Actions executes the Python script</li><li>Prompts are processed</li><li>Outputs are uploaded to the beta S3 bucket prefix</li></ul><p>This makes it easy to review AI-generated content before release.</p><h3>Merge to Main → Production</h3><p>When changes are merged:</p><ul><li>The same pipeline runs</li><li>Outputs are uploaded to the prod S3 bucket prefix</li></ul><p>No manual steps. No credential exposure. Fully automated.</p><h3>Secure Credential Management</h3><p>Security was a first-class concern in this project.</p><p>All sensitive values are stored as GitHub Actions secrets, including:</p><ul><li>AWS access keys</li><li>Region</li><li>S3 bucket names</li></ul><p>The Python code never contains credentials, which mirrors real-world best practices.</p><h3>Why S3 Static Website Hosting</h3><p>Using S3 static hosting makes the output immediately usable:</p><ul><li>AI-generated HTML pages are instantly viewable</li><li>Markdown files can be rendered downstream</li><li>No servers or containers are required</li></ul><p>This keeps the architecture simple, cost-effective, and scalable.</p><h3>What This Project Demonstrates</h3><p>This project showcases my ability to:</p><ul><li>Design production-style CI/CD pipelines</li><li>Integrate Amazon Bedrock and large language models</li><li>Treat prompts as deployable, version-controlled assets</li><li>Securely manage cloud credentials</li><li>Build automated AI systems that scale cleanly from beta to prod</li></ul><p>Most importantly, it demonstrates how AI can be operationalized — not just experimented with.</p><h3>Final Thoughts</h3><p>AI systems don’t become valuable when they generate a response — they become valuable when they are reliable, repeatable, and deployable.</p><p>This project reflects how I think about building AI-powered systems in the real world: structured, automated, secure, and easy for teams to extend.</p><p>If you’re a hiring manager, this is exactly how I approach cloud and AI engineering problems — from idea to production.</p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04a4b6b11113" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an Automated Audio Processing Pipeline with GitHub Actions and AWS]]></title>
            <link>https://medium.com/@bdogforlina98/building-an-automated-audio-processing-pipeline-with-github-actions-and-aws-44c797d2285e?source=rss-bb331359ed06------2</link>
            <guid isPermaLink="false">https://medium.com/p/44c797d2285e</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Brandon Forlina]]></dc:creator>
            <pubDate>Sun, 07 Dec 2025 02:37:02 GMT</pubDate>
            <atom:updated>2025-12-07T02:37:02.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Abxhj2iiEy083v6bf5HUSA.png" /></figure><h3>Introduction</h3><p>For this project, I set out to design and deploy a fully automated GitHub-based CI/CD pipeline<strong> </strong>that transforms raw .mp3 audio files into usable text, translations, and regenerated speech using Amazon Transcribe, Translate, and Polly.</p><p>My goal was simple:<br> Create a secure, reliable, and production-ready workflow where audio files are automatically processed and stored in a well-structured S3 bucket — without ever running anything manually<strong>.</strong></p><p>This article walks through each step of the project from my perspective as the developer, highlighting the architecture, the reasoning behind key decisions, and what I learned building an audio automation system end-to-end.</p><h3>1. Defining the Problem &amp; Project Goals</h3><p>I wanted a pipeline that could:</p><ul><li>Take one or more .mp3 files</li><li>Automatically transcribe them to text with Amazon Transcribe</li><li>Translate the text into a configurable target language with Amazon Translate</li><li>Convert the translated text back into audio using Amazon Polly</li><li>Organize all results in structured S3 prefixes<br> (e.g., beta/transcripts/ vs prod/audio_outputs/)</li><li>Fully automate the process using GitHub Actions</li><li>Never store any AWS credentials in code</li></ul><p>From the start, I knew this meant designing the workflow around <strong>three pillars</strong>:</p><ol><li><strong>Automation</strong> — GitHub Actions should handle everything.</li><li><strong>Security</strong> — GitHub Secrets for all AWS credentials.</li><li><strong>Scalability</strong> — S3 prefix structure and clean Python organization.</li></ol><h3>2. Project Structure &amp; Repository Layout</h3><p>Before writing any Python, I organized the repo to keep automation clean:</p><pre>/<br>├── audio_inputs/<br>│   └── *.mp3<br>├── process_audio.py<br>├── requirements.txt<br>├── .github/workflows/<br>│   ├── on_pull_request.yml<br>│   └── on_merge.yml<br>└── README.md</pre><p><strong>Why this structure?</strong></p><ul><li>audio_inputs/ gives GitHub Actions a predictable place to scan for new audio.</li><li>Two workflows (PR and Merge) let me safely test in <strong>beta</strong> before sending outputs to <strong>prod</strong>.</li><li>One Python script keeps logic centralized and easy to adjust.</li></ul><h3>3. Building the Core Python Processing Script</h3><p>My Python script (process_audio.py) became the heart of the pipeline. It needed to:</p><ol><li>Upload the audio file to S3</li><li>Launch a Transcribe job</li><li>Extract the transcript</li><li>Translate the transcript into a target language</li><li>Use Polly to generate spoken audio in that language</li><li>Upload all output files back to S3 in structured prefixes.</li></ol><p>I also made the script beginner-friendly and credential-safe by reading configurations through environment variables, including:</p><ul><li>AWS_REGION</li><li>S3_BUCKET</li><li>TARGET_LANGUAGE (e.g., &quot;es&quot; for Spanish)</li><li>PREFIX (&quot;beta&quot; or &quot;prod&quot;)</li></ul><p>This allowed the GitHub workflows to control where files went simply by setting environment variables.</p><h3>4. Setting Up the S3 Bucket Structure</h3><p>I designed a clean, production-friendly layout inside S3:</p><pre>s3://your-bucket/<br>    ├── beta/<br>    │   ├── audio_outputs/<br>    │   ├── transcripts/<br>    │   └── translations/<br>    └── prod/<br>        ├── audio_outputs/<br>        ├── transcripts/<br>        └── translations/</pre><p>My reasoning:</p><ul><li>Beta acts as a safe, sandbox environment triggered by pull requests.</li><li>Prod only runs on merges to the main branch.</li><li>Each output gets its own folder:</li><li>Transcripts → transcripts/filename.txt</li><li>Translations → translations/filename_lang.txt</li><li>Generated Audio → audio_outputs/filename_lang.mp3</li></ul><p>This clear separation made debugging, auditing, and cleanup much easier.</p><h3>5. Setting Up Transcribe, Translate, and Polly</h3><p>Before automating anything, I configured AWS services that the pipeline depends on:</p><h3>Amazon Transcribe</h3><ul><li>Enabled transcription for .mp3 audio</li><li>Chose an English base language for my sample files</li><li>Set up permissions so GitHub Actions could launch jobs</li></ul><h3>Amazon Translate</h3><ul><li>Verified supported language codes</li><li>Tested translations manually to confirm the output quality</li></ul><h3>Amazon Polly</h3><ul><li>Selected a voice for the target language</li><li>Ensured the audio format matched .mp3</li></ul><p>By validating each service manually first, I prevented silent failures once automation began.</p><h3>6. Securing the Project with GitHub Secrets</h3><p>To protect all AWS credentials, I stored everything inside the repo’s GitHub Secrets:</p><ul><li>AWS_ACCESS_KEY_ID</li><li>AWS_SECRET_ACCESS_KEY</li><li>AWS_REGION</li><li>S3_BUCKET</li></ul><p>This allowed GitHub Actions to authenticate securely without exposing sensitive values in code.</p><p>I also intentionally <em>never</em> committed AWS configs, ensuring the project followed industry security best practices.</p><h3>7. Building the CI/CD Workflows</h3><p>This was the part where everything came together.</p><h3>Pull Request Workflow (Beta Environment)</h3><p>/.github/workflows/on_pull_request.yml</p><p>This workflow runs whenever a pull request targets the main branch.<br> Its purpose: test audio processing in a safe beta environment<strong>.</strong></p><p>It:</p><ul><li>Installs Python dependencies</li><li>Runs the audio processing script</li><li>Uploads results to the S3 beta/ prefix</li></ul><p>This gave me full confidence that any change to the pipeline worked before merging.</p><h3>Merge Workflow (Production Environment)</h3><p>/.github/workflows/on_merge.yml</p><p>Triggered when a pull request is merged into main.<br> Its purpose: run the production pipeline<strong>.</strong></p><p>It performs the same actions, but with:</p><pre>PREFIX=prod</pre><p>This ensures production results stay clean, stable, and separate from testing.</p><h3>8. Documentation &amp; Final Polish</h3><p>Finally, I created a README.md with clear setup instructions:</p><ul><li>How to enable Transcribe, Translate, Polly</li><li>How to configure GitHub Secrets</li><li>How to add .mp3 files to the audio_inputs/ folder</li><li>How workflows automatically process everything</li><li>How to verify results in S3</li></ul><p>My goal was to make the project easy for anyone — developers, managers, or recruiters — to understand.</p><h3>9. Key Takeaways From the Project</h3><p>This project strengthened several of my skills:</p><h3>• CI/CD Automation Best Practices</h3><p>I used PR-based testing followed by clean production deployment.</p><h3>• AWS Audio Processing at Scale</h3><p>I learned how to orchestrate multiple AWS AI services together using Python.</p><h3>• Infrastructure Security</h3><p>All credentials were protected through GitHub Secrets — never in code.</p><h3>• Cloud Storage Organization</h3><p>Structured S3 prefixes made debugging and auditing much easier.</p><h3>• Production-Ready Engineering</h3><p>The pipeline is automated, repeatable, secure, and easy to extend.</p><h3>Conclusion</h3><p>Building this GitHub-based, AWS-powered audio processing pipeline taught me how to engineer an end-to-end automation workflow that mimics real-world production systems.</p><p>From structured S3 storage to multi-stage CI/CD and secure credential management, this project demonstrates my ability to design, build, and ship scalable cloud automation solutions.</p><p>LINKEDIN: <a href="https://www.linkedin.com/in/brandon-forlina/">https://www.linkedin.com/in/brandon-forlina/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44c797d2285e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>