<?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 Aniket Jagadale on Medium]]></title>
        <description><![CDATA[Stories by Aniket Jagadale on Medium]]></description>
        <link>https://medium.com/@aniketjagad2005?source=rss-8cd6378125d1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6pU6EVKR_svwdOr1</url>
            <title>Stories by Aniket Jagadale on Medium</title>
            <link>https://medium.com/@aniketjagad2005?source=rss-8cd6378125d1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:27:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aniketjagad2005/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[ From Code to Cloud: Building a Rock-Solid CI/CD Pipeline for Java on AWS]]></title>
            <link>https://medium.com/@aniketjagad2005/from-code-to-cloud-building-a-rock-solid-ci-cd-pipeline-for-java-on-aws-a75672b3521b?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a75672b3521b</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Sat, 08 Nov 2025 14:55:41 GMT</pubDate>
            <atom:updated>2025-11-08T14:55:41.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7T89Dj-2WOOs-O1AtLfDNw.png" /></figure><p>Continuous Integration and Continuous Deployment (CI/CD) is the backbone of modern software development. It turns the stressful, manual process of deployment into a smooth, automated routine.</p><p>In this project, I set up an end-to-end CI/CD pipeline using <strong>Jenkins</strong> to automate the build and deployment of a <strong>Java Maven</strong> web application onto an <strong>Apache Tomcat</strong> server running on <strong>AWS EC2</strong>.</p><p>Here’s a look at the architecture and the steps that made this pipeline reliable.</p><h3>🛠️ The Technology Stack</h3><p>We relied on a robust, industry-standard set of tools:</p><p><strong>ComponentRole in the PipelineJava/Maven</strong>The application technology and its build tool, producing a .war artifact.<strong>Git</strong>Source Code Management (The starting point).<strong>Jenkins</strong>The CI/CD <strong>Orchestrator</strong> that manages the entire automation workflow.<strong>AWS EC2</strong>Provides the virtual servers (one for Jenkins, one for Tomcat).<strong>Apache Tomcat</strong>The final <strong>Target Environment</strong> (The application server).</p><p><em>(See the Architectural Diagram for a full visual flow of these components).</em></p><h3>🏗️ Phase 1: Setting up the Infrastructure</h3><p>The first step was establishing the two necessary environments on AWS EC2, as seen in the instance list:</p><ol><li><strong>Jenkins CI/CD Server:</strong> This is the brain of the operation. It requires Java and Maven to be installed, as it’s responsible for pulling the code and running the build process.</li><li><strong>Tomcat Application Server:</strong> This is the target. It hosts the Apache Tomcat service, which is where our final .war file will be deployed.</li></ol><p><strong>Key Security Consideration:</strong> Secure connectivity between the Jenkins server and the Tomcat server is crucial. We used <strong>SSH credentials</strong> configured in Jenkins to allow the deployment job to securely log into the Tomcat instance and perform necessary operations.</p><h3>⚙️ Phase 2: Defining the Pipeline (The Jenkinsfile)</h3><p>The entire process is defined in a declarative Jenkinsfile stored alongside the application code. This ensures the pipeline is treated as code (Pipeline-as-Code), making it version-controlled and reproducible.</p><p>My pipeline consisted of three main stages:</p><h3>Stage 1: Checkout</h3><p>This is the simplest, yet most critical, starting point. Jenkins connects to the specified Git repository and fetches the latest code, ensuring we are always building the most recent version.</p><p>Groovy</p><pre>stage(&#39;checkout&#39;) {<br>    steps {<br>        git branch: &#39;master&#39;, <br>            url: &#39;https://github.com/aniket-jagadale/student-registration-CICD.git&#39;<br>    }<br>}</pre><h3>Stage 2: Build WAR</h3><p>Using Maven, the project dependencies are resolved, the code is compiled, and the deployable artifact (a .war file) is packaged.</p><p>Groovy</p><pre>stage(&#39;Build WAR&#39;) {<br>    steps {<br>        // Run Maven clean and package goals<br>        sh &#39;mvn clean package&#39; <br>    }<br>}</pre><h3>Stage 3: Deploy to Tomcat</h3><p>This is where the magic (and the complexity) happens. After a successful build, the pipeline must:</p><ul><li><strong>Transfer</strong> the .war artifact to the remote Tomcat server.</li><li><strong>Deploy</strong> the application by placing the .war file into Tomcat&#39;s webapps directory and renaming it to ROOT.war (to make it the default application).</li><li><strong>Restart</strong> the Tomcat service to activate the new deployment.</li></ul><p>We used the sshagent block for secure execution of scp (for file transfer) and ssh (for remote commands) on the Tomcat EC2 instance.</p><p>Groovy</p><pre>stage(&#39;Deploy to Tomcat&#39;) {<br>    environment {<br>        // Define key variables for deployment<br>        SERVER_IP = &quot;75.101.184.251&quot; <br>        SSH_CRED_ID = &quot;node-app-key&quot; // Jenkins Credential ID<br>        TOMCAT_PATH = &quot;/var/lib/tomcat9/webapps&quot; <br>        TOMCAT_SVC = &quot;tomcat9&quot; <br>    }<br>    steps {<br>        sshagent([env.SSH_CRED_ID]) {<br>            // ... (Deployment commands for scp and ssh)<br>            // Example remote command: sudo systemctl restart tomcat9<br>        }<br>    }<br>}</pre><h3>✅ The Outcome: Continuous Deployment Success</h3><p>The successful execution of the pipeline (demonstrated by the green status of run #8) resulted in the <strong>Java Student Admission Form</strong> being automatically deployed and accessible on the public IP of the Tomcat server.</p><p>This confirms that:</p><ul><li>The code was pulled correctly.</li><li>Maven successfully built the .war artifact.</li><li>Jenkins used the configured SSH credentials to securely transfer the artifact.</li><li>The Tomcat server correctly received and deployed the new application after a service restart.</li></ul><h3>The Value of Automation</h3><p>Prior to this pipeline, every code change required a developer or operator to manually build the .war file, use tools like scp or FTP, and then manually restart the Tomcat service. This process is slow, error-prone, and unsustainable.</p><p>By implementing this CI/CD pipeline, we achieve:</p><ul><li><strong>Speed:</strong> Deployments happen in minutes, not hours.</li><li><strong>Reliability:</strong> The exact same steps are executed every time, eliminating human error.</li><li><strong>Feedback:</strong> Failures (like those seen in earlier runs) are instantly detected and reported in the pipeline history, allowing for immediate fixes.</li></ul><h3>⏭️ Next Steps for Enhancement</h3><p>While the pipeline is functional, there are always opportunities for improvement:</p><ul><li><strong>Add Testing:</strong> Inject a Test stage using mvn test before the Deploy stage to ensure no faulty code ever reaches the server.</li><li><strong>Use Blue/Green Deployment:</strong> Instead of restarting Tomcat (which causes brief downtime), use a load balancer and a second, idle Tomcat instance for zero-downtime deployment.</li><li><strong>Infrastructure as Code (IaC):</strong> Use Terraform or CloudFormation to manage the AWS EC2 instances and security groups, making the entire infrastructure reproducible.</li></ul><p>This project is a perfect starting point for anyone looking to build a modern, automated deployment process for traditional Java applications. Happy coding, and may your pipelines always be green!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a75672b3521b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Node.js Deployments: My CI/CD Pipeline Journey]]></title>
            <link>https://medium.com/@aniketjagad2005/automating-node-js-deployments-my-ci-cd-pipeline-journey-4c485b83bd0c?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c485b83bd0c</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Wed, 05 Nov 2025 16:05:47 GMT</pubDate>
            <atom:updated>2025-11-05T16:05:47.385Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UopYrmNAFivjVpTMDp8TCA.png" /></figure><h3>The Problem</h3><p>Manual deployments were slowing us down. Every code change meant:</p><ul><li>Manual builds and testing</li><li>SSH into servers</li><li>Copying files manually</li><li>Dealing with deployment errors</li><li>Inconsistent environments</li></ul><h3>The Solution</h3><p>I built an automated CI/CD pipeline that deploys Node.js apps seamlessly.</p><h3>Step-by-Step Implementation</h3><h3>Step 1: GitHub Repository Setup</h3><ul><li>Created nodejs-app-deployment-CICD repo</li><li>Added application code (app.js, package.json)</li><li>Configured webhooks to notify Jenkins on every push</li></ul><h3>Step 2: Jenkins Pipeline Configuration</h3><ul><li>Created node-app-deploy pipeline job</li><li>Connected to GitHub repository</li><li>Set up build triggers via webhooks</li><li>Defined pipeline stages in Jenkinsfile</li></ul><h3>Step 3: AWS Infrastructure</h3><ul><li>Provisioned EC2 instances in us-east-1</li><li>Configured security groups and networking</li><li>Set up SSH access for deployment</li></ul><h3>Step 4: Pipeline Stages</h3><ol><li>Code Checkout — Pull latest code from GitHub</li><li>Dependency Installation — Run npm install</li><li>Testing — Execute test suites</li><li>Build — Prepare application for deployment</li><li>Deploy — SSH to EC2 and deploy application</li></ol><h3>The Pipeline in Action</h3><h3>Trigger</h3><p>bash</p><pre>git add .<br>git commit -m &quot;Adding new feature&quot;<br>git push origin main</pre><h3>Automated Process</h3><ol><li>GitHub detects push and sends webhook to Jenkins</li><li>Jenkins automatically starts pipeline</li><li>Code is built and tested</li><li>Application deployed to EC2</li><li>Health checks verify deployment success</li></ol><h3>Key Features Built</h3><p>✅ Automatic Triggering — No manual intervention needed<br>✅ Consistent Environments — Same process every time<br>✅ Rollback Capability — Quick recovery from failures<br>✅ Status Monitoring — Real-time build/deployment tracking<br>✅ Multi-Environment Support — Staging &amp; production ready</p><h3>Tools &amp; Technologies</h3><ul><li>Source Control: GitHub</li><li>CI/CD Server: Jenkins</li><li>Cloud Provider: AWS EC2</li><li>Application: Node.js</li><li>Process Manager: PM2</li><li>Configuration: Jenkins Pipeline</li></ul><h3>Results Achieved</h3><p>🚀 Faster Deployments — From minutes to seconds<br>🔒 Reduced Errors — Consistent, repeatable process<br>📈 Better Visibility — Clear deployment status and history<br>🔄 Rapid Iteration — Developers can ship code confidently</p><h3>Getting Started with Your Own Pipeline</h3><ol><li>Set up your Node.js application in GitHub</li><li>Install and configure Jenkins with necessary plugins</li><li>Create EC2 instances and configure security groups</li><li>Build your Jenkins pipeline with deployment scripts</li><li>Configure GitHub webhooks for automatic triggering</li><li>Test and iterate on your pipeline</li></ol><h3>Why This Matters</h3><p>This pipeline demonstrates modern DevOps practices that every development team should adopt. It’s not just about automation — it’s about creating reliable, scalable, and maintainable deployment processes that enable teams to deliver value faster and with higher quality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c485b83bd0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Code, Safely Stored: A Simple Guide to Bitbucket and SSH Keys ]]></title>
            <link>https://medium.com/@aniketjagad2005/your-code-safely-stored-a-simple-guide-to-bitbucket-and-ssh-keys-0c4166abca65?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c4166abca65</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 17:47:17 GMT</pubDate>
            <atom:updated>2025-10-12T17:47:17.670Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JYEmvcuTJGHF9-5RgROs0A.png" /></figure><p>Ever wonder how your brilliant code ideas get from your computer 💻 to a safe, online home 🏡 where you can share them with others (or just keep them super secure)? Let’s break it down using a simple picture! 🖼️</p><p>Imagine your computer as your “Developer Machine” — that’s where all the magic happens ✨ when you’re writing code. Now, think of “Bitbucket Cloud” as a super-secure, online locker for your code. ☁️🔒</p><p><strong>The Big Picture:</strong></p><p>The diagram shows how your computer talks to Bitbucket Cloud. It’s like sending your precious code packages 📦 to a vault, and then being able to pull them back out whenever you need them. 🔄</p><p><strong>What’s Happening on Your Machine?</strong></p><ol><li><strong>Your Secret Passports (.ssh/ folder):</strong> 🛂 This is super important! Inside a hidden folder called .ssh, you have two files: id_rsa (your <em>private</em> key) and id_rsa.pub (your <em>public</em> key). Think of them as a key 🔑 and a lock padlock. Your private key is like your personal, secret fingerprint — you <strong>never</strong> share it! 🤫 Your public key is what you give to Bitbucket so it knows it’s you. 👋</li><li><strong>Your Local Projects:</strong> You can see private-repo and awe-repo. These are just folders on your computer where you keep different coding projects. 📁 Each project usually has files like index.html or README.md. 📄</li></ol><p><strong>What’s Happening in Bitbucket Cloud?</strong></p><p>Bitbucket Cloud also has copies of your projects, like Public Repo (awe-repo) and Private Ropo (private-repo). These are the online versions of your code, ready to be accessed from anywhere. 🌐</p><p><strong>The Super Highway: SSH Key Authentication</strong> 🛣️🔑</p><p>See that arrow labeled “SSH Key Authentication” between your machine and Bitbucket? This is how your computer proves it’s really you! ✅</p><ul><li>You give Bitbucket your public key (id_rsa.pub). 📬</li><li>When you try to do something, your computer uses your private key (id_rsa) to create a digital “handshake” with Bitbucket. 🤝</li><li>If the handshake matches, Bitbucket says, “Yup, it’s you!” and lets you in. 🎉</li></ul><p>This whole process is super secure because no one can fake your private key, and even if they get your public key, it’s useless without your private one. impenetrability</p><p><strong>Sending &amp; Receiving Code: Push/Pull Code</strong> 📤📥</p><p>Once Bitbucket knows it’s you, you can:</p><ul><li><strong>Push Code:</strong> ⬆️ This means you’re sending your latest changes from your Developer Machine up to Bitbucket Cloud. “Here, Bitbucket, take my new code!” 🚀</li><li><strong>Pull Code:</strong> ⬇️ This means you’re downloading the latest changes from Bitbucket Cloud to your Developer Machine. “Hey Bitbucket, give me the updated code!” 💾</li></ul><p><strong>Your Unique Identifier: SSH Key Fingerprint</strong> 👆</p><p>At the bottom of the diagram, you see “SSH Key Fingerprint.” This is a unique, shorter identifier for your public key. It’s like a quick way to confirm you’re using the right key without looking at the whole long thing. ✔️</p><p><strong>Why is all this important?</strong></p><ul><li><strong>Security:</strong> 🛡️ SSH keys make sure only you (or people you authorize) can access your code. No more typing passwords every time! 🚫🔑</li><li><strong>Collaboration:</strong> 🤝 Teams can work on the same code, pushing and pulling changes, and Bitbucket keeps track of everything. 📈</li><li><strong>Backup:</strong> 💾 Your code is safely stored online, so if anything happens to your computer, your work is secure. 💪</li></ul><p>So, next time you’re coding, remember this diagram! It’s the secure handshake that connects your brilliant ideas on your machine 💡 to the powerful, safe world of Bitbucket Cloud. 🌍 Happy coding! ✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c4166abca65" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ From Code to Cloud: My GitHub & GitLab Mirroring Journey]]></title>
            <link>https://medium.com/@aniketjagad2005/from-code-to-cloud-my-github-gitlab-mirroring-journey-c93a54ca3ace?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c93a54ca3ace</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Thu, 09 Oct 2025 17:27:03 GMT</pubDate>
            <atom:updated>2025-10-09T17:27:03.424Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*R0wlb-JRDra3N8S_BN_G2g.png" /></figure><h3>🚀 The Beginning: A Tale of Two Platforms</h3><p>Every developer’s story begins with a simple git init.<br> But what happens when your team uses <strong>two different platforms</strong> — <strong>GitHub</strong> and <strong>GitLab</strong> — and you need them to work in perfect sync?</p><p>That’s exactly the challenge I took on in this <strong>Git &amp; GitLab Practical Assignment</strong> — connecting both worlds through smart workflows, branches, pull requests, and a little token-powered magic ✨.</p><h3>🧱 Step 1: Setting Up My GitHub Repositories</h3><p>Like any good story, this one starts with structure.<br> I created <strong>two repositories</strong> on GitHub:</p><ul><li>🟢 <strong>Public Repo</strong> — open for the world to see</li><li>🔒 <strong>Private Repo</strong> — my personal playground for experiments</li><li>Once done, I cloned them locally using:</li></ul><pre>git clone https://github.com/&lt;username&gt;/&lt;repo_name&gt;.git</pre><p>Then came my favorite part — <strong>branching</strong> out into creativity:</p><pre>git checkout -b dev</pre><p>I added files like index.html and README.md, made a few commits, and pushed everything to GitHub.</p><p>Each git commit felt like saving a checkpoint in my own coding adventure. 🎮</p><h3>🔁 Step 2: Collaboration the Git Way</h3><p>On GitHub, collaboration is powered by <strong>Pull Requests</strong> (PRs).<br> I opened one to merge my dev branch into main, reviewed the code like a pro, and finally hit <strong>Merge</strong>.</p><p>And just like that — the changes reflected beautifully in main.<br> A mini celebration followed. 🎉</p><h3>🧰 Step 3: Enter GitLab — The Mirror Realm</h3><p>Now, it was time to switch gears.<br> On <strong>GitLab</strong>, I created a <strong>private repository</strong>, but this time, I cloned it using <strong>SSH</strong> for extra security:</p><pre>git clone git@gitlab.com:&lt;username&gt;/&lt;repo_name&gt;.git</pre><p>Inside it, I built a simple structure:</p><pre>src/<br> └── app.py<br>docs/<br> └── guide.md</pre><p>With a few commits and pushes, my GitLab repo was live.<br> But this wasn’t just about having two separate repos.<br> The real goal? <strong>Connecting them.</strong></p><h3>🪞 Step 4: The Magic of Mirroring (GitHub ↔ GitLab)</h3><p>Here’s where things got exciting.<br> I wanted my <strong>GitLab repository to automatically mirror</strong> changes to my <strong>GitHub repo</strong> — no manual pushing, no syncing stress.</p><p>To make this happen, I needed one secret ingredient: a <strong>GitHub Classic Token</strong> 🪄.</p><h3>🔐 Creating My GitHub Classic Token</h3><ol><li>I went to<br> <strong>GitHub → Settings → Developer Settings → Personal Access Tokens → Tokens (classic)</strong></li><li>Clicked <strong>Generate new token (classic)</strong></li><li>Enabled scopes:</li></ol><ul><li>repo</li><li>admin:repo_hook</li><li>workflow (optional)</li></ul><p>4. Copied it carefully — because once you close that window, it’s gone forever!</p><h3>⚙️ Setting Up the Mirror on GitLab</h3><p>Then on GitLab:</p><ol><li>Opened my repo → <strong>Settings → Repository → Mirroring Repositories</strong></li><li>Entered my GitHub URL like this:</li></ol><pre>https://&lt;username&gt;:&lt;classic_token&gt;@github.com/&lt;username&gt;/&lt;github-private-repo&gt;.git</pre><ol><li>Set <strong>direction = Push</strong></li><li>Saved the setup</li></ol><p>Boom 💥 — my GitLab repo was now a <strong>mirror</strong> of GitHub!<br> Any change I made on GitLab automatically reflected on GitHub — like magic in motion.</p><h3>💡 Lessons Learned</h3><p>This assignment taught me more than just commands — it revealed the <strong>philosophy behind DevOps</strong>:</p><blockquote><em>Automate what you can. Control what you must.</em></blockquote><p>Here’s what I took away:</p><ul><li><strong>Version control isn’t just about saving files — it’s about trust.</strong></li><li><strong>GitHub and GitLab can complement each other beautifully.</strong></li><li><strong>Classic tokens are your secure keys to automation.</strong></li><li>And finally… git push feels way more satisfying when it triggers two platforms at once 😎.</li></ul><h3>🎯 Final Outcome</h3><p>✅ <strong>2 GitHub Repositories:</strong> Public + Private<br> ✅ <strong>1 GitLab Repository:</strong> Private<br> ✅ <strong>Auto-mirroring enabled</strong> via Classic Token<br> ✅ <strong>Successful PR workflow tested</strong><br> ✅ <strong>Seamless DevOps flow achieved</strong></p><h3>🧑‍💻 Author</h3><p><strong>Aniket Jagadale</strong><br> 🚀 AWS &amp; DevOps Enthusiast | Git | GitHub | GitLab | Cloud Services<br> 📧 aniketjagad2005@gmail.com<br> 🌐 <a href="https://www.linkedin.com/in/aniket-jagadale-554306315">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c93a54ca3ace" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Seamless Sync: Setting Up a GitLab-to-GitHub Repository Mirror]]></title>
            <link>https://medium.com/@aniketjagad2005/seamless-sync-setting-up-a-gitlab-to-github-repository-mirror-30ce53238ebc?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/30ce53238ebc</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 15:03:50 GMT</pubDate>
            <atom:updated>2025-10-08T15:03:50.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G446NQ27iCGnBXzJyVTA_A.png" /><figcaption>workflow of mirror-repo</figcaption></figure><p><strong>The Challenge: Keeping Repositories Aligned</strong></p><p>In a multi-platform development environment, it’s often necessary to use one platform (like <strong>GitLab</strong>) for continuous integration and primary development while maintaining a public-facing or secondary copy on another (like <strong>GitHub</strong>). Manually keeping these two repositories in sync is tedious and prone to error.</p><p>To solve this, I set up a robust, one-way <strong>push mirror</strong> for my project, <strong>mirror-repo-gitlab</strong>. This configuration ensures that every commit, branch, and merge performed on GitLab is automatically pushed and reflected on GitHub.</p><p><strong>Project Implementation: Step-by-Step</strong></p><h3>1. Repository Initialization</h3><p>First, I created empty repositories with the same name, <strong>mirror-repo-gitlab</strong>, on both platforms.</p><ul><li><strong>Source:</strong> GitLab (Primary development hub)</li><li><strong>Destination:</strong> GitHub (Mirror copy)</li></ul><h3>2. Configuring the Push Mirror</h3><p>The heart of the project lies in configuring the mirror link within GitLab’s settings.</p><ol><li><strong>Generate a GitHub Personal Access Token (PAT):</strong> This token acts as a secure password for GitLab to access and write to the GitHub repository. It must have the necessary <strong>repo</strong> scope permissions.</li><li><strong>Configure GitLab Mirroring:</strong></li></ol><ul><li>In the GitLab project, I navigated to <strong>Settings</strong> → <strong>Repository</strong>.</li><li>Under <strong>Mirroring repositories</strong>, I added the GitHub repository’s HTTPS URL (https://github.com/aniket-jagadale/mirror-repo-gitlab.git).</li><li>For the password field, I used the generated <strong>PAT</strong>.</li><li>Crucially, I set the <strong>Direction</strong> to <strong>Push</strong>. This tells GitLab to send its changes to GitHub.</li></ul><h3>3. Workflow Validation: Index File Commit</h3><p>I began the workflow by cloning the GitLab project and adding the first file.</p><p><strong>Clone</strong>git clone [GitLab HTTPS URL]Cloned the local repo.<strong>Commit</strong>git commit -am &quot;adding index.html page&quot;Created the index.html file and committed it.<strong>Push</strong>git push origin mainPushed the commit to <strong>GitLab</strong>.</p><p>Export to Sheets</p><p>✅ <strong>Result:</strong> The push immediately triggered the mirror, and the index.html file appeared on GitHub without any manual intervention.</p><h3>🌟 The Power of Automatic Merge Sync</h3><p>The true test of the mirror setup is how it handles branching and merging — the core of collaborative development.</p><h3>4. Feature Development (about.html)</h3><p>I simulated a new feature development by creating a separate branch and committing a new file:</p><p>ActionCommandPurpose<strong>Branch</strong>git checkout -b aboutCreated and switched to the about branch.<strong>Commit</strong>git commit -am &quot;adding about.html page&quot;Committed the new about.html file.<strong>Push</strong>git push origin aboutPushed the new branch to <strong>GitLab</strong>.</p><p>Export to Sheets</p><p>At this point, the changes were isolated on the about branch in both repositories.</p><h3>5. Merging and Final Sync</h3><p>The final step was integrating the feature into the primary codebase via a Merge Request (MR).</p><ol><li><strong>Merge Request:</strong> I created an MR on <strong>GitLab</strong> to merge about into main.</li><li><strong>Merge:</strong> Upon approval, I merged the request on GitLab.</li></ol><p><strong>🚀 Final Result:</strong> The successful merge to GitLab’s main branch <strong>automatically initiated the mirror process</strong>, pushing the combined changes to the GitHub main branch. Both repositories now contain both index.html and about.html, demonstrating a fully synchronized and hands-off workflow!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30ce53238ebc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Hosted My Resume for Free (Well, Almost!) on AWS S3]]></title>
            <link>https://medium.com/@aniketjagad2005/how-i-hosted-my-resume-for-free-well-almost-on-aws-s3-d58dfebe011b?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d58dfebe011b</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Sun, 05 Oct 2025 14:26:18 GMT</pubDate>
            <atom:updated>2025-10-05T14:26:18.434Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WxnJ6kEAmyzhSAQrqmbMRg.png" /></figure><p>Looking for a super simple and cheap way to get your resume or portfolio online? Look no further than your friendly neighborhood cloud provider: Amazon Web Services (AWS).</p><p>I recently hosted my own cloud engineering portfolio using AWS S3, and it was surprisingly easy. Forget about complicated web servers or monthly hosting fees. For a simple, static website, S3 is the perfect solution.</p><p>Let me break down how I did it.</p><h4>What is AWS S3?</h4><p>Think of S3 (Simple Storage Service) as a giant, secure filing cabinet in the cloud. You typically use it to store files like images, documents, and backups. But a little-known feature is that you can also use it to host a static website.</p><p>A “static website” is just a bunch of HTML, CSS, and JavaScript files that don’t change based on who’s viewing them. It’s perfect for a resume, a portfolio, or a landing page.</p><h4>My Simple 4-Step Process</h4><p>1. Create Your “Filing Cabinet” (The S3 Bucket)</p><p>First, I logged into the AWS Console and created a new S3 bucket. A “bucket” is just a fancy name for a folder. I gave it a unique name (like my-online-resume) and selected a region close to me for faster loading times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wlzG38lmmaQxGXDaMesG3g.png" /></figure><p>2. Tell S3 “This is a Website!”</p><p>This is the magic step. In the bucket’s properties, I scrolled down to “Static website hosting” and enabled it. I told S3 that my main page is called index.html. That’s it! AWS instantly gave me a website URL.</p><p>3. Make it Public (Carefully!)</p><p>By default, S3 buckets are private. Since I wanted people to see my resume, I had to open the door a little. I did this by adding a “Bucket Policy” — a simple JSON rule that says, “Allow everyone to view the files in this bucket.”</p><p>Here’s the policy I used:</p><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Principal&quot;: &quot;*&quot;,<br>      &quot;Action&quot;: &quot;s3:GetObject&quot;,<br>      &quot;Resource&quot;: &quot;arn:aws:s3:::my-online-resume/*&quot;<br>    }<br>  ]<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mva7hyHKGlHmTzNj1YI5hw.png" /><figcaption><em>⚠️ Heads up: This makes your bucket contents public. Only do this for non-sensitive information!</em></figcaption></figure><p>4. Upload My Files and Go Live!</p><p>Finally, I uploaded my index.html file and any images into the bucket. The moment I hit &quot;upload,&quot; my website was live at the S3 URL!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gC5FMmEhYP2x1HOV6m6Wqw.png" /><figcaption><em>My resume, now live on the web!</em></figcaption></figure><h4>Why I Love This Approach</h4><ul><li>Dirt Cheap: S3 costs pennies a month for a small website. You pay mostly for the data people download when they visit your site.</li><li>Super Reliable: It’s backed by AWS’s massive infrastructure, so it’s almost always available.</li><li>Simple: No servers to manage, no software to update. It’s just your files in a cloud bucket.</li></ul><h4>A Quick Security Tip</h4><p>While this is great for a resume, for a more professional and secure setup, I plan to add Amazon CloudFront (AWS’s content delivery network) in front of my S3 bucket. This hides the bucket a bit and can also make the site load faster for people around the world.</p><h4>Final Thoughts</h4><p>Hosting a static website on S3 is one of the most straightforward and cost-effective projects you can do in the cloud. In less than 15 minutes, I had a professional-looking resume online for virtually nothing.It’s a perfect first project for anyone looking to get hands-on with AWS.Ready to build your own? Go to your AWS console and give it a try.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d58dfebe011b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hosting Your Website on AWS: The Simple Storage Service]]></title>
            <link>https://medium.com/@aniketjagad2005/hosting-your-website-on-aws-the-simple-storage-service-6adc3eb8850e?source=rss-8cd6378125d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6adc3eb8850e</guid>
            <dc:creator><![CDATA[Aniket Jagadale]]></dc:creator>
            <pubDate>Wed, 01 Oct 2025 12:12:05 GMT</pubDate>
            <atom:updated>2025-10-01T12:12:05.596Z</atom:updated>
            <content:encoded><![CDATA[<p>Think of AWS S3 like a super-reliable online storage locker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*th0Leda7dWfMJy-XXKuSYQ.png" /></figure><p>Your static website is just a folder with files (HTML, CSS, images). <br>There’s no database or special server code.</p><p>Here’s how it works in 4 easy steps:</p><p>1. Create a Locker (S3 Bucket)<br> — Go to AWS and create a “bucket” (your online locker)<br> — Give it a unique name, like my-personal-website</p><p>2. Upload Your Files<br> — Drag and drop your website files (index.html, styles.css, etc.) <br> into your new online locker</p><p>3. Turn on the “Website” Switch<br> — In your bucket’s settings, find “Static website hosting” and enable it<br> — Tell it that index.html is your homepage<br> — AWS will give you a special website URL<br> (like <a href="http://my-personal-website.s3-website-us-east-1.amazonaws.com/">http://my-personal-website.s3-website-us-east-1.amazonaws.com</a>)</p><p>4. Unlock the Door (Set Permissions)<br> — Add a simple permission rule (a “bucket policy”) that says:<br> “Everyone can view the files in this bucket”</p><p>And you’re done! Your website is now live on the internet at that special URL.</p><p>Why is this great?</p><ul><li>Cheap: For a small site, it costs pennies per month<br>- Simple: No complicated servers to manage <br>- Reliable: It’s hosted on Amazon’s powerful infrastructure</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6adc3eb8850e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>