<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Kamran Kabeer</title>
    <description>The latest articles on DEV Community by Muhammad Kamran Kabeer (@muhammadkamrankabeeross).</description>
    <link>https://dev.to/muhammadkamrankabeeross</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3870183%2F4568d571-b1ba-46d9-97db-ebb02fea8d61.png</url>
      <title>DEV Community: Muhammad Kamran Kabeer</title>
      <link>https://dev.to/muhammadkamrankabeeross</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muhammadkamrankabeeross"/>
    <language>en</language>
    <item>
      <title>Three AI Assistants, One Kubernetes Cluster, and a Lesson I Didn't Expect</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Wed, 25 Nov 2026 08:09:02 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/three-ai-assistants-one-kubernetes-cluster-and-a-lesson-i-didnt-expect-1jd9</link>
      <guid>https://dev.to/muhammadkamrankabeeross/three-ai-assistants-one-kubernetes-cluster-and-a-lesson-i-didnt-expect-1jd9</guid>
      <description>&lt;h1&gt;
  
  
  Three AI Assistants, One Kubernetes Cluster, and a Lesson I Didn't Expect
&lt;/h1&gt;

&lt;h1&gt;
  
  
  codenewbiestory #codenewbie #ai #devops #kubernetes #beginners
&lt;/h1&gt;

&lt;p&gt;I'm a Computer Science lecturer from Lahore, Pakistan. I've been teaching since 2015, helping students understand programming, operating systems, computer networks, and other areas of Computer Science.&lt;/p&gt;

&lt;p&gt;But recently, I've been challenging myself to move beyond teaching technology and build the systems behind it.&lt;/p&gt;

&lt;p&gt;My journey into DevOps started with a simple question: What does it actually take to automate, deploy, monitor, and maintain modern infrastructure?&lt;/p&gt;

&lt;p&gt;I already had practical IT experience. At my college, I worked with Windows Server 2022, Active Directory, Group Policy, file sharing, and approximately 90 domain-joined computers.&lt;/p&gt;

&lt;p&gt;However, I wanted to explore Linux administration, cloud infrastructure, Docker, Terraform, CI/CD, and Kubernetes.&lt;/p&gt;

&lt;p&gt;I began building hands-on projects in my own lab. One of the most interesting was a Kubernetes automation platform using kubeadm.&lt;/p&gt;

&lt;p&gt;My goal was to build a working cluster with one control-plane node and two worker nodes, understand how the components communicate, and document the entire process so that someone else could reproduce it.&lt;/p&gt;

&lt;p&gt;This was not just about getting Kubernetes installed. I wanted to understand what was happening underneath.&lt;/p&gt;

&lt;p&gt;And I had three additional learning partners: ChatGPT, Claude, and Gemini.&lt;/p&gt;

&lt;p&gt;I started using them in different ways.&lt;/p&gt;

&lt;p&gt;ChatGPT helped me understand commands, troubleshoot problems, and break complicated technical concepts into smaller steps.&lt;/p&gt;

&lt;p&gt;Claude helped me review project architecture, improve configurations, and organize technical documentation.&lt;/p&gt;

&lt;p&gt;Gemini gave me alternative approaches, research support, and another perspective when I wanted to explore a technical problem.&lt;/p&gt;

&lt;p&gt;At first, having three AI assistants felt like having three experienced engineers available whenever I needed help.&lt;/p&gt;

&lt;p&gt;But I discovered something important: getting three answers does not necessarily mean getting one correct answer.&lt;/p&gt;

&lt;p&gt;Sometimes different tools suggest different approaches. A command that works in one environment might not work in another. A configuration can look correct but still depend on networking, permissions, software versions, or other components being configured properly.&lt;/p&gt;

&lt;p&gt;This forced me to change how I used AI.&lt;/p&gt;

&lt;p&gt;Instead of asking an AI tool to build everything for me, I started treating its answers as suggestions that needed verification.&lt;/p&gt;

&lt;p&gt;I would break the deployment into smaller stages, understand the purpose of commands, examine their output, and check whether the expected services and cluster components were actually working.&lt;/p&gt;

&lt;p&gt;I also learned not to confuse a successful command with a successful deployment.&lt;/p&gt;

&lt;p&gt;The real test was whether the cluster was healthy and whether the worker nodes could participate correctly.&lt;/p&gt;

&lt;p&gt;Eventually, I successfully deployed my three-node Kubernetes environment.&lt;/p&gt;

&lt;p&gt;That achievement meant more to me than simply having Kubernetes running. I had taken a complex technology, worked through its components, and built something I could explain and document.&lt;/p&gt;

&lt;p&gt;My background as a teacher played an important role here.&lt;/p&gt;

&lt;p&gt;When I learn something, I imagine explaining it to a student who has never encountered it before. If I cannot explain why a command is necessary, I know I need to understand it better.&lt;/p&gt;

&lt;p&gt;I also work with limited hardware resources, so I prefer lightweight Linux environments and carefully managed virtual machines instead of depending on expensive infrastructure.&lt;/p&gt;

&lt;p&gt;This experience changed my understanding of AI-assisted development.&lt;/p&gt;

&lt;p&gt;AI can make learning faster, provide alternative explanations, and help us explore technologies that might otherwise feel overwhelming. But it cannot remove our responsibility to understand what we are building.&lt;/p&gt;

&lt;p&gt;In fact, I believe the more powerful AI tools become, the more important technical fundamentals will be.&lt;/p&gt;

&lt;p&gt;Today, I'm continuing to build my DevOps portfolio through practical projects involving Linux, AWS, Terraform, Docker, Ansible, CI/CD, Kubernetes, and monitoring.&lt;/p&gt;

&lt;p&gt;I'm also developing an idea called Devriston, an open-source-first technology and learning platform where I hope to help other students and aspiring IT professionals develop practical skills.&lt;/p&gt;

&lt;p&gt;I'm still a lecturer. I'm still learning. And I'm still making the transition from teaching technology to building infrastructure.&lt;/p&gt;

&lt;p&gt;If I could ask the CodeNewbie Podcast experts one question, it would be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When three AI assistants give you three different technical solutions, how do you decide which one to trust, especially when working with infrastructure where one incorrect configuration can affect an entire environment?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's something I'm learning every day.&lt;/p&gt;

&lt;p&gt;And perhaps the most important lesson from my Kubernetes journey is this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use AI to accelerate your learning, not to outsource your understanding.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/muhammadkamrankabeer-oss/k8s-automation-platform?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/k8s-automation-platform?utm_source=chatgpt.com&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdfwadssgsub8j319b9cd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdfwadssgsub8j319b9cd.png" alt=" " width="800" height="640"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9w865hskxgqoiakhuhtc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9w865hskxgqoiakhuhtc.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Favjfwycmta533efjys43.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Favjfwycmta533efjys43.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>codenewbiestory</category>
      <category>codenewbie</category>
      <category>ai</category>
      <category>devops</category>
    </item>
    <item>
      <title>The Docker Networking Gotcha Nobody Warns You About When Building a Self-Hosted Monitoring Stack</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Fri, 17 Jul 2026 06:42:59 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/the-docker-networking-gotcha-nobody-warns-you-about-when-building-a-self-hosted-monitoring-stack-54c5</link>
      <guid>https://dev.to/muhammadkamrankabeeross/the-docker-networking-gotcha-nobody-warns-you-about-when-building-a-self-hosted-monitoring-stack-54c5</guid>
      <description>&lt;p&gt;When I automated a full observability stack — Prometheus, Grafana, &lt;br&gt;
Loki, Alertmanager — I hit a networking problem that isn't in &lt;br&gt;
any tutorial.&lt;/p&gt;

&lt;p&gt;Here's what happened, the fix, and the full project behind it.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;Port&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Node Exporter&lt;/td&gt;
&lt;td&gt;Host metrics&lt;/td&gt;
&lt;td&gt;9100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prometheus&lt;/td&gt;
&lt;td&gt;Scrape + store&lt;/td&gt;
&lt;td&gt;9091&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alertmanager&lt;/td&gt;
&lt;td&gt;Alert routing&lt;/td&gt;
&lt;td&gt;9093&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loki&lt;/td&gt;
&lt;td&gt;Log aggregation&lt;/td&gt;
&lt;td&gt;3100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Grafana&lt;/td&gt;
&lt;td&gt;Dashboards&lt;/td&gt;
&lt;td&gt;3000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Deployed via: &lt;strong&gt;Vagrant&lt;/strong&gt; (VM) → &lt;strong&gt;Docker Compose&lt;/strong&gt; (containers) &lt;br&gt;
→ &lt;strong&gt;Ansible&lt;/strong&gt; (automation)&lt;/p&gt;


&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Prometheus runs inside Docker.&lt;/p&gt;

&lt;p&gt;Inside Docker, &lt;code&gt;localhost&lt;/code&gt; = the container itself.&lt;br&gt;
Not your host machine.&lt;/p&gt;

&lt;p&gt;Node Exporter runs on the &lt;strong&gt;host&lt;/strong&gt; at port 9100.&lt;br&gt;
Prometheus inside Docker cannot reach &lt;code&gt;localhost:9100&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Your metrics scrape returns nothing.&lt;br&gt;
No error message. Just empty data.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Fix
&lt;/h2&gt;

&lt;p&gt;Use the Docker bridge gateway IP instead of localhost:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# prometheus.yml&lt;/span&gt;
&lt;span class="na"&gt;scrape_configs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;job_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;node'&lt;/span&gt;
    &lt;span class="na"&gt;static_configs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;targets&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;172.17.0.1:9100'&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;  &lt;span class="c1"&gt;# host via bridge gateway&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open the port through UFW:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ufw allow from 172.17.0.0/16 to any port 9100
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Prometheus can now reach Node Exporter on the host.&lt;/p&gt;




&lt;h2&gt;
  
  
  Proactive Alerting (Not Just Dashboards)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;alert&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;HighCPUUsage&lt;/span&gt;
  &lt;span class="na"&gt;expr&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;100 - (avg(rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) &amp;gt; &lt;/span&gt;&lt;span class="m"&gt;85&lt;/span&gt;
  &lt;span class="na"&gt;for&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;2m&lt;/span&gt;
  &lt;span class="na"&gt;labels&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;severity&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;critical&lt;/span&gt;
  &lt;span class="na"&gt;annotations&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;summary&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;CPU&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;usage&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;above&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;85%&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;for&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;2&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;minutes"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This moves your stack from passive observation to active &lt;br&gt;
incident response. Alertmanager routes it to Slack, email, &lt;br&gt;
or PagerDuty.&lt;/p&gt;




&lt;h2&gt;
  
  
  Ansible Makes It Reproducible
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run Prometheus&lt;/span&gt;
  &lt;span class="na"&gt;community.docker.docker_container&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prometheus&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prom/prometheus:latest&lt;/span&gt;
    &lt;span class="na"&gt;state&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;started&lt;/span&gt;
    &lt;span class="na"&gt;recreate&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;yes&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;./prometheus.yml:/etc/prometheus/prometheus.yml"&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;./alert_rules.yml:/etc/prometheus/alert_rules.yml"&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;9091:9090"&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it once or ten times — the result is always the same.&lt;br&gt;
That's idempotency. That's why Ansible exists.&lt;/p&gt;




&lt;h2&gt;
  
  
  Full Project
&lt;/h2&gt;

&lt;p&gt;Complete breakdown — architecture diagram, full Ansible playbook, &lt;br&gt;
Loki + Promtail config, and all lessons learned:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://www.devriston.com.pk/monitoring-stack-automation.html" rel="noopener noreferrer"&gt;https://www.devriston.com.pk/monitoring-stack-automation.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub source:&lt;br&gt;&lt;br&gt;
👉 &lt;a href="https://github.com/muhammadkamrankabeer-oss/monitoring-stack-automation" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/monitoring-stack-automation&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Muhammad Kamran Kabeer — DevOps Engineer &amp;amp; Founder @ Devriston&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;Building real infrastructure. Writing real breakdowns.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>promethus</category>
      <category>ansible</category>
      <category>grafana</category>
    </item>
    <item>
      <title>How I Built a Terraform AWS 3-Tier Platform — Modules, VPC, and Least-Privilege Security Groups</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Fri, 10 Jul 2026 04:35:16 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/how-i-built-a-terraform-aws-3-tier-platform-modules-vpc-and-least-privilege-security-groups-3cc0</link>
      <guid>https://dev.to/muhammadkamrankabeeross/how-i-built-a-terraform-aws-3-tier-platform-modules-vpc-and-least-privilege-security-groups-3cc0</guid>
      <description>&lt;p&gt;I recently built a complete AWS 3-tier infrastructure using Terraform — &lt;br&gt;
fully modular, no console clicks, reproducible from a single &lt;code&gt;terraform apply&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Here's the architecture, the key decisions, and what I learned.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why 3-Tier?
&lt;/h2&gt;

&lt;p&gt;Separating infrastructure into tiers isn't just good architecture theory —&lt;br&gt;
it's a practical pattern that improves security, scalability, and maintainability.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tier 1 (Presentation):&lt;/strong&gt; Public-facing EC2 running Nginx via Docker&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 2 (Application):&lt;/strong&gt; Private EC2 running business logic — no internet exposure&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 3 (Infrastructure):&lt;/strong&gt; VPC, subnets, IGW, route tables, security groups&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Networking Design
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight hcl"&gt;&lt;code&gt;&lt;span class="nx"&gt;VPC&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;            &lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;
&lt;span class="nx"&gt;Public&lt;/span&gt; &lt;span class="nx"&gt;Subnet&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;  &lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;   &lt;span class="c1"&gt;# frontend (internet-facing)&lt;/span&gt;
&lt;span class="nx"&gt;Private&lt;/span&gt; &lt;span class="nx"&gt;Subnet&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;11.0&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;  &lt;span class="c1"&gt;# backend (isolated)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The public subnet connects via Internet Gateway.&lt;br&gt;
The private subnet has no route to the internet — by design.&lt;/p&gt;




&lt;h2&gt;
  
  
  Modular Terraform Structure
&lt;/h2&gt;

&lt;p&gt;No giant &lt;code&gt;main.tf&lt;/code&gt;. Three clean modules:&lt;br&gt;
modules/&lt;br&gt;
├── vpc/   → VPC, subnets, IGW, route tables&lt;br&gt;
├── sg/    → security groups per tier&lt;/p&gt;

&lt;h2&gt;
  
  
  └── ec2/   → instances + SG attachments
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Least Privilege Security Groups
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight hcl"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Frontend: accessible from internet&lt;/span&gt;
&lt;span class="nx"&gt;ingress&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8080&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt; &lt;span class="nx"&gt;from&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;

&lt;span class="c1"&gt;# Backend: ONLY reachable from frontend SG&lt;/span&gt;
&lt;span class="nx"&gt;ingress&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3000&lt;/span&gt; &lt;span class="nx"&gt;from&lt;/span&gt; &lt;span class="nx"&gt;frontend_sg_id&lt;/span&gt; &lt;span class="err"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;NOT&lt;/span&gt; &lt;span class="nx"&gt;from&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="err"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is one of the most important patterns to internalize when building on AWS.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;ALB + Auto Scaling Groups&lt;/li&gt;
&lt;li&gt;S3 remote backend + DynamoDB state locking&lt;/li&gt;
&lt;li&gt;GitHub Actions CI/CD pipeline&lt;/li&gt;
&lt;li&gt;CloudWatch monitoring&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Full Writeup
&lt;/h2&gt;

&lt;p&gt;For the complete breakdown — architecture diagram, module walkthrough, &lt;br&gt;
and lessons learned — read the full article on Devriston:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://www.devriston.com.pk/terraform-aws-3tier-platform.html" rel="noopener noreferrer"&gt;https://www.devriston.com.pk/terraform-aws-3tier-platform.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub source:&lt;br&gt;
👉 &lt;a href="https://github.com/muhammadkamrankabeer-oss/terraform-aws-3tier-platform" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/terraform-aws-3tier-platform&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Muhammad Kamran Kabeer — DevOps Engineer &amp;amp; Founder @ Devriston&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Building real infrastructure. Writing real breakdowns.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>cloud</category>
      <category>aws</category>
      <category>devops</category>
    </item>
    <item>
      <title># Terraform AWS 3-Tier Platform – Project Showcase</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Sat, 13 Jun 2026 06:10:07 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/-terraform-aws-3-tier-platform-project-showcase-23bo</link>
      <guid>https://dev.to/muhammadkamrankabeeross/-terraform-aws-3-tier-platform-project-showcase-23bo</guid>
      <description>&lt;p&gt;I recently completed a Terraform AWS 3-Tier Platform project to strengthen my Infrastructure as Code (IaC), AWS, and DevOps skills.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the project includes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Custom AWS VPC&lt;/li&gt;
&lt;li&gt;Public and Private Subnets&lt;/li&gt;
&lt;li&gt;Internet Gateway&lt;/li&gt;
&lt;li&gt;Security Groups&lt;/li&gt;
&lt;li&gt;Frontend EC2 Instance&lt;/li&gt;
&lt;li&gt;Backend EC2 Instance&lt;/li&gt;
&lt;li&gt;Dockerized Applications&lt;/li&gt;
&lt;li&gt;Modular Terraform Design&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Learning Areas
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Terraform Modules&lt;/li&gt;
&lt;li&gt;AWS Networking&lt;/li&gt;
&lt;li&gt;Security Group Design&lt;/li&gt;
&lt;li&gt;Infrastructure Documentation&lt;/li&gt;
&lt;li&gt;Cloud Architecture Fundamentals&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Repository
&lt;/h3&gt;

&lt;p&gt;GitHub Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/muhammadkamrankabeer-oss/terraform-aws-3tier-platform" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/terraform-aws-3tier-platform&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Complete Technical Walkthrough
&lt;/h3&gt;

&lt;p&gt;I wrote a detailed article covering the architecture, Terraform modules, networking design, security implementation, and lessons learned.&lt;/p&gt;

&lt;p&gt;Read the full article here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devriston.com.pk/blog/terraform-aws-3tier-platform.html" rel="noopener noreferrer"&gt;https://devriston.com.pk/blog/terraform-aws-3tier-platform.html&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Connect With Me
&lt;/h3&gt;

&lt;p&gt;Website:&lt;br&gt;
&lt;a href="https://devriston.com.pk" rel="noopener noreferrer"&gt;https://devriston.com.pk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Dev.to:&lt;br&gt;
&lt;a href="https://dev.to/muhammadkamrankabeeross"&gt;https://dev.to/muhammadkamrankabeeross&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback and suggestions are always welcome.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>infrastructure</category>
      <category>showdev</category>
      <category>terraform</category>
    </item>
    <item>
      <title>I Built a Fully Automated DevOps Workstation Using Ansible (Terraform • VirtualBox • AWS CLI)</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Fri, 01 May 2026 06:02:48 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/i-built-a-fully-automated-devops-workstation-using-ansible-terraform-virtualbox-aws-cli-2e2b</link>
      <guid>https://dev.to/muhammadkamrankabeeross/i-built-a-fully-automated-devops-workstation-using-ansible-terraform-virtualbox-aws-cli-2e2b</guid>
      <description>&lt;h1&gt;
  
  
  🚀 I Built a Fully Automated DevOps Workstation Using Ansible
&lt;/h1&gt;

&lt;p&gt;I recently built a fully automated &lt;strong&gt;DevOps workstation setup&lt;/strong&gt; using Ansible that provisions an entire Linux development environment in a single command.&lt;/p&gt;

&lt;p&gt;This project is designed for DevOps learners and automation practice, and runs on a lightweight Xubuntu system (Dell Latitude E7440).&lt;/p&gt;




&lt;h1&gt;
  
  
  🧠 What Problem I Solved
&lt;/h1&gt;

&lt;p&gt;Setting up a DevOps environment manually takes time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Installing tools one by one&lt;/li&gt;
&lt;li&gt;Configuring VirtualBox&lt;/li&gt;
&lt;li&gt;Setting up Terraform, Vagrant, AWS CLI&lt;/li&gt;
&lt;li&gt;Fixing dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I automated everything using &lt;strong&gt;Ansible&lt;/strong&gt;.&lt;/p&gt;




&lt;h1&gt;
  
  
  ⚙️ Tech Stack
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Ansible (Automation Engine)&lt;/li&gt;
&lt;li&gt;Terraform (IaC)&lt;/li&gt;
&lt;li&gt;Vagrant (VM Automation)&lt;/li&gt;
&lt;li&gt;VirtualBox (Virtualization)&lt;/li&gt;
&lt;li&gt;AWS CLI (Cloud Access)&lt;/li&gt;
&lt;li&gt;Linux (Xubuntu)&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🏗️ Architecture
&lt;/h1&gt;

&lt;p&gt;Host Machine → Ansible Playbook → DevOps Tools → VirtualBox VMs → Jenkins / Docker / Monitoring Stack&lt;/p&gt;




&lt;h1&gt;
  
  
  ⚡ Features
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;One-command setup&lt;/li&gt;
&lt;li&gt;Idempotent automation&lt;/li&gt;
&lt;li&gt;Lightweight Linux optimization&lt;/li&gt;
&lt;li&gt;Cloud-ready CLI environment&lt;/li&gt;
&lt;li&gt;Auto dependency handling&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🚀 How It Works
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
git clone https://github.com/muhammadkamrankabeer-oss/devops-workstation-automation.git
cd devops-workstation-automation
ansible-playbook -i inventory setup.yml --ask-become-pass

📚 What I Learned
Infrastructure as Code (IaC)
Linux system automation
Real-world DevOps workflow design
GitHub Actions CI basics
Virtualization and cloud CLI setup
🔥 Future Improvements
Docker VM automation
Jenkins CI/CD pipeline
Prometheus + Grafana monitoring stack
Terraform cloud provisioning
👨‍💻 Author

Muhammad Kamran Kabeer
DevOps Learner | Linux Enthusiast | Automation Explorer

⭐ Project Link

https://github.com/muhammadkamrankabeer-oss/devops-workstation-automation

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>automation</category>
      <category>devops</category>
      <category>showdev</category>
      <category>terraform</category>
    </item>
    <item>
      <title>🌱 Reducing Carbon Footprint with Lightweight Docker Containers A DevOps Experiment on Image Optimization for Sustainability</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Fri, 17 Apr 2026 16:38:02 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/reducing-carbon-footprint-with-lightweight-docker-containers-a-devops-experiment-on-image-2068</link>
      <guid>https://dev.to/muhammadkamrankabeeross/reducing-carbon-footprint-with-lightweight-docker-containers-a-devops-experiment-on-image-2068</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwpu6ykiday83qixj35rz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwpu6ykiday83qixj35rz.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;🧭 Introduction&lt;/p&gt;

&lt;p&gt;In modern DevOps workflows, containerization has become a standard practice. However, most developers focus only on functionality and performance — while ignoring the hidden cost of large container images.&lt;/p&gt;

&lt;p&gt;In this project, I explored a simple but important question:&lt;/p&gt;

&lt;p&gt;Can we make Docker images more environmentally efficient by making them smaller?&lt;/p&gt;

&lt;p&gt;To answer this, I built and compared two Docker images for the same application and measured the difference in size and efficiency.&lt;/p&gt;

&lt;p&gt;🧪 Project Overview&lt;/p&gt;

&lt;p&gt;I created a simple Flask web application and containerized it using two different approaches:&lt;/p&gt;

&lt;p&gt;A standard Python-based Docker image&lt;br&gt;
A lightweight Alpine-based Docker image&lt;/p&gt;

&lt;p&gt;Both containers run the same application, but their internal structure is very different.&lt;/p&gt;

&lt;p&gt;🧱 The Application&lt;/p&gt;

&lt;p&gt;A minimal Flask app:&lt;/p&gt;

&lt;p&gt;from flask import Flask&lt;/p&gt;

&lt;p&gt;app = Flask(&lt;strong&gt;name&lt;/strong&gt;)&lt;/p&gt;

&lt;p&gt;@app.route("/")&lt;br&gt;
def home():&lt;br&gt;
    return "Eco Docker Demo Running 🌱"&lt;/p&gt;

&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == "&lt;strong&gt;main&lt;/strong&gt;":&lt;br&gt;
    app.run(host="0.0.0.0", port=5000)&lt;br&gt;
🐳 Docker Strategy&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Standard Image (Baseline)
FROM python:3.10&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;WORKDIR /app&lt;br&gt;
COPY app /app&lt;/p&gt;

&lt;p&gt;RUN pip install flask&lt;/p&gt;

&lt;p&gt;CMD ["python", "app.py"]&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lightweight Image (Optimized)
FROM python:3.10-alpine&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;WORKDIR /app&lt;br&gt;
COPY app /app&lt;/p&gt;

&lt;p&gt;RUN pip install --no-cache-dir flask&lt;/p&gt;

&lt;p&gt;CMD ["python", "app.py"]&lt;br&gt;
📊 Results &amp;amp; Comparison&lt;/p&gt;

&lt;p&gt;After building both images, I analyzed their sizes:&lt;/p&gt;

&lt;p&gt;Image Type  Size&lt;br&gt;
Standard Python Image   ~1.6 GB&lt;br&gt;
Alpine Optimized Image  ~97.9 MB&lt;br&gt;
📉 Key Result&lt;/p&gt;

&lt;p&gt;👉 The Alpine-based image is approximately 16x smaller&lt;/p&gt;

&lt;p&gt;🌍 Why This Matters (The Eco Perspective)&lt;/p&gt;

&lt;p&gt;While this may seem like a small optimization, container size directly impacts:&lt;/p&gt;

&lt;p&gt;💾 Storage usage in registries&lt;br&gt;
🌐 Bandwidth consumption during deployment&lt;br&gt;
⚡ CI/CD pipeline efficiency&lt;br&gt;
🔋 Indirect energy usage in cloud infrastructure&lt;/p&gt;

&lt;p&gt;At scale, these small improvements can contribute to lower energy consumption across systems.&lt;/p&gt;

&lt;p&gt;🚀 Running the Project&lt;/p&gt;

&lt;p&gt;To run the optimized container:&lt;/p&gt;

&lt;p&gt;docker run -p 5000:5000 eco-alpine&lt;/p&gt;

&lt;p&gt;Then open:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="http://localhost:5000" rel="noopener noreferrer"&gt;http://localhost:5000&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;Eco Docker Demo Running 🌱&lt;br&gt;
📸 Visual Evidence (Add Your Screenshots)&lt;/p&gt;

&lt;p&gt;Include:&lt;/p&gt;

&lt;p&gt;Docker image size comparison&lt;br&gt;
Terminal build output&lt;br&gt;
Browser output of Flask app&lt;br&gt;
🧠 What I Learned&lt;/p&gt;

&lt;p&gt;This experiment helped me understand:&lt;/p&gt;

&lt;p&gt;How base images affect container size&lt;br&gt;
Why Alpine Linux is widely used in DevOps&lt;br&gt;
The hidden cost of large container images&lt;br&gt;
How optimization can align with sustainability goals&lt;br&gt;
🔮 Final Thoughts&lt;/p&gt;

&lt;p&gt;Optimization in DevOps is not just about speed — it's also about efficiency and responsibility.&lt;br&gt;
During optimization, I explored AI-assisted suggestions (including Google Gemini) to evaluate Docker base images and improve efficiency.&lt;br&gt;
Even small improvements, like switching base images, can contribute to a more sustainable digital ecosystem.&lt;/p&gt;

&lt;h2&gt;
  
  
  🌍 Impact
&lt;/h2&gt;

&lt;p&gt;This project demonstrates how small optimizations in container design can contribute to reducing unnecessary compute usage and resource consumption in cloud environments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/muhammadkamrankabeer-oss/eco-docker" rel="noopener noreferrer"&gt;View the Code on GitHub&lt;/a&gt;&lt;/p&gt;

</description>
      <category>earthday</category>
      <category>docker</category>
      <category>sustainability</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How I Built a Self-Healing Database on a 10-Year-Old Laptop</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Fri, 17 Apr 2026 04:41:21 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/how-i-built-a-self-healing-database-on-a-10-year-old-laptop-28g8</link>
      <guid>https://dev.to/muhammadkamrankabeeross/how-i-built-a-self-healing-database-on-a-10-year-old-laptop-28g8</guid>
      <description>&lt;h1&gt;
  
  
  How I Built a Self-Healing Database on a 10-Year-Old Laptop (Using Docker + Ansible)
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;A practical experiment in resilience engineering on aging hardware—with modern DevOps tools.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  🚀 Introduction
&lt;/h2&gt;

&lt;p&gt;Running production-grade systems on old hardware sounds like a bad idea… until you treat it as a lab.&lt;/p&gt;

&lt;p&gt;I set out to build a &lt;strong&gt;self-healing database system&lt;/strong&gt; on a &lt;strong&gt;10-year-old laptop&lt;/strong&gt;—but this time with a more modern approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;8 GB RAM&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSD (thankfully!)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Docker for isolation&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ansible for automation&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal wasn’t raw performance. It was &lt;strong&gt;resilience, repeatability, and recovery&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 What “Self-Healing” Meant in This Project
&lt;/h2&gt;

&lt;p&gt;In this setup, &lt;em&gt;self-healing&lt;/em&gt; means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detecting failures automatically&lt;/li&gt;
&lt;li&gt;Restarting or replacing failed components&lt;/li&gt;
&lt;li&gt;Recovering corrupted or lost state&lt;/li&gt;
&lt;li&gt;Rebuilding the system with minimal manual intervention&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And most importantly:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Everything should be recoverable using code.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🖥️ Why This Setup Works (Even on Old Hardware)
&lt;/h2&gt;

&lt;p&gt;The SSD made a huge difference compared to traditional HDD setups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Faster I/O → better database responsiveness&lt;/li&gt;
&lt;li&gt;Quicker container restarts&lt;/li&gt;
&lt;li&gt;Improved log handling and recovery&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With &lt;strong&gt;8 GB RAM&lt;/strong&gt;, I had just enough room to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run multiple containers&lt;/li&gt;
&lt;li&gt;Simulate primary + replica&lt;/li&gt;
&lt;li&gt;Keep monitoring lightweight&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚙️ Architecture Overview
&lt;/h2&gt;

&lt;p&gt;The system is composed of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Primary database container&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Replica database container&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Monitoring container / scripts&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Backup service&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ansible playbooks (control layer)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything runs locally but is logically separated using Docker.&lt;/p&gt;




&lt;h2&gt;
  
  
  🐳 Containerized Database Setup
&lt;/h2&gt;

&lt;p&gt;I used Docker to run isolated database instances.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Docker?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Clean environment separation&lt;/li&gt;
&lt;li&gt;Easy restarts and redeployments&lt;/li&gt;
&lt;li&gt;Fault isolation&lt;/li&gt;
&lt;li&gt;Reproducibility&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example (Simplified)
&lt;/h3&gt;



&lt;p&gt;```yaml id="k2js9a"&lt;br&gt;
version: '3'&lt;br&gt;
services:&lt;br&gt;
  db_primary:&lt;br&gt;
    image: postgres:latest&lt;br&gt;
    ports:&lt;br&gt;
      - "5432:5432"&lt;/p&gt;

&lt;p&gt;db_replica:&lt;br&gt;
    image: postgres:latest&lt;br&gt;
    ports:&lt;br&gt;
      - "5433:5432"&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


Each container behaves like an independent node.

---

## 🔁 Replication Strategy

Even on a single laptop, I implemented logical replication:

* Primary handles writes
* Replica syncs asynchronously
* Replica stays ready for failover

### Key Idea

If the primary fails:

* Promote the replica
* Spin up a new replica using automation

---

## 🤖 Automation with Ansible

This is where things got interesting.

Instead of manually fixing things, I used **Ansible playbooks** to:

* Provision containers
* Configure replication
* Restart failed services
* Rebuild broken nodes

### Example Playbook Task



```yaml id="p9dl2x"
- name: Ensure database container is running
  docker_container:
    name: db_primary
    image: postgres:latest
    state: started
    restart_policy: always
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With this, recovery becomes:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run a playbook → system fixes itself&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  👀 Health Monitoring
&lt;/h2&gt;

&lt;p&gt;I implemented lightweight monitoring using scripts + container checks:&lt;/p&gt;

&lt;h3&gt;
  
  
  What I monitored:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Container health/status&lt;/li&gt;
&lt;li&gt;Database connectivity&lt;/li&gt;
&lt;li&gt;Replication lag&lt;/li&gt;
&lt;li&gt;Disk usage&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Basic Logic
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If container stops → restart it&lt;/li&gt;
&lt;li&gt;If DB not responding → recreate container&lt;/li&gt;
&lt;li&gt;If replication breaks → reconfigure replica via Ansible&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔧 Self-Healing Mechanisms
&lt;/h2&gt;

&lt;p&gt;Here’s how the system heals itself:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Container Restart (First Line of Defense)
&lt;/h3&gt;

&lt;p&gt;Docker restart policies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automatically restart failed containers&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  2. Ansible Reconciliation
&lt;/h3&gt;

&lt;p&gt;If something drifts from the desired state:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Re-run playbooks&lt;/li&gt;
&lt;li&gt;Recreate containers&lt;/li&gt;
&lt;li&gt;Reapply configs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This mimics &lt;strong&gt;Infrastructure as Code recovery&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  3. Replica Promotion
&lt;/h3&gt;

&lt;p&gt;If primary fails:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stop primary container&lt;/li&gt;
&lt;li&gt;Redirect traffic to replica&lt;/li&gt;
&lt;li&gt;Promote replica to primary&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  4. Rebuild Failed Node
&lt;/h3&gt;

&lt;p&gt;Using Ansible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Destroy broken container&lt;/li&gt;
&lt;li&gt;Recreate it&lt;/li&gt;
&lt;li&gt;Resync from current primary&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  5. Backup + Restore
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Periodic volume backups&lt;/li&gt;
&lt;li&gt;Fast restore using Docker volumes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even if both containers fail, recovery is still possible.&lt;/p&gt;




&lt;h2&gt;
  
  
  💾 Storage Strategy (SSD Advantage)
&lt;/h2&gt;

&lt;p&gt;Using an SSD improved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;WAL/log write speed&lt;/li&gt;
&lt;li&gt;Backup performance&lt;/li&gt;
&lt;li&gt;Container startup time&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Docker Volumes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Persistent storage for database data&lt;/li&gt;
&lt;li&gt;Survives container restarts&lt;/li&gt;
&lt;li&gt;Easily backed up&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔥 Failure Testing
&lt;/h2&gt;

&lt;p&gt;I intentionally broke the system multiple times:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;docker kill&lt;/code&gt; on primary&lt;/li&gt;
&lt;li&gt;Deleted volumes&lt;/li&gt;
&lt;li&gt;Simulated corruption&lt;/li&gt;
&lt;li&gt;Stopped replication&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Results
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Containers restarted automatically&lt;/li&gt;
&lt;li&gt;Ansible restored desired state quickly&lt;/li&gt;
&lt;li&gt;Replica promotion worked reliably&lt;/li&gt;
&lt;li&gt;Full recovery was possible from backups&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📉 Trade-Offs
&lt;/h2&gt;

&lt;p&gt;This setup isn’t perfect.&lt;/p&gt;

&lt;h3&gt;
  
  
  Downsides:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Single physical machine = single point of failure&lt;/li&gt;
&lt;li&gt;Limited RAM → careful tuning required&lt;/li&gt;
&lt;li&gt;SSD wear over time&lt;/li&gt;
&lt;li&gt;Not truly “distributed”&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  But still valuable because:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;It simulates real-world failure scenarios&lt;/li&gt;
&lt;li&gt;Teaches recovery patterns&lt;/li&gt;
&lt;li&gt;Builds DevOps discipline&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧩 Key Lessons
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Docker + Ansible is a powerful combo
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Docker handles runtime&lt;/li&gt;
&lt;li&gt;Ansible handles desired state&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Together, they approximate orchestration.&lt;/p&gt;




&lt;h3&gt;
  
  
  2. Self-healing = automation + observability
&lt;/h3&gt;

&lt;p&gt;Without monitoring, automation is blind.&lt;/p&gt;




&lt;h3&gt;
  
  
  3. Old hardware is a great teacher
&lt;/h3&gt;

&lt;p&gt;Failures happen more often → faster learning.&lt;/p&gt;




&lt;h3&gt;
  
  
  4. Infrastructure as Code is the real backup
&lt;/h3&gt;

&lt;p&gt;If you can rebuild everything from playbooks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You’re already halfway to self-healing.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🌱 What I’d Do Next
&lt;/h2&gt;

&lt;p&gt;To push this further:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add Prometheus + Grafana for observability&lt;/li&gt;
&lt;li&gt;Introduce alerting (email/Slack)&lt;/li&gt;
&lt;li&gt;Use Docker Swarm or Kubernetes&lt;/li&gt;
&lt;li&gt;Move to multi-node setup (even with cheap machines)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;This project reinforced a simple idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Reliability is not about powerful hardware—it’s about good design.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Even on a 10-year-old laptop, using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;Ansible&lt;/li&gt;
&lt;li&gt;Smart recovery strategies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;…you can build a system that &lt;strong&gt;fails gracefully and recovers automatically&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  📌 GitHub Repo
&lt;/h2&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/muhammadkamrankabeer-oss/MK_Labs/tree/main/Lab4_Database" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/MK_Labs/tree/main/Lab4_Database&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;If you’ve experimented with self-healing systems or run labs on constrained hardware, I’d love to hear how you approached it!&lt;/p&gt;

</description>
      <category>devops</category>
      <category>ansible</category>
      <category>docker</category>
      <category>database</category>
    </item>
    <item>
      <title>Building a Zero-Downtime Web Cluster on a Dell Latitude</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Mon, 13 Apr 2026 15:45:47 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/building-a-zero-downtime-web-cluster-on-a-dell-latitude-4np7</link>
      <guid>https://dev.to/muhammadkamrankabeeross/building-a-zero-downtime-web-cluster-on-a-dell-latitude-4np7</guid>
      <description>&lt;p&gt;The Problem: The "Single Point of Failure"&lt;br&gt;
Most small businesses host their websites on a single server. If that server crashes, their business stops. In this lab, I solved that problem by building a Distributed System using Nginx and Ansible.&lt;/p&gt;

&lt;p&gt;The Architecture: The Traffic Cop&lt;br&gt;
I used a Load Balancer strategy to ensure that even if a server dies, the website stays live.&lt;/p&gt;

&lt;p&gt;Front-End: Nginx Load Balancer (Port 8888)&lt;/p&gt;

&lt;p&gt;Back-End: Two Nginx Workers (Ports 8081 &amp;amp; 8082)&lt;/p&gt;

&lt;p&gt;Key Technical Win: Fault Tolerance&lt;br&gt;
The highlight of this lab was the Chaos Test. By manually stopping one of the web server containers, I verified that the Load Balancer instantly redirected all traffic to the healthy node. The result? Zero downtime for the user.&lt;/p&gt;

&lt;p&gt;Tools Used:&lt;br&gt;
Ansible: To automate the deployment and ensure the configuration is repeatable.&lt;/p&gt;

&lt;p&gt;Docker: To isolate the services and simulate a multi-server environment on my Dell E7440.&lt;/p&gt;

&lt;p&gt;Check out the Standalone Code:&lt;br&gt;
🔗 &lt;a href="https://github.com/muhammadkamrankabeer-oss/MK_Labs/tree/main/Lab3_Standalone" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/MK_Labs/tree/main/Lab3_Standalone&lt;/a&gt; &lt;/p&gt;

</description>
      <category>devops</category>
      <category>distributedsystems</category>
      <category>showdev</category>
      <category>sre</category>
    </item>
    <item>
      <title>How I Automated a Monitoring Stack on my Dell Latitude using Ansible &amp; Docker</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Sun, 12 Apr 2026 09:16:23 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/how-i-automated-a-monitoring-stack-on-my-dell-latitude-using-ansible-docker-5b73</link>
      <guid>https://dev.to/muhammadkamrankabeeross/how-i-automated-a-monitoring-stack-on-my-dell-latitude-using-ansible-docker-5b73</guid>
      <description>&lt;p&gt;The Vision&lt;br&gt;
As part of my Technical Lab Roadmap, I am moving away from manual configurations. In the world of modern DevOps, if you have to do it twice, you should automate it. Today’s goal: Transforming my Xubuntu-powered Dell Latitude into a fully monitored node using Infrastructure as Code (IaC).&lt;/p&gt;

&lt;p&gt;The Architecture: A Three-Tier Observability Stack&lt;br&gt;
To monitor a system effectively, you need a pipeline. Data must be generated, collected, and visualized. Here is how I structured this lab:&lt;/p&gt;

&lt;p&gt;Generation (Node Exporter): A lightweight Go-based binary that exposes hardware metrics (CPU load, RAM usage, Disk I/O) via a web endpoint.&lt;/p&gt;

&lt;p&gt;Collection (Prometheus): The "brain" of the operation. It's a time-series database that "scrapes" the metrics from the exporter at defined intervals.&lt;/p&gt;

&lt;p&gt;Visualization (Grafana): The "eyes." It queries Prometheus to turn raw numbers into pulsing, real-time graphs.&lt;/p&gt;

&lt;p&gt;The "Aha!" Moment: Solving Networking Hurdles&lt;br&gt;
The biggest challenge was connectivity. When running Prometheus inside a Docker container, it views localhost as itself, not my laptop.&lt;/p&gt;

&lt;p&gt;The Solution:&lt;/p&gt;

&lt;p&gt;The Bridge: I used the Docker Gateway IP (172.17.0.1) to allow the container to look "outside" to the host hardware.&lt;/p&gt;

&lt;p&gt;The Guard: Xubuntu’s UFW (Uncomplicated Firewall) initially blocked these requests. I had to explicitly allow traffic on port 9100 from the Docker interface.&lt;/p&gt;

&lt;p&gt;The Implementation: Ansible Playbook&lt;br&gt;
Instead of 20 terminal commands, I consolidated the entire setup into one Ansible Playbook. This ensures Idempotency—I can run this on any machine and get the exact same result.&lt;/p&gt;

&lt;h2&gt;
  
  
  YAML
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;name: Deploy Monitoring Stack
hosts: localhost
connection: local
become: yes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;tasks:&lt;br&gt;
    - name: Run Node Exporter (The Sensor)&lt;br&gt;
      community.docker.docker_container:&lt;br&gt;
        name: node-exporter&lt;br&gt;
        image: prom/node-exporter:latest&lt;br&gt;
        state: started&lt;br&gt;
        restart_policy: always&lt;br&gt;
        ports:&lt;br&gt;
          - "9100:9100"&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- name: Run Prometheus (The Brain)
  community.docker.docker_container:
    name: prometheus
    image: prom/prometheus:latest
    state: started
    recreate: yes
    volumes:
      - "./prometheus.yml:/etc/prometheus/prometheus.yml"
      - "./alert_rules.yml:/etc/prometheus/alert_rules.yml"
    ports:
      - "9091:9090"

- name: Run Grafana (The Visuals)
  community.docker.docker_container:
    name: grafana
    image: grafana/grafana:latest
    state: started
    ports:
      - "3000:3000"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Going Pro: Proactive Alerting&lt;br&gt;
Monitoring is useless if you have to stare at the screen all day. I integrated Alertmanager with a custom rule:&lt;/p&gt;

&lt;p&gt;If CPU usage exceeds 85% for more than 2 minutes, fire a CRITICAL alert.&lt;/p&gt;

&lt;p&gt;This moves the lab from "Basic Monitoring" to "Incident Response Readiness."&lt;/p&gt;

&lt;p&gt;Key Takeaways for Students &amp;amp; Peers&lt;br&gt;
Infrastructure is Code: Never install manually what you can automate.&lt;/p&gt;

&lt;p&gt;Firewalls Matter: If your data isn't flowing, check your UFW/Iptables first.&lt;/p&gt;

&lt;p&gt;Start Small: I’m doing this on an 8GB RAM Dell laptop. You don't need a cloud budget to learn high-level DevOps.&lt;/p&gt;

&lt;p&gt;Check out the full Source Code:&lt;br&gt;
🔗 &lt;a href="https://github.com/muhammadkamrankabeer-oss/Lab2_Monitoring_Automation" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/Lab2_Monitoring_Automation&lt;/a&gt; &lt;/p&gt;

</description>
      <category>automation</category>
      <category>devops</category>
      <category>docker</category>
      <category>monitoring</category>
    </item>
    <item>
      <title>Stop Leaving Your Servers Open: Hardening Linux in 5 Minutes with Ansible</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Sat, 11 Apr 2026 04:40:31 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/stop-leaving-your-servers-open-hardening-linux-in-5-minutes-with-ansible-46a2</link>
      <guid>https://dev.to/muhammadkamrankabeeross/stop-leaving-your-servers-open-hardening-linux-in-5-minutes-with-ansible-46a2</guid>
      <description>&lt;p&gt;Hello, World! I’m Muhammad Kamran Kabeer.&lt;/p&gt;

&lt;p&gt;As an IT Instructor and the founder of MK EduOps Solutions, I often see students and small businesses focus on "getting things to work" while completely ignoring "getting things secured."Today, I’m sharing Lab 1 from my new series: The Hardened Gateway. We will use Ansible to automate the security of a Linux server on a Dell Latitude E7440 (or any Ubuntu/Debian machine).&lt;/p&gt;

&lt;p&gt;🛡️ Why "Default Deny"?&lt;br&gt;
Most people try to block "bad" ports. The professional way is to deny everything and only open what you need. This is the "Zero-Trust" mindset.&lt;/p&gt;

&lt;p&gt;🛠️ The Automation Code&lt;br&gt;
Here is the Ansible block I use to secure my lab environments:&lt;/p&gt;

&lt;p&gt;YAML&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;name: Lab 1 - The Hardened Gateway&lt;br&gt;
hosts: localhost&lt;br&gt;
become: yes&lt;br&gt;
tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;name: Ensure UFW is installed
apt: { name: ufw, state: present }&lt;/li&gt;
&lt;li&gt;name: Set Default Policies to DENY
community.general.ufw: { state: enabled, policy: deny, direction: incoming }&lt;/li&gt;
&lt;li&gt;name: Allow Essential Traffic
community.general.ufw: { rule: allow, port: "{{ item }}", proto: tcp }
loop: ['22', '80', '443', '81']
🚀 The Result
Running this ensures that only SSH and Web traffic can enter. Everything else—unsecured databases, internal APIs, or forgotten services—is hidden from the world.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out the full lab repository here:&lt;a href="https://github.com/muhammadkamrankabeer-oss/MK-EduOps-Labs" rel="noopener noreferrer"&gt;https://github.com/muhammadkamrankabeer-oss/MK-EduOps-Labs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>linux</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How I Automated a Self-Healing WordPress Lab using Ansible &amp; Docker</title>
      <dc:creator>Muhammad Kamran Kabeer</dc:creator>
      <pubDate>Thu, 09 Apr 2026 16:21:08 +0000</pubDate>
      <link>https://dev.to/muhammadkamrankabeeross/how-i-automated-a-self-healing-wordpress-lab-using-ansible-docker-20m7</link>
      <guid>https://dev.to/muhammadkamrankabeeross/how-i-automated-a-self-healing-wordpress-lab-using-ansible-docker-20m7</guid>
      <description>&lt;p&gt;The Challenge&lt;/p&gt;

&lt;p&gt;As an IT educator, I wanted a lab environment that was stable, professional, and "self-healing." If a student (or a bug) crashes the site, I want it back up in seconds without manual work.&lt;br&gt;
The Solution&lt;/p&gt;

&lt;p&gt;I built a stack on my Dell Latitude E7440 using:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Vagrant &amp;amp; Debian: To create a clean, isolated sandbox.

Ansible: To automate the configuration (Infrastructure as Code).

Docker: To run WordPress and MariaDB.

Nginx Proxy Manager: To give it a professional URL (http://wordpress.test) instead of messy IP addresses.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Why this matters&lt;/p&gt;

&lt;p&gt;By using Docker's restart_policy: always, if the WordPress container fails, the system "heals" itself immediately.&lt;/p&gt;

&lt;p&gt;[INSERT YOUR TWO SCREENSHOTS HERE: NPM Dashboard and WordPress Welcome Page]&lt;br&gt;
Work with me!&lt;/p&gt;

&lt;p&gt;I am a professional educator and DevOps practitioner. If you need:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Technical Writing: I can turn your complex code into clear tutorials.

Lab Setup: I can help you automate your teaching environments.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Feel free to reach out here or on LinkedIn!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
