<?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 Shivam Garud on Medium]]></title>
        <description><![CDATA[Stories by Shivam Garud on Medium]]></description>
        <link>https://medium.com/@shivam.garud2011?source=rss-6b839f2ae15c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pnoYGcPTsUv5hRcpRHz6TA.jpeg</url>
            <title>Stories by Shivam Garud on Medium</title>
            <link>https://medium.com/@shivam.garud2011?source=rss-6b839f2ae15c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:00:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shivam.garud2011/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[Complete DevOps Observability Project Using Jenkins, Flask, Grafana, Prometheus, Loki & AWS]]></title>
            <link>https://medium.com/@shivam.garud2011/complete-devops-observability-project-using-jenkins-flask-grafana-prometheus-loki-aws-9b65abc510bd?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b65abc510bd</guid>
            <category><![CDATA[grafana-loki]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[promotail]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[prometheus]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Wed, 20 May 2026 09:48:41 GMT</pubDate>
            <atom:updated>2026-05-20T09:48:41.484Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In this project, I built a complete real-world DevOps monitoring and observability infrastructure using modern DevOps tools on AWS EC2 servers.</p><p>This setup includes:</p><ul><li>CI/CD automation using <a href="https://www.jenkins.io/?utm_source=chatgpt.com">Jenkins</a></li><li>Flask application deployment</li><li>Centralized monitoring using <a href="https://prometheus.io/?utm_source=chatgpt.com">Prometheus</a></li><li>Centralized logging using <a href="https://grafana.com/oss/loki/?utm_source=chatgpt.com">Loki</a></li><li>Visualization dashboards using <a href="https://grafana.com/?utm_source=chatgpt.com">Grafana</a></li><li>Server metrics collection using <a href="https://prometheus.io/docs/guides/node-exporter/?utm_source=chatgpt.com">Node Exporter</a></li><li>Log shipping using <a href="https://grafana.com/docs/loki/latest/send-data/promtail/?utm_source=chatgpt.com">Promtail</a></li><li>Email alerting system using Grafana SMTP</li></ul><p>This architecture is widely used in production-grade DevOps environments.</p><h3>Project Architecture</h3><pre>┌────────────────────────────┐<br>                │        SERVER 1            │<br>                │      Jenkins Server        │<br>                │                            │<br>                │ Jenkins                    │<br>                │ Node Exporter              │<br>                │ Promtail                   │<br>                └────────────┬───────────────┘<br>                             │<br>                             │ Metrics + Logs<br>                             │<br>                             ▼</pre><pre>                ┌────────────────────────────┐<br>                │        SERVER 3            │<br>                │     Monitoring Server      │<br>                │                            │<br>                │ Grafana                    │<br>                │ Prometheus                 │<br>                │ Loki                       │<br>                └────────────┬───────────────┘<br>                             ▲<br>                             │ Metrics + Logs<br>                             │</pre><pre>                ┌────────────┴───────────────┐<br>                │        SERVER 2            │<br>                │      Flask App Server      │<br>                │                            │<br>                │ Flask App                  │<br>                │ Node Exporter              │<br>                │ Promtail                   │<br>                └────────────────────────────┘</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6JWIjeQUh7wDfV65UjJVA.png" /></figure><h3>Why This Project Is Important</h3><p>Modern DevOps environments require:</p><ul><li>Infrastructure monitoring</li><li>Centralized logging</li><li>Real-time alerting</li><li>CI/CD automation</li><li>Application observability</li></ul><p>Without monitoring:</p><ul><li>Server crashes are unnoticed</li><li>CPU overload causes downtime</li><li>Memory leaks remain hidden</li><li>Application failures are difficult to debug</li></ul><p>This project solves all these problems.</p><h3>Server Overview</h3><p>ServerPurposeServer 1Jenkins CI/CD ServerServer 2Flask Application ServerServer 3Monitoring &amp; Observability Server</p><h3>SERVER 1 — Jenkins Server</h3><h3>Purpose</h3><p>This server automates:</p><ul><li>CI/CD pipeline</li><li>Deployment process</li><li>GitHub integration</li><li>Automated builds</li></ul><h3>Tools Installed on Jenkins Server</h3><p>ToolPurpose<a href="https://www.jenkins.io/?utm_source=chatgpt.com">Jenkins</a>CI/CD Automation<a href="https://prometheus.io/docs/guides/node-exporter/?utm_source=chatgpt.com">Node Exporter</a>Metrics Collection<a href="https://grafana.com/docs/loki/latest/send-data/promtail/?utm_source=chatgpt.com">Promtail</a>Log Shipping</p><h3>Jenkins Installation</h3><pre>sudo yum update -y</pre><pre>sudo wget -O /etc/yum.repos.d/jenkins.repo \<br>https://pkg.jenkins.io/redhat-stable/jenkins.repo</pre><pre>sudo rpm --import <a href="https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key">https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key</a></pre><pre>sudo yum install java-17-amazon-corretto -y</pre><pre>sudo yum install jenkins -y</pre><pre>sudo systemctl enable jenkins<br>sudo systemctl start jenkins</pre><h3>Jenkins Port</h3><p>ServicePortJenkins8080</p><h3>Why Jenkins Is Important</h3><p>Jenkins automates</p><ul><li>Code deployment</li><li>Testing</li><li>Build pipelines</li><li>Continuous integration</li><li>Continuous delivery</li></ul><p>It reduces manual deployment errors.</p><h3>Node Exporter Setup on Jenkins Server</h3><h3>Purpose</h3><p>Node Exporter collects:</p><ul><li>CPU usage</li><li>RAM usage</li><li>Disk utilization</li><li>Network traffic</li><li>System uptime</li></ul><h3>Installation</h3><pre>cd /tmp</pre><pre>wget <a href="https://github.com/prometheus/node_exporter/releases/download/v1.9.1/node_exporter-1.9.1.linux-amd64.tar.gz">https://github.com/prometheus/node_exporter/releases/download/v1.9.1/node_exporter-1.9.1.linux-amd64.tar.gz</a></pre><pre>tar xvf node_exporter-1.9.1.linux-amd64.tar.gz</pre><pre>cd node_exporter-1.9.1.linux-amd64</pre><pre>chmod +x node_exporter</pre><pre>./node_exporter</pre><h3>Testing Node Exporter</h3><pre>curl localhost:9100/metrics</pre><h3>Important Port</h3><p>ServicePortNode Exporter9100</p><h3>Promtail on Jenkins Server</h3><h3>Purpose</h3><p>Promtail sends:</p><p>Jenkins logs</p><ul><li>Build logs</li><li>Deployment logs</li></ul><p>to Loki.</p><p>This enables centralized logging.</p><h3>SERVER 2 — Flask Application Server</h3><h3>Purpose</h3><p>This server hosts:</p><ul><li>Flask application</li><li>Python backend</li><li>NGINX reverse proxy</li></ul><h3>Tools Installed</h3><p>ToolPurpose<a href="https://flask.palletsprojects.com/?utm_source=chatgpt.com">Flask</a>Python Web Framework<a href="https://nginx.org/?utm_source=chatgpt.com">NGINX</a>Reverse Proxy<a href="https://prometheus.io/docs/guides/node-exporter/?utm_source=chatgpt.com">Node Exporter</a>Metrics<a href="https://grafana.com/docs/loki/latest/send-data/promtail/?utm_source=chatgpt.com">Promtail</a>Logs</p><h3>Flask Application Deployment</h3><pre>pip install flask</pre><pre>python app.py</pre><p>or production deployment:</p><pre>gunicorn app:app</pre><h3>Why Flask Server Monitoring Matters</h3><p>Application servers require monitoring because:</p><ul><li>CPU spikes can crash applications</li><li>Memory leaks reduce performance</li><li>Error logs help debugging</li><li>Real-time monitoring improves reliability</li></ul><h3>SERVER 3 — Monitoring Server</h3><h3>Purpose</h3><p>This is the heart of the observability stack.</p><p>It handles:</p><ul><li>Metrics collection</li><li>Dashboard visualization</li><li>Log aggregation</li><li>Alert management</li></ul><h3>Tools Installed on Monitoring Server</h3><p>ToolPurpose<a href="https://grafana.com/?utm_source=chatgpt.com">Grafana</a>Visualization<a href="https://prometheus.io/?utm_source=chatgpt.com">Prometheus</a>Metrics Storage<a href="https://grafana.com/oss/loki/?utm_source=chatgpt.com">Loki</a>Log Storage</p><h3>Prometheus Setup</h3><h3>Purpose</h3><p>Prometheus collcts metrics from:</p><ul><li>Jenkins Server</li><li>Flask Server</li><li>Monitoring Server</li></ul><p>using Node Exporter.</p><h3>Prometheus Installation</h3><pre>cd /tmp</pre><pre>wget <a href="https://github.com/prometheus/prometheus/releases/download/v3.4.2/prometheus-3.4.2.linux-amd64.tar.gz">https://github.com/prometheus/prometheus/releases/download/v3.4.2/prometheus-3.4.2.linux-amd64.tar.gz</a></pre><pre>tar xvf prometheus-3.4.2.linux-amd64.tar.gz</pre><pre>cd prometheus-3.4.2.linux-amd64</pre><h3>Final prometheus.yml</h3><pre>global:<br>  scrape_interval: 15s<br>  evaluation_interval: 15s</pre><pre>scrape_configs:</pre><pre>  - job_name: &quot;prometheus&quot;<br>    static_configs:<br>      - targets: [&quot;localhost:9090&quot;]<br>        labels:<br>          instance: &quot;Monitoring-Server&quot;</pre><pre>  - job_name: &quot;jenkins-server&quot;<br>    static_configs:<br>      - targets: [&quot;3.85.112.135:9100&quot;]<br>        labels:<br>          app: &quot;jenkins&quot;<br>          server: &quot;server-1&quot;<br>          instance: &quot;Jenkins-Server&quot;</pre><pre>  - job_name: &quot;flask-server&quot;<br>    static_configs:<br>      - targets: [&quot;34.236.146.235:9100&quot;]<br>        labels:<br>          app: &quot;flask-app&quot;<br>          server: &quot;server-2&quot;<br>          instance: &quot;Flask-Server&quot;</pre><h3>Start Prometheus</h3><pre>./prometheus --config.file=prometheus.yml</pre><h3>Prometheus Port</h3><p>ServicePortPrometheus9090</p><h3>Loki Setup</h3><h3>Purpose</h3><p>Loki stores:</p><ul><li>Jenkins logs</li><li>Flask logs</li><li>NGINX log</li><li>Python application logs</li></ul><h3>Loki Installation</h3><pre>mkdir loki<br>cd loki</pre><pre>wget <a href="https://github.com/grafana/loki/releases/download/v3.0.0/loki-linux-amd64.zip">https://github.com/grafana/loki/releases/download/v3.0.0/loki-linux-amd64.zip</a></pre><pre>unzip loki-linux-amd64.zip</pre><pre>chmod +x loki-linux-amd64</pre><pre>./loki-linux-amd64 -config.file=loki-config.yaml</pre><h3>Loki Port</h3><p>ServicePortLoki3100</p><h3>Grafana Setup</h3><h3>Purpose</h3><p>Grafana provies:</p><ul><li>Dashboards</li><li>Real-time charts</li><li>Alerting system</li><li>Infrastructure visualization</li></ul><h3>Grafana Installation</h3><pre>sudo apt install -y adduser libfontconfig1 musl</pre><pre>wget <a href="https://dl.grafana.com/enterprise/release/grafana-enterprise_12.0.1_amd64.deb">https://dl.grafana.com/enterprise/release/grafana-enterprise_12.0.1_amd64.deb</a></pre><pre>sudo dpkg -i grafana-enterprise_12.0.1_amd64.deb</pre><pre>sudo systemctl enable grafana-server<br>sudo systemctl start grafana-server</pre><h3>Grafana Port</h3><p>ServicePortGrafana3000</p><h3>Data Sources Configured</h3><p>Data SourceURLPrometheus<a href="http://localhost:9090/">http://localhost:9090</a>Loki<a href="http://localhost:3100/">http://localhost:3100</a></p><h3>Dashboards Created</h3><h3>1. Jenkins Monitoring Dashboard</h3><p>Imported using dashboard ID:</p><pre>1860</pre><p>Shows:</p><ul><li>CPU usage</li><li>RAM usage</li><li>Disk usage</li><li>Uptime</li><li>Network metrics</li></ul><h3>2. Flask Server Dashboard</h3><p>Monitors:</p><ul><li>Flask server health</li><li>System performance</li><li>Resource utilization</li></ul><h3>3. Application Logs Dashboard</h3><p>Using Loki queries.</p><h3>Example Loki Queries</h3><h3>Jenkins Logs</h3><pre>{job=&quot;jenkins&quot;}</pre><h3>Flask Logs</h3><pre>{job=&quot;flask-app&quot;}</pre><h3>Python Errors</h3><pre>{job=&quot;flask-app&quot;} |= &quot;ERROR&quot;</pre><h3>Grafana Email Alerting</h3><h3>Why Alerts Are Important</h3><p>Alerts notify administrators when:</p><ul><li>CPU usage becomes high</li><li>Memory is exhausted</li><li>Servers go down</li><li>Applications crash</li></ul><h3>SMTP Configuration</h3><p>Configured Gmail SMTP in Grafana:</p><pre>[smtp]<br>enabled = true<br>host = smtp.gmail.com:587<br>user = shivamgarud1001@gmail.com<br>password = YOUR_APP_PASSWORD<br>skip_verify = true<br>from_address = shivamgarud1001@gmail.com<br>from_name = Grafana Alerts<br>startTLS_policy = OpportunisticStartTLS</pre><h3>Alert Created</h3><h3>CPU Usage Alert</h3><p>Condition:</p><pre>100 - (avg(rate(node_cpu_seconds_total{mode=&quot;idle&quot;}[1m])) * 100)</pre><p>Threshold:</p><ul><li>Alert when CPU &gt; 70%</li></ul><h3>Stress Testing</h3><p>Used stress command:</p><pre>stress --cpu 4 --vm 2 --vm-bytes 1G --timeout 60s</pre><p>Purpose:</p><ul><li>Simulate heavy server load</li><li>Test Grafana alerting</li><li>Verify observability system</li></ul><h3>AWS Security Group Ports</h3><p>ServicePortJenkins8080Grafana3000Prometheus9090Loki3100Node Exporter9100</p><h3>Final Results</h3><p>Successfully implemented:</p><p>✅ CI/CD Pipeline<br>✅ Flask Deployment<br>✅ Jenkins Automation<br>✅ Infrastructure Monitoring<br>✅ Centralized Logging<br>✅ Grafana Dashboards<br>✅ Prometheus Metrics<br>✅ Loki Log Aggregation<br>✅ Email Alerting<br>✅ CPU/RAM Monitoring<br>✅ Real-Time Observability</p><h3>Conclusion</h3><p>This project demonstrates a complete DevOps observability architecture used in modern cloud infrastructure environments.</p><p>It combines:</p><ul><li>Monitoring</li><li>Logging</li><li>Alerting</li><li>CI/CD</li><li>Infrastructure visibility</li></ul><p>into a centralized platform.</p><p>This setup is highly valuable for:</p><ul><li>DevOps Engineers</li><li>Site Reliability Engineers</li><li>Cloud Engineers</li><li>Infrastructure Teams</li></ul><p>and serves as a strong production-level portfolio project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkgEyhJyBs7ZTIVKjv55Ng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U78LzMgz4Q2J7Wb4_03_wA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51GFkTI2qT2n_MwuIZZZ6g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9_Ar3HHFCfjwAFblJ4gag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3mUHQz0GdF6fQe0z4uuotA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b65abc510bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Moved Data Across Two Clouds — And What I Learned Building It From Scratch]]></title>
            <link>https://medium.com/@shivam.garud2011/how-i-moved-data-across-two-clouds-and-what-i-learned-building-it-from-scratch-e3b95548b902?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3b95548b902</guid>
            <category><![CDATA[data-migration]]></category>
            <category><![CDATA[cosmosdb]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 10:55:43 GMT</pubDate>
            <atom:updated>2026-04-27T10:55:43.094Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Multi-Cloud Data Migration Pipeline (AWS → Azure)</h3><h3>🔥 Turning a Simple Web Form into a Cross-Cloud Data Engine</h3><p>What started as a basic web form project evolved into a <strong>real-world multi-cloud data pipeline</strong> — designed to simulate how modern applications collect, process, and move data across platforms seamlessly.</p><p>This project demonstrates how user data can travel from a simple frontend to powerful cloud databases, combining <strong>automation, scalability, and real DevOps practices</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_qypbIpb_oW5RTCKgDlPwg.png" /></figure><h3>🎯 Project Aim</h3><p>The goal was to:</p><ul><li>Build a <strong>complete data flow system</strong></li><li>Understand <strong>SQL → NoSQL transformation</strong></li><li>Learn how to <strong>migrate data across cloud platforms</strong></li><li>Apply <strong>DevOps + cloud + backend skills in one project</strong></li></ul><h3>🧠 Why I Built This</h3><p>Instead of just learning tools sparately, I wanted to:</p><ul><li>Solve a <strong>real-world problem</strong></li><li>Understand how companies handle <strong>data migration</strong></li><li>Gain hands-on experience with <strong>AWS and Azure together</strong></li></ul><p>This project is not just about coding — it’s about <strong>thinking like a DevOps engineer</strong>.</p><h3>⚙️ How It Wor</h3><ol><li>A user enters data into a web form (Name, Phone, Age)</li><li>PHP processes the request and stores it in a relational database</li><li>Data is stored in MariaDB on a cloud server</li><li>A Python script migrates data to Amazon DynamoDB</li><li>Another script moves the same data into Azure Cosmos DB</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sx3p_x4K-n5rielHa9cgZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KVWVDs28tUNqWkNQ_PS7lA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MHcMkzkU5ar9nDoJr9dkvQ.png" /></figure><p>👉 Result: A <strong>fully working cross-cloud data pipeline</strong></p><h3>🌐 Tech Stack Highlights</h3><ul><li>Frontend: HTML</li><li>Backend: PHP</li><li>Scripting: Python</li><li>Cloud: AWS + Azure</li><li>Databases: SQL → NoSQL transition</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xviMozD-opjvHyroglXV3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXYEewXSACQpCPZcFP_w_g.png" /></figure><h3>💡 What Makes This Project Special</h3><ul><li>🔁 <strong>Multi-Cloud Integration</strong> (AWS + Azure in one pipeline)</li><li>🔄 <strong>Live Data Migration</strong> (not static or manual)</li><li>⚡ <strong>Automation with Python</strong></li><li>🔐 <strong>Security Awareness</strong> (handling secrets properly)</li><li>🧠 <strong>Real DevOps Thinking</strong></li></ul><h3>📈 Advantages of This Approach</h3><ul><li>Scalable architecture</li><li>Flexible database usage</li><li>Cloud portability</li><li>Real-world production concept</li><li>Strong foundation for DevOps roles</li></ul><h3>🚀 What I Learned</h3><ul><li>How to design <strong>end-to-end data pipelines</strong></li><li>Handling <strong>cloud services like a real engineer</strong></li><li>Debugging real issues (region mismatch, secrets, permissions)</li><li>Importance of <strong>security and best practices</strong></li><li>Connecting different technologies into one system</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CPmZHhsDnHBV5U80bit1Kg.png" /></figure><h3>🔮 Future Enhancements</h3><ul><li>Automate using CI/CD pipelines</li><li>Add real-time streaming</li><li>Visual dashboard for analytics</li><li>Containerize with Docker &amp; Kubernetes</li></ul><h3>🎯 Final Thought</h3><p>This project reflects a shift from:<br>👉 <em>Learning tools individually</em><br>to<br>👉 <em>Building complete systems like in industry</em></p><p>It’s not just a project — it’s a <strong>step toward becoming a DevOps Engineer</strong> 🚀</p><h3>👨‍💻 Developed By</h3><h3>Shivam Garud</h3><p>🧠 <em>DevOps &amp; Cloud Engineer</em></p><p>💼 <em>DevOps Engineer | CI/CD | Docker | Kubernetes | Terraform | Ansible | AWS | Linux | Cloud Automation | Infrastructure as Code</em></p><p>🌐 <strong>Connect with me:</strong></p><ul><li>🔗 GitHub: <a href="https://github.com/Shivamgarud8">https://github.com/Shivamgarud8</a></li><li>✍️ Medium Blog: <a href="https://medium.com/@shivam.garud2011">https://medium.com/@shivam.garud2011</a></li><li>💼 LinkedIn: <a href="https://github.com/Shivamgarud8/Data-Migration-Azure.git">https://github.com/Shivamgarud8/Data-Migration-Azure.git</a></li><li>🌍 Portfolio: <a href="https://shivam-garud.vercel.app/">https://shivam-garud.vercel.app/</a></li></ul><p>🚀 <em>Building scalable systems, automating workflows, and exploring the power of cloud &amp; DevOps.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3b95548b902" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Python CI/CD
Using Jenkins and
GitHub Actions]]></title>
            <link>https://medium.com/@shivam.garud2011/automated-python-ci-cd-using-jenkins-and-github-actions-0ed8d11c72ac?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ed8d11c72ac</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[automatic]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Mon, 09 Mar 2026 03:05:10 GMT</pubDate>
            <atom:updated>2026-03-09T03:05:10.145Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project demonstrates a fully automated CI/CD pipeline for a Python Flask application. The pipeline is driven by two tools working in tandem — GitHub Actions as the event trigger, and Jenkins as the execution engine. The moment a developer pushes code, the entire build and deploy cycle runs without a single manual step.</p><p>The central goal was simple but powerful: eliminate manual CI/CD execution entirely. Every git push to the master branch should cascade automatically through build, test, and deploy — with Jenkins receiving its instructions from GitHub Actions via a secure remote API call.</p><h3>Technology Stack</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hexl9mOv6bxnJGNC4t2tLg.png" /></figure><h3>CI/CD Architecture</h3><p>The pipeline follows a clean linear flow. A developer pushes code. GitHub detects the event, runs a workflow, and fires a POST request at the Jenkins server. Jenkins picks up the request, authenticates it via token, and executes the defined pipeline stages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CCcbgXjm0WfQTBw036eOew.png" /></figure><pre>01 → Developer pushes code to GitHub<br>02 → GitHub Actions workflow triggers automatically<br>03 → curl POST request sent to Jenkins remote API<br>04 → Jenkins clones repo and installs dependencies<br>05 → Application is built and deployed to EC2<br>06 → Live server updated — zero manual steps</pre><p>Project Structure</p><pre>Email-Python-CICD-GitHub-Action/<br>├── .github/<br>│   └── workflows/<br>│       └── jenkins-action.yml   # GitHub Actions trigger<br>├── templates/                   # Flask HTML templates<br>├── app.py                       # Flask application entry<br>├── requirements.txt             # Python dependencies<br>├── Dockerfile                   # Container definition<br>├── Jenkinsfile                  # Pipeline stages<br>└── README.md</pre><h3>Step-by-Step Implementation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6pIZrG0L0H-7G3PzHP0YA.png" /></figure><h3>Step 1 — Developer Pushes Code</h3><p>The entire pipeline begins with a standard git workflow. Once code is committed and pushed, GitHub detects the event and acts on it immediately.</p><p>bash</p><pre>git add .<br>git commit -m &quot;update: improved email handler&quot;<br>git push origin master</pre><h3>Step 2 — GitHub Actions Workflow Fires</h3><p>GitHub reads the workflow definition file at .github/workflows/jenkins-action.yml. On a push to master, it spins up an Ubuntu runner and executes the defined steps.</p><p>yaml</p><pre>name: Trigger Jenkins Pipeline</pre><pre>on:<br>  push:<br>    branches:<br>      - master</pre><pre>jobs:<br>  trigger-jenkins:<br>    runs-on: ubuntu-latest</pre><pre>    steps:<br>      - name: Trigger Jenkins Job<br>        run: |<br>          curl -X POST \<br>            <a href="http://your_jenkins_ip:8080/job/email/build?token=jenkins-token">http://YOUR_JENKINS_IP:8080/job/email/build?token=jenkins-token</a><br>```</pre><pre>### Step 3 — GitHub Actions Sends the API Request</pre><pre>The curl command in the workflow sends a POST request to the Jenkins remote trigger endpoint. The authentication token ensures only authorized callers can start a build. No credentials are exposed — they live in GitHub Secrets.</pre><pre>### Step 4 — Jenkins Pipeline Executes</pre><pre>Jenkins receives the trigger, authenticates the token, and begins executing the Jenkinsfile. The pipeline clones the latest code from GitHub, installs Python dependencies, and prepares the application for deployment.</pre><pre>Pipeline stages include:<br>- Cloning the GitHub repository<br>- Installing required Python dependencies<br>- Running the Flask application<br>- Deploying to the server</pre><pre>### Step 5 — Application Deployed</pre><pre>After successful pipeline execution, the application is live on the server. No manual interaction was required at any point after the initial push.</pre><pre>---</pre><pre>## Jenkins Configuration</pre><pre>Several configuration steps are required to make Jenkins respond to remote triggers securely. These are performed once through the Jenkins UI and remain in effect for all subsequent builds.</pre><pre>### Enabling the Remote Trigger</pre><pre>Inside the Jenkins job configuration, under Build Triggers, enable the remote build option and set a token:<br>```<br>Build Triggers<br>  [x] Trigger builds remotely (e.g., from scripts)</pre><pre>Authentication Token: jenkins-token</pre><p>This token is the same value used in the GitHub Actions workflow curl command. It acts as the shared secret between the two systems.</p><h3>Credentials Configuration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wofuAWyu3pPKM5WnojmUXA.png" /></figure><p>Because the GitHub repository is private, Jenkins needs authentication credentials to clone it during pipeline execution. These are stored securely inside Jenkins Credential Manager — never hardcoded in the Jenkinsfile.</p><p>Two credential types are configured:</p><p><strong>GitHub Repository Access Token</strong> — allows Jenkins to clone private repositories without exposing a password.</p><p><strong>SSH Private Key</strong> — used for secure server authentication during the deployment stage.</p><h3>Pipeline Execution Results</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*crMG1JBNGWeYqPjGxKOg8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEEZ48qEBEJkyUdl6yEJ8A.png" /></figure><p>Once configured, the pipeline runs end-to-end on every push. The Jenkins dashboard shows the build history, stage-by-stage timing, and final status. A green build confirms successful deployment.</p><p>The stage view breaks down each step — clone, install, deploy — with timestamps and logs available for debugging if anything fails.</p><h3>Benefits of This Architecture</h3><p>Moving from manually triggered pipelines to this event-driven model produces meaningful improvements across the entire development lifecycle:</p><ul><li>Manual Jenkins job execution is completely removed</li><li>Deployment time is reduced — builds start within seconds of a push</li><li>Reliability improves because the process is deterministic and version-controlled</li><li>The pipeline scales naturally — multiple developers can push independently without interference</li><li>Credentials are managed centrally in Jenkins, not scattered across scripts</li><li>The entire workflow is auditable through Jenkins build history and GitHub Actions logs</li></ul><h3>Learning Outcomes</h3><p>Building this pipeline surfaces practical knowledge across several interconnected DevOps disciplines — not just the individual tools, but how they compose into a coherent system.</p><p>The key architectural insight: GitHub Actions is not a CI/CD tool, it is a workflow orchestrator. Jenkins is not a workflow tool, it is a build execution engine. Using each for what it does best, and connecting them via a standard HTTP API, produces a system that is both robust and easy to reason about.</p><p>Skills applied through this project: CI/CD pipeline design, Jenkins remote API usage, GitHub Actions workflow authoring, secure credential management, AWS EC2 deployment, SSH authentication, and Docker containerization.</p><h3>Conclusion</h3><p>This project demonstrates how Jenkins and GitHub Actions can be integrated to form a pipeline where every code push automatically travels through build, test, and deployment stages without human intervention. The implementation is practical, secure, and reflects the kind of CI/CD architecture used in real production environments.</p><p>The combination of GitHub Actions for event-driven triggering and Jenkins for heavy-lifting execution is a pattern worth understanding deeply — it separates concerns cleanly and leverages the strengths of both platforms.</p><h3>🙏 Acknowledgement</h3><p>👩‍🏫 <strong>Guided and Supported by </strong><a href="https://medium.com/@truptimane"><strong>Trupti Mane Ma’am</strong></a></p><p>Her guidance and support helped in understanding the concepts and building this project with proper DevOps practices.</p><h3>👨‍💻 Developed By</h3><h3>Shivam Garud</h3><p><em>DevOps &amp; Cloud Engineer</em></p><p><strong>Skills &amp; Expertise:</strong><br>DevOps • CI/CD • Docker • Kubernetes • Terraform • Ansible • AWS • Linux • Cloud Automation • Infrastructure as Code (IaC)</p><h3>🌐 Connect With Me</h3><p>🐙 <strong>GitHub: </strong><a href="https://github.com/Shivamgarud8">Shivam Garud GitHub</a> ✍ <strong>Medium Blog: </strong><a href="https://medium.com/@shivam.garud2011">Read My Articles</a></p><p>💼 <strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/shivam-garud">Connect on LinkedIn</a> 🌍 <strong>Portfolio: </strong><a href="https://shivam-garud.vercel.app/">Visit My Portfolio</a></p><p>⭐ If you found this article helpful, consider <strong>clapping 👏, sharing, and following</strong> for more DevOps, Cloud, and Automation projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ed8d11c72ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub Actions — The Silent DevOps Engineer Behind Your Code ]]></title>
            <link>https://medium.com/@shivam.garud2011/github-actions-the-silent-devops-engineer-behind-your-code-4f7c887f0c71?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f7c887f0c71</guid>
            <category><![CDATA[githu]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 18:31:26 GMT</pubDate>
            <atom:updated>2026-03-06T18:31:26.381Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine this.</p><p>You just pushed your code to GitHub.<br>You close your laptop.<br>But the work <strong>doesn’t stop</strong>.</p><p>Somewhere in the background, a <strong>silent DevOps engineer wakes up</strong>.<br>It checks your code, installs dependencies, runs tests, builds the project, and even deploys it to the server.</p><p>That silent engineer is called <strong>GitHub Actions</strong>.</p><h3>The Moment Everything Changed</h3><p>Earlier, developers had to manually:</p><ul><li>Pull code on servers</li><li>Run build commands</li><li>Execute tests</li><li>Deploy applications</li></ul><p>It was slow. It was repetitive. And sometimes it broke production.</p><p>Then GitHub introduced <strong>Actions</strong>.</p><p>Now whenever you <strong>push code</strong>, <strong>open a pull request</strong>, or <strong>merge a branch</strong>, an automated workflow can start instantly.</p><p>Think of it like a <strong>robotic pipeline for your repository</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8nIlTnfmHUDfhscGBbh2xg.png" /></figure><h3>What GitHub Actions Can Do</h3><p>GitHub Actions can automate almost anything in your development workflow:</p><p>⚙️ <strong>CI/CD Pipelines</strong><br>Automatically build, test, and deploy your application.</p><p>🧪 <strong>Run Tests Automatically</strong><br>Every commit can trigger unit tests so bugs never reach production.</p><p>📦 <strong>Build Applications</strong><br>Compile Node.js, Python, Java, or Docker projects automatically.</p><p>🐳 <strong>Build and Push Docker Images</strong><br>Create Docker images and push them to registries.</p><p>🚀 <strong>Deploy to Servers or Cloud</strong><br>Deploy to AWS, Kubernetes clusters, or any remote server.</p><p>🔍 <strong>Security &amp; Code Scanning</strong><br>Automatically scan code for vulnerabilities.</p><p>📊 <strong>Automation Tasks</strong><br>Send notifications, create releases, update issues, or run scripts.</p><h3>How It Works</h3><p>Inside every GitHub repository, there is a folder:</p><pre>.github/workflows/</pre><p>Here you define a <strong>YAML workflow file</strong>.</p><p>Example:</p><pre>name: CI Pipeline</pre><pre>on: push</pre><pre>jobs:<br>  build:<br>    runs-on: ubuntu-latest</pre><pre>    steps:<br>      - uses: actions/checkout@v3<br>      - run: npm install<br>      - run: npm test</pre><p>Once committed, GitHub automatically executes these steps on a virtual machine.</p><p>No manual work.<br>No servers to manage.</p><p>Just <strong>automation</strong>.</p><h3>Why Developers Love It</h3><p>GitHub Actions gives you:</p><p>✅ Automation<br>✅ Faster deployments<br>✅ Consistent builds<br>✅ Reduced human errors<br>✅ Full CI/CD inside GitHub</p><p>For DevOps engineers, it becomes a <strong>powerful automation engine</strong>.</p><h3>But What If You Need More Power? ⚡</h3><p>Sometimes projects grow bigger.</p><p>You may need:</p><ul><li>Dedicated build servers</li><li>Complex pipelines</li><li>Multi-stage deployments</li><li>Infrastructure orchestration</li></ul><p>This is where <strong>Jenkins</strong> enters the game.</p><p>GitHub Actions can trigger pipelines, while <strong>Jenkins takes control of advanced automation</strong>, distributed builds, and enterprise-grade CI/CD workflows.</p><h3>Something Bigger Is Coming… 👀</h3><p>This article is just the beginning.</p><p>Very soon, I will release a <strong>real-world DevOps project</strong> where:</p><ul><li>GitHub Actions triggers the pipeline</li><li>Jenkins executes the CI/CD workflow</li><li>Docker builds the application</li><li>Infrastructure gets deployed automatically</li></ul><p>A <strong>complete DevOps automation pipeline</strong>.</p><p>Stay tuned.</p><p>Because the next project will show how <strong>GitHub Actions and Jenkins work together to create a powerful CI/CD ecosystem</strong>.</p><p>And trust me…<br>It’s going to be exciting. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f7c887f0c71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ 4 Simple Ansible Projects with NGINX (Port 80 → Custom Ports)]]></title>
            <link>https://medium.com/@shivam.garud2011/4-simple-ansible-projects-with-nginx-port-80-custom-ports-14ca2b2cf0f5?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/14ca2b2cf0f5</guid>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[ansible-playbook]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Sat, 20 Dec 2025 15:17:42 GMT</pubDate>
            <atom:updated>2025-12-20T15:17:42.135Z</atom:updated>
            <content:encoded><![CDATA[<p>These projects demonstrate how to install and configure <strong>NGINX using Ansible</strong>, starting from a <strong>basic setup</strong> and gradually introducing <strong>custom ports, restart logic, and handlers</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gjpixb_Z3vrQ21eNhFLhiA.png" /></figure><h3>]Project 01: Simple NGINX Install (Port 80 — No Handlers)</h3><h3>� Goal</h3><ul><li>Install NGINX</li><li>Run on <strong>default port 80</strong></li><li>Deploy a simple HTML page</li><li><strong>No handlers, no restart logic</strong></li></ul><h3>Use Case</h3><p>Best for beginners learning:</p><ul><li>Package installation</li><li>Service management</li><li>File deployment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPzlCX12mSlKdjFg9m61jg.png" /></figure><h3>Playbook:</h3><pre>---<br>- name: without handlers nginx<br>  hosts: without # add your target hosts or group here  <br>  become: yes<br>  vars:<br>    port: 90<br>    path: /usr/share/nginx/html/index.html<br>    config: /etc/nginx/conf.d/test.conf<br>    web_server: nginx<br>  tasks:<br>   - name: install nginx<br>     ansible.builtin.dnf:<br>      name: &quot;{{web_server}}&quot;<br>      state: present<br>   - name: start and enable nginx<br>     ansible.builtin.systemd_service:<br>      name: &quot;{{web_server}}&quot;<br>      state: started  <br>      enabled: true<br><br>   - name: configure for port<br>     ansible.builtin.blockinfile:<br>      path: &quot;{{config}}&quot;<br>      create: yes<br>      block: |<br>          server {<br>              listen {{ port }};<br>              server_name _;<br><br>              location / {<br>                  root /usr/share/nginx/html;<br>                  index index.html;<br>              }<br>          }<br>   - name: deploy html file<br>     ansible.builtin.copy:<br>      dest: &quot;{{path}}&quot;<br>      content: |<br>       &lt;h1&gt; nginx without hanldes run in {{inventory_hostname}} on {{port}} on  &lt;/h1&gt;<br><br><br></pre><h3>Project 02: Custom Port (85) + Restart Logic (No Handlers)</h3><h3>Goal:</h3><ul><li>Run NGINX on <strong>port 85</strong></li><li>Restart NGINX <strong>only if config changes</strong></li><li><strong>Still no handlers</strong></li></ul><h3>Key Learning</h3><ul><li>register</li><li>when: condition</li><li>Controlled service restart</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b9Lp9lCJJVelEwT4TkXk8g.png" /></figure><h3>Playbook</h3><pre>---<br>- name: Project 02 - nginx on custom port 85 without handlers<br>  hosts: without<br>  become: yes<br><br>  vars:<br>    port: 85<br>    path: /usr/share/nginx/html/index.html<br>    config: /etc/nginx/conf.d/test.conf<br>    web_server: nginx<br><br>  tasks:<br>    - name: Install nginx<br>      ansible.builtin.dnf:<br>        name: &quot;{{web_server}}&quot;<br>        state: present<br><br>    - name: Start and enable nginx<br>      ansible.builtin.systemd_service:<br>        name: &quot;{{web_server}}&quot;<br>        state: started<br>        enabled: true<br><br>    - name: Configure nginx for port 85<br>      ansible.builtin.blockinfile:<br>        path: &quot;{{config}}&quot;<br>        create: yes<br>        block: |<br>          server {<br>              listen {{ port }};<br>              server_name _;<br>              location / {<br>                  root /usr/share/nginx/html;<br>                  index index.html;<br>              }<br>          }<br>   <br><br>    - name: Reload nginx if config changed<br>      ansible.builtin.systemd_service:<br>        name: &quot;{{ web_server }}&quot;<br>        state: reloaded<br>      when: nginx_config.changed<br><br>    - name: Deploy HTML file<br>      ansible.builtin.copy:<br>        dest: &quot;{{ path }}&quot;<br>        content: |<br>          &lt;h1&gt;NGINX running on {{ inventory_hostname }} at port {{ port }}&lt;/h1&gt;</pre><h3>Project 03: Custom Port (90) Using Handlers (Notify)</h3><h3>Goal</h3><ul><li>Use <strong>handlers</strong></li><li>Restart NGINX only when config changes</li><li>Industry-standard approach</li></ul><h3>Key Learning</h3><ul><li>notify</li><li>handlers</li><li>Event-driven restarts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Vn2zKYnvwSuyinoOxdx-g.png" /></figure><h3>Playbook</h3><pre>---<br>- name: Project 03 - nginx with handlers on port 90<br>  hosts: without<br>  become: yes<br><br>  vars:<br>    port: 90<br>    path: /usr/share/nginx/html/index.html<br>    config: /etc/nginx/conf.d/test.conf<br>    web_server: nginx<br><br>  tasks:<br>    - name: Install nginx<br>      ansible.builtin.dnf:<br>        name: &quot;{{ web_server }}&quot;<br>        state: present<br><br>    - name: Start and enable nginx<br>      ansible.builtin.systemd_service:<br>        name: &quot;{{ web_server }}&quot;<br>        state: started<br>        enabled: true<br><br>    - name: Configure nginx for port 90<br>      ansible.builtin.blockinfile:<br>        path: &quot;{{ config }}&quot;<br>        create: yes<br>        block: |<br>          server {<br>              listen {{ port }};<br>              server_name _;<br>              location / {<br>                  root /usr/share/nginx/html;<br>                  index index.html;<br>              }<br>          }<br>      notify: restart nginx<br><br>    - name: Deploy HTML file<br>      ansible.builtin.copy:<br>        dest: &quot;{{ path }}&quot;<br>        content: |<br>          &lt;h1&gt;NGINX running on {{ inventory_hostname }} at port {{ port }}&lt;/h1&gt;<br><br>  handlers:<br>    - name: restart nginx<br>      ansible.builtin.systemd_service:<br>        name: &quot;{{ web_server }}&quot;<br>        state: reloaded</pre><h3>Project 04: Only Custom Port (90) — No Default Port 80</h3><h3>Goal</h3><ul><li>Disable default config</li><li>Run <strong>only on custom port 90</strong></li><li>Clean production-style setup</li></ul><h3>Key Learning</h3><ul><li>Removing default config</li><li>Production-ready configuration</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E4XF5Ksb7yfH44YdYP3NWQ.png" /></figure><h3>Playbook</h3><pre>---<br>- name: Project 04 - nginx only custom port 90<br>  hosts: without<br>  become: yes<br><br>  vars:<br>    port: 90<br>    path: /usr/share/nginx/html/index.html<br>    config: /etc/nginx/conf.d/custom.conf<br>    web_server: nginx<br><br>  tasks:<br>    - name: Install nginx<br>      ansible.builtin.dnf:<br>        name: &quot;{{ web_server }}&quot;<br>        state: present<br><br>    - name: Remove default nginx config<br>      ansible.builtin.file:<br>        path: /etc/nginx/conf.d/default.conf<br>        state: absent<br><br>    - name: Create custom nginx config<br>      ansible.builtin.blockinfile:<br>        path: &quot;{{ config }}&quot;<br>        create: yes<br>        block: |<br>          server {<br>              listen {{ port }};<br>              server_name _;<br>              location / {<br>                  root /usr/share/nginx/html;<br>                  index index.html;<br>              }<br>          }<br>      notify: restart nginx<br><br>    - name: Deploy HTML page<br>      ansible.builtin.copy:<br>        dest: &quot;{{ path }}&quot;<br>        content: |<br>          &lt;h1&gt;Custom NGINX running ONLY on port {{ port }}&lt;/h1&gt;<br><br>  handlers:<br>    - name: restart nginx<br>      ansible.builtin.systemd_service:<br>        name: &quot;{{ web_server }}&quot;<br>        state: restarted</pre><p>crate Inventory file</p><pre>vim inventory.ini</pre><p>Add Username, keypair file , IP(Private IP)</p><pre>[without]<br>51.20.144.159 ansible_user=ec2-user ansible_ssh_private_key_file=/home/ubuntu/terraform.pem</pre><p><strong>Author &amp; Connect:</strong><br> Written by <strong>Shivam Garud</strong><br> 🔗 <strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/shivam-garud/">https://www.linkedin.com/in/shivam-garud/</a><br> 💻 <strong>GitHub:</strong> <a href="https://github.com/Shivamgarud8">https://github.com/Shivamgarud8</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14ca2b2cf0f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚡ Serverless Magic with AWS Rekognition — Automated Image Analysis System]]></title>
            <link>https://medium.com/@shivam.garud2011/serverless-magic-with-aws-rekognition-automated-image-analysis-system-c71f50b3c5d1?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c71f50b3c5d1</guid>
            <category><![CDATA[sns]]></category>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[rekognition]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 19:26:12 GMT</pubDate>
            <atom:updated>2025-11-13T19:26:12.437Z</atom:updated>
            <content:encoded><![CDATA[<h3>⚡ Serverless Magic with AWS Rekognition — Automated Image Analysis System</h3><h3>🌟 Introduction</h3><p>Ever imagined a system that <em>instantly understands your images</em> the moment you upload them? 🤔</p><p>That’s exactly what I built — a <strong>serverless image analysis project</strong> powered by <strong>AWS Rekognition</strong>, <strong>Lambda</strong>, <strong>S3</strong>, and <strong>SNS</strong>.</p><p>This setup analyzes every uploaded image automatically and sends instant analysis results (like detected objects, faces, or scenes) through <strong>Amazon SNS</strong> notifications — all without managing a single server. 🚀</p><h3>🧠 What is AWS Rekognition?</h3><p><strong>Amazon Rekognition</strong> is a <strong>deep learning–based image and video analysis service</strong> from AWS.<br> It can:</p><ul><li>Detect objects, people, and scenes 🧍‍♂️</li><li>Recognize faces and emotions 😊😐😢</li><li>Extract text from images (OCR) 🧾</li><li>Identify unsafe or inappropriate content 🚫</li></ul><p>The best part? You don’t need to train any model — Rekognition uses pre-trained AI models that you can directly access via API calls.</p><h3>💡 Real-World Use Cases</h3><p>Here are some powerful use cases where Rekognition shines:</p><p>1️⃣ <strong>Security &amp; Surveillance</strong> — Identify individuals or detect intruders in CCTV feeds.<br> 2️⃣ <strong>E-commerce</strong> — Auto-tag products and detect logos for product listings.<br> 3️⃣ <strong>Social Media Moderation</strong> — Detect and block explicit or unsafe images.<br> 4️⃣ <strong>Education</strong> — Smart attendance system using facial recognition.<br> 5️⃣ <strong>Mobile Apps</strong> — Face login and AR filter features.<br> 6️⃣ <strong>Document Processing</strong> — Extract text from invoices or ID cards.</p><h3>🏗️ Architecture Overview</h3><p>Here’s how the system works step-by-step 👇</p><p>1️⃣ A user uploads an image to <strong>Amazon S3</strong> (e.g., <em>user-uploaded-images-ai</em>).<br> 2️⃣ This upload <strong>triggers an AWS Lambda function</strong> automatically.<br> 3️⃣ The <strong>Lambda function</strong> calls <strong>AWS Rekognition</strong> API to analyze the image.<br> 4️⃣ Rekognition returns <strong>detected labels, objects, and confidence scores</strong>.<br> 5️⃣ The Lambda function then sends the result through <strong>Amazon SNS</strong>, notifying the user.</p><p>All event-driven. All serverless. All awesome. ⚡</p><h3>⚙️ Step-by-Step Setup Guide</h3><p>Let’s get our hands dirty! 🧑‍💻</p><p>🧩 Step 1: Create an S3 Bucket</p><ol><li>Go to <strong>AWS S3 → Create bucket</strong></li><li>Bucket name: user-uploaded-images-ai</li><li>Choose <strong>Region: ap-south-1 (Mumbai)</strong> ✅ <em>(Rekognition runs perfectly here)</em></li><li>Keep all other settings default and click <strong>Create bucket</strong></li></ol><h3>🧩 Step 2: Create an SNS Topic</h3><ol><li>Open <strong>Amazon SNS → Topics → Create topic</strong></li><li>Choose <strong>Standard</strong></li><li>Name it: AI-Rekognition</li><li>Copy the <strong>Topic ARN</strong> — you’ll need it later for Lambda environment variables.</li></ol><h3>🧩 Step 3: Create an IAM Role</h3><p>We’ll create a role that gives Lambda access to S3, Rekognition, and SNS</p><ol><li>Go to <strong>IAM → Roles → Create role</strong></li><li>Select <strong>AWS service → Lambda</strong></li><li>Attach these policies:</li></ol><ul><li>AmazonS3ReadOnlyAccess</li><li>AmazonRekognitionFullAcces</li><li>AmazonSNSFullAccess</li><li>CloudWatchLogsFullAccess</li></ul><ol><li>Name the role: lambda-rekognition-role</li><li>Create the role ✅</li></ol><h3>🧩Step 4: Create the Lambda Function</h3><ol><li>Go to <strong>AWS Lambda → Create function</strong></li><li>Choose <strong>Author from scratch</strong></li><li>Function name: ImageAnalysisFunction</li><li>Runtime: <strong>Python 3.12</strong></li><li>Role: <strong>Use existing role → lambda-rekognition-role</strong></li></ol><h3>🧩 Step 5: Add Environment Variables</h3><p>In the Lambda function, go to the <strong>Configuration → Environment Variables</strong> tab and add these:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Pcbjd1hKnb1UYNLrn8r0A.png" /></figure><p>✅ These variables make your code flexible — you can easily change configs without editing the function code.</p><h3>🧩 Step 6: Lambda Function Code</h3><p>Paste this code inside your Lambda function (index.py):</p><pre>import boto3<br>import os<br>import json</pre><pre>s3 = boto3.client(&#39;s3&#39;)<br>rekognition = boto3.client(&#39;rekognition&#39;, region_name=os.environ[&#39;REGION&#39;])<br>sns = boto3.client(&#39;sns&#39;)</pre><pre>def lambda_handler(event, context):<br>    bucket = os.environ[&#39;BUCKET_NAME&#39;]<br>    max_labels = int(os.environ[&#39;MAX_LABELS&#39;])<br>    min_conf = int(os.environ[&#39;MIN_CONFIDENCE&#39;])<br>    sns_arn = os.environ[&#39;SNS_ARN&#39;]</pre><pre>    for record in event[&#39;Records&#39;]:<br>        image_name = record[&#39;s3&#39;][&#39;object&#39;][&#39;key&#39;]</pre><pre>        response = rekognition.detect_labels(<br>            Image={&#39;S3Object&#39;: {&#39;Bucket&#39;: bucket, &#39;Name&#39;: image_name}},<br>            MaxLabels=max_labels,<br>            MinConfidence=min_conf<br>        )</pre><pre>        labels = [label[&#39;Name&#39;] for label in response[&#39;Labels&#39;]]<br>        message = {<br>            &#39;ImageName&#39;: image_name,<br>            &#39;DetectedLabels&#39;: labels<br>        }</pre><pre>        sns.publish(<br>            TopicArn=sns_arn,<br>            Message=json.dumps(message),<br>            Subject=f&quot;Rekognition Results for {image_name}&quot;<br>        )</pre><pre>        print(f&quot;✅ Analyzed {image_name}: {labels}&quot;)</pre><pre>    return {&#39;statusCode&#39;: 200, &#39;body&#39;: json.dumps(&#39;Image analysis completed&#39;)}</pre><h3>🧩 Step 7: Add S3 Trigger</h3><ol><li>In Lambda → <strong>Configuration → Triggers → Add trigger</strong></li><li>Choose <strong>S3</strong></li><li>Select your bucket user-uploaded-images-ai</li><li>Event type: PUT (Object Created)</li><li>Check ✅ <em>Enable trigge</em></li><li>Save</li></ol><p>Now every image upload will automatically trigger the Lambda function.</p><h3>🚀 Test the Workflow</h3><ol><li>Upload an image to your S3 bucket.</li><li>Check <strong>CloudWatch Logs</strong> → You’ll see Rekognition results logged.</li><li>You’ll also receive a <strong>notification via SNS</strong> with image details and detected labels.</li></ol><p>Boom 💥 Your <strong>AI-powered serverless image analyzer</strong> is live!</p><h3>🌈 Key Benefits</h3><ul><li>✅ <strong>Fully Serverless</strong> — No servers to manage</li><li>⚙️ <strong>Event-driven Architecture</strong> — Automated workflow</li><li>💸 <strong>Pay-per-use</strong> — Cost-efficient setup</li><li>🔐 <strong>Secure</strong> — IAM-based access control</li><li>🌍 <strong>Scalable</strong> — Handles any number of uploads</li></ul><h3>🔗 Project Resources</h3><ul><li>🧑‍💻 <strong>GitHub Repository:</strong> <a href="https://github.com/Shivamgarud8/images-Rekognito.git">https://github.com/Shivamgarud8/images-Rekognito.git</a></li><li>✍️ <strong>LinkedIn Post:</strong><a href="https://www.linkedin.com/in/shivam-garud-371b5a307/">https://www.linkedin.com/in/shivam-garud-371b5a307/</a></li></ul><h3>✨ Conclusion</h3><p>From <strong>upload → analyze → notify</strong>, everything happens seamlessly and automatically.<br> That’s the <strong>power of AWS serverless architecture</strong> combined with <strong>AI-driven image recognition</strong></p><blockquote><em>💬 “The best systems don’t need attention — they just work.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2jf0TEcSRSmIB_07z28uUA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c71f50b3c5d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Getting Started with Terraform on Windows — Step-by-Step Guide for Beginners]]></title>
            <link>https://medium.com/@shivam.garud2011/getting-started-with-terraform-on-windows-step-by-step-guide-for-beginners-4c20c6fccf5c?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c20c6fccf5c</guid>
            <category><![CDATA[tfstate]]></category>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Wed, 12 Nov 2025 11:14:19 GMT</pubDate>
            <atom:updated>2025-11-12T11:14:19.959Z</atom:updated>
            <content:encoded><![CDATA[<h3>🌍 Getting Started with Terraform on Windows — Step-by-Step Guide for Beginners</h3><p>In this tutorial, I’ll walk you through installing <strong>Terraform</strong> on Windows, setting it up in <strong>VS Code</strong>, and running your first project — from scratch to automation.</p><p>Whether you’re a DevOps learner or a curious beginner, this guide will make your Terraform journey smooth and hands-on.</p><h3>🧠 What is Terraform?</h3><p><strong>Terraform</strong>, developed by <strong>HashiCorp</strong>, is an open-source tool that lets you <strong>build, change, and manage infrastructure</strong> using simple code files.</p><p>Instead of manually configuring servers, you write a configuration file (in .tf format), and Terraform automates the entire setup.</p><p>Example use cases:</p><ul><li>Provisioning AWS EC2 instances</li><li>Managing S3 buckets, VPCs, and load balancers</li><li>Creating infrastructure on Azure, GCP, or local systems</li></ul><h3>⚙️ Step 1: Install Terraform Extension in VS Code</h3><ol><li>Open <strong>VS Code</strong>.</li><li>Go to <strong>Extensions (Ctrl + Shift + X)</strong>.</li><li>Search for <strong>“HashiCorp Terraform”</strong>.</li><li>Click <strong>Install</strong> — this adds syntax highlighting, snippets, and formatting for .tf files.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x182TSU7acdTVtx0l56x0w.jpeg" /></figure><h3>💻 Step 2: Install Terraform on Windows using PowerShell</h3><p>You’ll install Terraform using <strong>Chocolatey</strong> (a Windows package manager).</p><ol><li>Open <strong>PowerShell as Administrator</strong><br> (Search for PowerShell → Right-click → “Run as Administrator”).</li><li>Run the following commands one by one:</li></ol><pre>Set-ExecutionPolicy Bypass -Scope Process -Force<br>[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072<br>iex ((New-Object System.Net.WebClient).DownloadString(&#39;https://community.chocolatey.org/install.ps1&#39;))</pre><p>✅ This installs <strong>Chocolatey</strong>.</p><ol><li>Once installed, check Chocolatey’s version:</li></ol><pre>choco -v</pre><p>Example output:</p><pre>2.3.0</pre><ol><li>Now install <strong>Terraform</strong> using Chocolatey:</li></ol><pre>choco install terraform -y</pre><h3>🧩 Step 3: Verify Terraform Installation</h3><p>After the installation completes, check Terraform’s version:</p><pre>terraform -v</pre><p><strong>Expected output:</strong></p><pre>Terraform v1.9.8<br>on windows_amd64</pre><p>If you see the version number, Terraform is successfully installed 🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6AAcKTutdy30P9HeUX8juQ.jpeg" /></figure><h3>📁 Step 4: Create Your First Terraform Project</h3><ol><li>Create a new folder (for example terraform-demo)</li><li>Inside that folder, create a file named main.tf</li><li>Add the following test code:</li></ol><pre>resource &quot;local_file&quot; &quot;Horror&quot; {<br>  filename = &quot;horror.txt&quot;<br>  content  = &quot;This is a horror genre file.&quot;<br>}</pre><p>💡 <strong>Explanation:</strong></p><ul><li>local_file → resource type provided by Terraform’s local provider</li><li>&quot;Horror&quot; → name of your resource</li><li>filename → name of the output file Terraform will create</li><li>content → the actual text written into that file</li></ul><h3>Step 5: Initialize Terraform</h3><p>Run this command inside your project folder:</p><pre>terraform init</pre><p><strong>What it does:</strong></p><ul><li>Initializes the working directory</li><li>Downloads necessary provider plugins (like local provider)</li><li>Creates a hidden .terraform directory</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FM_dhPb7f7aGbY_xnr-l0Q.jpeg" /></figure><h3>🧠 Step 6: Create an Execution Plan</h3><pre>terraform plan</pre><p>This command <strong>previews</strong> the changes Terraform will make — without actually applying them.<br> It’s like a “dry run” to verify what will happen next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FM_dhPb7f7aGbY_xnr-l0Q.jpeg" /></figure><h3>🧩 Step-by-Step Breakdown</h3><ol><li><strong>Terraform Reads Your Configuration Files</strong><br> It scans all .tf files in the folder and understands what you’re trying to create, modify, or delete.</li><li><strong>Loads the Current State</strong><br> Terraform reads the terraform.tfstate file (if it exists) to understand the current condition of your setup.<br> If it’s your first run, it assumes nothing exists yet.</li><li><strong>Compares Desired State vs Current State</strong><br> Terraform compares your <strong>desired infrastructure (code)</strong> with the <strong>actual infrastructure (state)</strong>.</li><li>Based on this, it decides:</li></ol><ul><li>+ → what to <strong>add</strong></li><li>~ → what to <strong>modify</strong></li><li>- → what to <strong>destroy</strong></li></ul><h3>📊 Example Plan Output</h3><pre>Terraform will perform the following actions:</pre><pre>  # local_file.Horror will be created<br>  + resource &quot;local_file&quot; &quot;Horror&quot; {<br>      + filename = &quot;horror.txt&quot;<br>      + content  = &quot;This is a horror genre file.&quot;<br>    }</pre><pre>Plan: 1 to add, 0 to change, 0 to destroy.</pre><h3>🧠 Think of It Like a “Blueprint”</h3><p>terraform plan acts as your <strong>blueprint or preview</strong>.<br> It shows exactly:</p><ul><li>What Terraform <strong>will build</strong></li><li>What <strong>changes</strong> it will make</li><li>What <strong>resources</strong> might be affected</li></ul><p>But it doesn’t actually touch your infrastructure — it’s just the <strong>planning phase</strong> 🧾</p><p>This gives you a <strong>safe checkpoint</strong> to review and confirm everything before moving ahead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ljE7RV1HdbZK84VDyvmDw.jpeg" /></figure><h3>🛠️ Step 7: Apply the Configuration</h3><p>Now, let’s create the actual resource:</p><pre>terraform apply</pre><p>Terraform will ask for confirmation — type yes.</p><p>✅ It will automatically create a file named horror.txt in your project directory with the given content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q_slIuOkLArKEnDTcsSfmQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TEvxGyLtMYUQpeiUAmWi6A.jpeg" /></figure><h3>Terraform Workflow Summary</h3><pre>| Command             | Description                      |<br>| ------------------- | -------------------------------- |<br>| `terraform init`    | Initialize the working directory |<br>| `terraform plan`    | Preview changes before applying  |<br>| `terraform apply`   | Apply the configuration          |<br>| `terraform destroy` | Destroy managed resources        |<br>| `terraform show`    | Display current state info       |<br>| `terraform fmt`     | Format your Terraform files      |</pre><p>🔑 In Short</p><pre>| Stage                 | Description                                                            |<br>| --------------------- | ---------------------------------------------------------------------- |<br>| terraform plan      | Prepares a *blueprint* of what Terraform will do (no real changes yet) |<br>| terraform apply       | Executes that blueprint to build your infrastructure                   |<br>| terraform.tfstate     | Keeps track of everything Terraform has built                          |</pre><h3>✍️ Author</h3><p><strong>👨‍💻 Shivam Garud</strong><br> DevOps Enthusiast | Cloud Learner | AI-Powered Creator</p><p>🔗 <a href="https://github.com/shivamgarud8"><strong>GitHub</strong></a><strong> || </strong>🔗 <a href="http://www.linkedin.com/in/shivam-garud-371b5a307"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c20c6fccf5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Node.js App Deployment Using Jenkins Pipeline]]></title>
            <link>https://medium.com/@shivam.garud2011/automated-node-js-app-deployment-using-jenkins-pipeline-708c2a4c7f6e?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/708c2a4c7f6e</guid>
            <category><![CDATA[webhooks]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[jenkinsfile]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 06:15:07 GMT</pubDate>
            <atom:updated>2025-11-06T06:15:07.011Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there! 👋 Today, I’m super excited to share my <strong>journey of automating a Node.js application deployment</strong> using <strong>Jenkins CI/CD Pipeline</strong>. If you’ve ever deployed Node.js apps manually, you know it can be tedious — pulling the repo, installing dependencies, starting the server, and remembering to restart it every time you push code. Well, I decided to solve that problem once and for all. Let me walk you through how I did it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8VvGLiuTzp5_B2YpZgAzw.png" /></figure><h3>🌟 Why CI/CD for Node.js?</h3><p>Before we dive in, let me give a bit of context.</p><p>I have a simple Node.js application that I wanted to deploy on a <strong>Linux server</strong>. Initially, I was doing it manually:</p><ol><li>SSH into the server</li><li>Pull the latest code from GitHub</li><li>Run npm install</li><li>Start the app with PM2</li><li>It was repetitive, error-prone, and honestly… boring. 😅</li></ol><p>That’s when I thought: <em>“Why not automate everything?”</em> Enter <strong>Jenkins</strong> — my automation buddy.</p><h3>📦 My Node.js Project Setup</h3><p>Here’s the stack I was working with:</p><ul><li><strong>Node.js</strong>: Server-side JavaScript runtime</li><li><strong>npm</strong>: To manage dependencies</li><li><strong>PM2</strong>: Process manager to keep the app alive</li><li><strong>Linux Server</strong>: Ubuntu (could be any flavor)</li><li><strong>GitHub</strong>: Hosting my Node.js repo</li><li><strong>Jenkins</strong>: My CI/CD automation tool</li></ul><p>The app itself is pretty simple: a small Node.js server that responds with “Hello, Jenkins Pipeline!” when accessed on <strong>port 3000</strong>.</p><h3>🧩 Building the CI/CD Pipeline</h3><p>The goal was simple:</p><p><em>Every time I push code to GitHub, Jenkins should automatically pull, install, build, and deploy my Node.js app without me touching the server.</em></p><p>Here’s how I made it happen step by step:</p><h3>1️⃣ Create Jenkins Pipeline Job</h3><ol><li>Open Jenkins → <strong>New Item</strong></li><li>Name it nodejs-pipeline-deploy</li><li>Select <strong>Pipeline</strong> → Click <strong>OK</strong></li></ol><p>This is the foundation of the pipeline where Jenkins will pull my Node.js project from GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ojD7SF9dzvfhBM_bneGzhw.png" /></figure><h3>2️⃣ Configure Pipeline from SCM</h3><p>Instead of writing everything manually, I told Jenkins to get the <strong>Jenkinsfile</strong> from my GitHub repo:</p><ul><li><strong>SCM:</strong> Git</li><li><strong>Repo URL:</strong> <a href="https://github.com/Shivamgarud8/node-js-app-CICD.git">https://github.com/Shivamgarud8/node-js-app-CICD.git</a></li><li><strong>Branch:</strong> main</li><li><strong>Script Path:</strong> JenkinsfileThis way, the pipeline is version-controlled, just like my code. Pretty neat, right? 😎</li></ul><h3>3️⃣ Define the Pipeline Stages</h3><p>My Jenkinsfile had 4 main stages:</p><ol><li><strong>Clone Repo:</strong> Pull the latest code from GitHub</li><li><strong>Install Dependencies:</strong> Run npm install</li><li><strong>Build (Optional):</strong> If I have any build scripts (npm run build)</li><li><strong>Deploy:</strong> Start/restart the app using <strong>PM2</strong></li></ol><p>Here’s the magic: Jenkins runs all these stages sequentially <strong>every time I push code</strong>. No manual intervention needed</p><h3>4️⃣ Connect GitHub Webhook</h3><p>Next, I set up a webhook on GitHub:</p><ul><li>Go to the repo → <strong>Settings → Webhooks → Add webhook</strong></li><li>Payload URL → My Jenkins server URL + /github-webhook/</li><li>Content type → application/json</li><li>Trigger → <strong>Just the push event</strong></li></ul><p>Now, any push to main triggers the pipeline automatically. 🎯</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQnfN921iR5jR-lloeitDA.png" /></figure><h3>4️⃣ Connect GitHub Webhook</h3><p>Next, I set up a webhook on GitHub:</p><ul><li>Go to the repo → <strong>Settings → Webhooks → Add webhook</strong></li><li>Payload URL → My Jenkins server URL + /github-webhook/</li><li>Content type → application/json</li><li>Trigger → <strong>Just the push event</strong></li></ul><p>Now, any push to main triggers the pipeline automatically. 🎯</p><h3>6️⃣ The Result</h3><p>After setup, the magic started:</p><ol><li>Push code to GitHub</li><li>Jenkins triggers automatically</li><li>Node.js app updates live on the server in seconds</li><li>No SSH, no manual install, no restartsHere’s the live app: <a href="http://13.49.80.18:3000/">http://13.49.80.18:300</a></li></ol><p>Imagine saving <strong>minutes every day</strong> that you would normally spend on manual deployment. Multiply that over months, and that’s <strong>hours saved</strong>. 💪</p><h3>🧠 Pro Tips From My Experience</h3><ul><li>Always use <strong>PM2 ecosystem file</strong> for production-grade apps</li><li>Make sure your <strong>server port</strong> is open and accessible</li><li>Test your Jenkins pipeline manually first before connecting the webhook</li><li>Keep your Jenkinsfile version-controlled with the app repo</li><li>Use separate branches for testing new features before deploying to main</li></ul><h3>✨ Final Thoughts</h3><p>Automating Node.js deployments using Jenkins was <strong>game-changing</strong>. I went from manually SSH-ing into servers to <strong>fully automated CI/CD</strong>, with every push instantly live.</p><p>If you’re a DevOps enthusiast or just starting with CI/CD, I highly recommend trying this — it’s <strong>fun, practical, and a huge time-saver</strong>.</p><h3>👩‍🏫 Guided and Supported By Trupti Mane Ma’am</h3><p>🚀 DevOps Practitioner | ☁️ Certified AWS Cloud Practitioner | 📜 Certified Terraform Associate | 🐋 Docker Containers | ♾️ CI/CD | 🐧 Linux | 🌐 Computer Networking | ✍🏻 Technical Writer</p><p>Medium: <a href="https://truptimane.medium.com/">https://truptimane.medium.com/</a><br> GitHub: <a href="https://github.com/iamtruptimane">https://github.com/iamtruptimane</a></p><p>👨‍💻 <strong>Developed By:</strong><br> <strong>Shivam Garud</strong><br> 🧠 <em>DevOps &amp; Cloud Enthusiast</em><br> 💼 <em>Automating deployments, one pipeline at a time!</em><br> 🌐 <a href="https://github.com/Shivamgarud8">GitHub Profile</a> 🌐 <a href="https://medium.com/@shivam.garud2011">Medium Blog</a>🌐 <a href="http://www.linkedin.com/in/shivam-garud-371b5a307">Linkedin</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=708c2a4c7f6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitbucket PR Workflow Explained: Create, Push, and Merge Like a Pro]]></title>
            <link>https://medium.com/@shivam.garud2011/bitbucket-pr-workflow-explained-create-push-and-merge-like-a-pro-9fb909bd5411?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fb909bd5411</guid>
            <category><![CDATA[merge-request]]></category>
            <category><![CDATA[bitbucket-cloud]]></category>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[pull-request]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Mon, 13 Oct 2025 04:35:44 GMT</pubDate>
            <atom:updated>2025-10-13T04:35:44.321Z</atom:updated>
            <content:encoded><![CDATA[<p>In my recent learning phase, I explored how to <strong>create a branch, push changes, and raise a Pull Request (PR)</strong> in <strong>Bitbucket</strong> — a key DevOps workflow every engineer should know. This practical task gave me an in-depth understanding of <strong>team collaboration, version control, and CI/CD integration</strong>.</p><h3>⚙️ Complete Pull Request (PR) Workflow in Bitbucket</h3><p>This workflow represents how developers collaborate effectively using <strong>Git + Bitbucket</strong> — ensuring cleaner code, teamwork, and CI/CD integration.</p><h3>🧩 Step-by-Step Process I Followed</h3><ol><li><strong>Created a New Branch</strong><br> I started by creating a feature branch for my work to keep changes isolated:</li></ol><ul><li>git checkout -b custom-branch</li></ul><p><strong>2.Added and Committed My Changes</strong><br>After modifying the files, I added and committed them locally:</p><pre>git add .<br>git commit -m &quot;Added new feature updates&quot;</pre><p><strong>3.Pushed the Branch to Bitbucket</strong><br> Then I pushed my branch to the Bitbucket repository using:</p><pre>git push origin custom-branch</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjlelHLom188JmLS-wehEA.png" /></figure><p>✨ <strong>Final Caption Above Image</strong></p><blockquote><em>💡 I started by creating a new feature branch named </em><strong><em>“PAY”</em></strong><em> to keep my changes clean and organized.<br> 🧩 Next, I added a small </em><strong><em>test file</em></strong><em> to verify the workflow.<br> ⚙️ Then came the Git magic — </em><em>git add, </em><em>git commit, and </em><em>git push origin PAY — to push my updates to Bitbucket.<br> 🌐 Finally, I headed over to the </em><strong><em>Bitbucket dashboard</em></strong><em> and created my </em><strong><em>Pull Request (PR)</em></strong><em> from the </em><strong><em>PAY branch</em></strong><em>, ready to be reviewed and merged! 🚀</em></blockquote><h3>🌐 Step 4: Go to Bitbucket Website</h3><p>➡️ Open your Bitbucket repository in the browser.<br> ➡️ Click on <strong>“Pull Requests” → “Create Pull Request”</strong>.<br> ➡️ Choose:</p><ul><li><strong>Source branch:</strong> PAY</li><li><strong>Destination branch:</strong> main<br> ➡️ Add a <strong>title and description</strong> for your PR.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgHS2an-3lr9x-Wli4G9aA.png" /></figure><h3>🔍 Step 5: Review and Approve</h3><p>➡️ Your teammates or mentor review your changes.<br> 🧠 They may <strong>add comments</strong>, <strong>approve</strong>, or <strong>request changes</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5B_nxbeAbCZS_gmh4RSjqA.png" /></figure><h3>✅ Step 6: Merge the PR</h3><p>➡️ Once approved, click <strong>“Merge”</strong> on Bitbucket.<br> ➡️ Your <strong>PAY branch</strong> changes are now successfully merged into <strong>main</strong>.<br> 🚀 <em>That’s it — your PR journey is complete!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0vXoRAiEs8ZCbUe2UKDSwQ.png" /></figure><p>🧭 <strong>Visual Workflow</strong></p><pre>Create Branch → Add &amp; Commit Changes → Push to Bitbucket<br>        ↓<br>     Create Pull Request → Review &amp; Approve → Merg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o6sTQogYQ0GR5X7kL4-Few.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhdJeJhVTn7TspKRWHPx7w.png" /></figure><h3>🚀 How PRs Empower DevOps Teams</h3><p>PRs aren’t just a Git feature — they’re a <strong>communication bridge</strong> between developers and operations teams.</p><p>Here’s why they’re so powerful:</p><ul><li>💬 <strong>Collaboration:</strong> Every code change is reviewed, discussed, and improved.</li><li>🔐 <strong>Safety:</strong> No one can break production accidentally — everything passes through review.</li><li>⚙️ <strong>Automation:</strong> Merging a PR can automatically trigger a <strong>CI/CD pipeline</strong> for testing and deployment.</li><li>🧠 <strong>Learning:</strong> Junior developers learn best practices by seeing real review comments.</li><li>🧩 <strong>Traceability:</strong> Every change has a record — who did it, why, and when.</li></ul><h3>🌟 In My Case</h3><p>When I raised my PR for the <strong>PAY</strong> branch, I realized how this process builds trust, teamwork, and code quality.<br> It wasn’t just about typing commands — it was about understanding how <strong>DevOps practices bring automation, collaboration, and precision</strong> together in one flow.</p><blockquote><em>“A Pull Request isn’t just merging code — it’s merging ideas, efforts, and teamwork.” 💪</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fb909bd5411" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How to Add an SSH Key to Bitbucket and Clone Your Repository Securely (Step-by-Step Guide)]]></title>
            <link>https://medium.com/@shivam.garud2011/how-to-add-an-ssh-key-to-bitbucket-and-clone-your-repository-securely-step-by-step-guide-17c668b932ec?source=rss-6b839f2ae15c------2</link>
            <guid isPermaLink="false">https://medium.com/p/17c668b932ec</guid>
            <category><![CDATA[ssh-keygen]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Shivam Garud]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 14:41:07 GMT</pubDate>
            <atom:updated>2025-10-12T14:41:07.054Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Secure. Seamless. Smart — that’s how SSH makes your Git workflow smoother.</em></blockquote><p>If you’re tired of typing your Bitbucket credentials every time you clone or push, SSH keys are your best friend.<br> Here’s a <strong>complete step-by-step guide</strong> (with screenshots) showing how I added my SSH key to Bitbucket and successfully cloned a repository via SSH.</p><h3>🧩 What is an SSH Key?</h3><p>An <strong>SSH key</strong> is like your personal digital ID — it proves who you are to a server <strong>without using a password</strong>.<br> You generate two files:</p><ul><li><strong>Private key (</strong><strong>id_rsa)</strong> → stays <em>only on your system</em></li><li><strong>Public key (</strong><strong>id_rsa.pub)</strong> → shared with the Bitbucket server</li></ul><p>When you connect via SSH, Bitbucket matches your public key to your private one and gives you secure access. 🚀</p><p>When connecting via SSH, Bitbucket matches your public key to your private key. This means:</p><ul><li>No password prompts during Git operations.</li><li>Highly secure because passwords are never transmitted.</li><li>Perfect for <strong>automation, CI/CD pipelines, and multi-machine setups</strong>.</li></ul><blockquote><em>⚡ Pro Tip: Always use a </em><strong><em>strong passphrase</em></strong><em> for your private key to add extra protection in case your machine is compromised.</em></blockquote><h3>⚙️ Step 1: Generate a New SSH Key Pair</h3><p>Open your terminal (Git Bash on Windows or Terminal on Linux/macOS) and run:</p><pre>ssh-keygen -t rsa</pre><blockquote>-t = select type</blockquote><blockquote>rsa = type of key</blockquote><p>💡 <strong>Tip:</strong> Choose a custom save path if you want. For example:</p><pre>Enter file in which to save the key (/c/Users/shiva/.ssh/id_rsa): #press enter </pre><p>This creates <strong>two files</strong></p><ul><li>id_rsa → private key (keep this secret!)</li><li>id_rsa.pub → public key (for Bitbucket)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fywgO6YQGkDMMCIhSrFiJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ww53nudmsLwKLt0dsERtw.png" /></figure><h3>🧠 Step 3: Add the Public Key to Bitbucket</h3><p>Now, copy your <strong>public key</strong>:</p><pre>cat &quot;C:\Users\shiva\.ssh\id_rsa.pub&quot;</pre><p>Then:</p><ol><li>Go to <strong>Bitbucket →Workspace Setting → SSH Keys</strong></li><li>Click <strong>Add Key</strong></li><li>Paste your public key and give it a label like MyLaptop-Key</li></ol><p>✅ Done! Your system and Bitbucket are now connected securely.</p><p>add to bitbucket</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Re3uVTHAEe8zf7Xt5fcMrw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sFnRao5TV-AraJNek5_EEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P0LgfJPdSBUyG7bpaaEfdQ.png" /></figure><p>.</p><h3>🚀 Step 4: Clone Your Repository via SSH</h3><p>Go to your Bitbucket repo and click <strong>Clone → SSH</strong>.<br> You’ll get a link like this:</p><pre>git@bitbucket.org:username/repository-name.git  </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wE8I5a5M77m8h-kPECINBw.png" /></figure><h3><strong>Step 5 :Open Git Bash</strong></h3><p>Copy SSH CMD in Git bash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEEWe3b99CWQK7ull_qCPw.png" /></figure><p>Boom 💥 — no username, no password prompt. Just smooth secure access.</p><h3>🌟 Why Use SSH for Git Operations?</h3><p>Here are the <strong>key benefits</strong> of cloning via SSH instead of HTTPS:</p><pre>| 🔑 Feature                    | 🧠 SSH | 💬 HTTPS |<br>| ----------------------------- | ------ | -- -----  |<br>| Passwordless access           | ✅      | ❌      |<br>| More secure                   | ✅      | ⚠️      |<br>| Works with automation (CI/CD) | ✅      | ❌      |<br>| Best for DevOps pipelines     | ✅      | ✅      |<br>| Works offline (no re-login)   | ✅      | ❌      |<br></pre><h3>Conclusion</h3><p>SSH keys are <strong>essential for secure, efficient Git operations</strong>. Once set up:</p><ul><li>Passwords disappear</li><li>Automation becomes seamless</li><li>Multiple devices and projects remain secure</li></ul><blockquote><em>🚀 Takeaway: Every DevOps engineer or developer should master SSH keys — it’s a small step that saves hours of repetitive pain.</em></blockquote><h3>✍️Written By Shivam Garud</h3><ul><li><strong>GitHub</strong>: <a href="https://github.com/shivam1807">github.com/shivam1807</a></li><li><strong>LinkedIn</strong>: <a href="https://www.linkedin.com/in/shivam1807">linkedin.com/in/shivam1807</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17c668b932ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>