<?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 Sadhvik Chirunomula on Medium]]></title>
        <description><![CDATA[Stories by Sadhvik Chirunomula on Medium]]></description>
        <link>https://medium.com/@sadhu1998?source=rss-cd96f0671f75------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SA-wQ7j-BYe7Z4nj</url>
            <title>Stories by Sadhvik Chirunomula on Medium</title>
            <link>https://medium.com/@sadhu1998?source=rss-cd96f0671f75------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:04:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sadhu1998/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[How I finally got LLMs to write like humans (by measuring variance, not banning words)]]></title>
            <link>https://medium.com/@sadhu1998/how-i-finally-got-llms-to-write-like-humans-by-measuring-variance-not-banning-words-a36bff879fb1?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/a36bff879fb1</guid>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 12:42:55 GMT</pubDate>
            <atom:updated>2026-11-30T12:42:55.289Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RODGiMbWD3bClYSimSre8Q.png" /></figure><p>A few months ago, I hit a breaking point with AI-generated documentation.</p><p>Every LLM-generated RFC, blog post, or doc was obvious in five seconds: uniform 45-word paragraphs, zero conviction, endless passive voice, and that artificial “not X, but Y” setup.</p><p>Worse, engineers on my team stopped trusting anything that looked like AI writing. They stopped reading.</p><p>Like everyone, I started piling instructions into the system prompt:</p><p>- “Sound like a battle-tested staff engineer.”<br>- “Write punchy sentences.”<br>- “Never use words like delve, robust, seamless, tapestry, or pivotal.”</p><p>It failed miserably:</p><p>1. The loop never converged: “Sound more human” is subjective. The model would fix one thing and break another, or swing into forced slang.<br>2. Collateral damage (Code butchering): Polishing style across a 2,000-word markdown file, the LLM would hallucinate a variable name inside a code block, alter a CLI flag, or quietly drop a citation.</p><p>I realized: if you can’t measure what “human writing” looks like, you can’t guide an LLM to produce it.</p><p>So I stopped writing prompts and built a dataset of 10,000+ technical sentences comparing real practitioner writing (post-mortems, Linux kernel docs, Stripe/Cloudflare engineering blogs) against LLM output.</p><p>The data killed the “banned word list” myth:</p><p>- Banning “may” or “typically” had an AUC of 0.51. A coin flip. Senior engineers hedged more than ChatGPT, because real systems have nuance.</p><p>What gave AI writing away every time was structural uniformity:</p><p>- Paragraph Length Variance (AUC: 0.897): Humans write with rhythm, a 6-word punch paragraph then a 40-word explanation (stdev ~28.6). LLMs produce cookie-cutter blocks (stdev ~12.8).<br>- Practitioner Authority (AUC: 0.889): Humans write from experience (“We deployed our cluster and saturated the retry budget”). AI defaults to sterile neutrality (“Distributed messaging systems play a vital role”).<br>- Sentence Burstiness (AUC: 0.720): Human prose swings between short punches and complex sentences.</p><p>With metrics in hand, I built <a href="https://github.com/SadhvikChirunomula/measured-humanizer">Measured Humanizer</a> as a closed loop:</p><p>1. Deterministic Style Gate (Zero dependencies): Scores prose against calibrated thresholds on 6 structural dimensions.<br>2. Surgical Local Patch Clamping: Instead of regenerating the whole document (wasted tokens, drift), it finds the single offending paragraph and rewrites only that.<br>3. AST Hardware Interlock: Before any edit is accepted, a SHA-256 check verifies that code blocks, language tags, links, and tables are byte-for-byte untouched. If an LLM changes a line of code, the edit is discarded with a hard rollback.<br>4. Pareto Convergence Controller: Stops the loop oscillating (e.g. boosting burstiness while diluting technical noun density).</p><p>Once I closed the loop, drafts went from robotic ChatGPT summaries to punchy, practitioner-grade prose in 2–3 iterations. (Passing ZeroGPT at 2% and QuillBot at 0% was a byproduct.)</p><p>What started as a terminal script is now an open-source ecosystem (MIT):</p><p>- Zero-Dependency CLI: `npx measured-humanizer draft.md — brief`<br>- Autonomous Loop: `measured-humanize-loop draft.md` (Anthropic, OpenAI, or fully offline Ollama with Qwen2.5/Llama-3.2 presets)<br>- Domain Profiles: Calibrated thresholds for engineering, executive, marketing, and academic.<br>- Chrome Extension (QuillBot Alternative): A Shadow DOM badge in Gmail, Google Docs, Notion, GitHub, and LinkedIn with 1-click repair.<br>- VS Code / Cursor Extension: Real-time squiggly linting (like ESLint for prose) with Cmd+. quick fixes.</p><p>— -</p><p>Live in-browser demo (100% client-side, zero tracking):<br><a href="https://sadhvikchirunomula.github.io/measured-humanizer/">https://sadhvikchirunomula.github.io/measured-humanizer/</a></p><p>GitHub:<br><a href="https://github.com/SadhvikChirunomula/measured-humanizer">https://github.com/SadhvikChirunomula/measured-humanizer</a></p><p>It is easy to install</p><ol><li>Using curl</li></ol><pre>curl -fsSL https://raw.githubusercontent.com/SadhvikChirunomula/measured-humanizer/main/install.sh | bas</pre><p>2. Using npx</p><pre>npx github:SadhvikChirunomula/measured-humanizer draft.md --brief</pre><p>I‘d genuinely appreciate feedback from people who use Claude Code regularly.</p><p>Below are the results on zerogpt and quillbot AI text detectors</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*cHtmRnUFBII7yUgixxAJtw.png" /><figcaption>AIGPT</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*8W-LRldZ-hLRFnczfRvc9w.png" /><figcaption>QUILLBOT</figcaption></figure><p>This is totally free and opensource. This is purely based out of math.</p><p>Does this improve your technical documentation workflow? Do the scoring dimensions match what you’ve observed in Claude’s writing? Are there structural patterns I’ve missed?</p><p>I’m particularly interested in feedback from people willing to test it against both human-written and AI-generated drafts.</p><p><strong>Criticism is welcome. I’d rather improve the tool than just collect stars</strong>I built Measured Humanizer with Claude Code _ an open-source style gate for Claude that measures why AI writing feels robotic (and fixes it)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a36bff879fb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Banning Words: Why Your AI “Humanizer” Doesn’t Work]]></title>
            <link>https://medium.com/@sadhu1998/stop-banning-words-why-your-ai-humanizer-doesnt-work-8f2e4a9429fe?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f2e4a9429fe</guid>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Wed, 12 Aug 2026 14:19:01 GMT</pubDate>
            <atom:updated>2026-08-12T14:19:01.922Z</atom:updated>
            <content:encoded><![CDATA[<p>Why I built — <a href="https://github.com/SadhvikChirunomula/measured-humanizer">Measured Humanizer</a>—an agent-agnostic skill that makes writing read as human-written by measuring it, not by pattern-matching a list of words someone decided sound like a robot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Bsn96M-KRvkCz0m" /></figure><p>If you spend any time reading technical writing today, you’ve probably learned to spot the “AI tell.” The prose is a little too <em>robust</em>. It <em>seamlessly leverages</em> too many paradigms. It <em>delves</em> into topics.</p><p>Our collective response to this has been to build massive blocklists of “robot words.” I instruct our agents to stop saying “moreover” and ban them from using the word “crucial.”</p><p>There’s just one problem: <strong>the lists don’t work.</strong></p><p>When I built <a href="https://github.com/SadhvikChirunomula/measured-humanizer">Measured Humanizer</a>, an enterprise-grade AI writing calibrator, I decided to actually measure this statistically. I took 36 human-written technical documents (written before generative tooling was common) and 45 AI-written technical documents, and I ran the numbers.</p><p>Here is what those popular “tells” actually measured, expressed as AUC (Area Under the Curve, where 0.5 is a coin flip):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*O0uqjlkmwogZI5u4e93RHw.png" /></figure><p>Banning the word “may” accomplishes absolutely nothing. Humans used it <em>more</em> than the generated set did.</p><h3>What Actually Separates Humans from AI Writing?</h3><p>The difference isn’t lexical. It’s structural, and it isn’t subtle.</p><p>When I threw out the words and looked at the <em>shape</em> of the text, the real differences emerged:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*iwSgW-jvY3-QlN1bZjKtew.png" /></figure><p><strong>AI writes paragraphs of near-uniform length and almost never says “we.”</strong> Those two facts carry more statistical signal than every phrase list combined.</p><p>When a human writes, they mix short, punchy sentences with long, explanatory ones. They write a massive paragraph explaining a complex mechanism, followed by a one-sentence paragraph for emphasis. AI, by default, outputs a wall of perfectly homogenous text.</p><h3>Introducing Measured Humanizer</h3><p>I built <strong>Measured Humanizer</strong> to fix this. It’s an agent-agnostic skill and CLI tool that makes writing read as human-written by <em>measuring it</em>, not by pattern-matching a list of words someone decided sound like a robot.</p><p>Instead of calling out to a black-box LLM classifier, it ships a dependency-free Node scorer calibrated against our corpora.</p><h3>The Correction Loop</h3><pre>flowchart TD<br>  H[&quot;36 human documents&quot;] --&gt; M[&quot;metrics(): 18 fields each&quot;]<br>  A[&quot;45 AI documents&quot;] --&gt; M<br>  M --&gt; AUC[&quot;Rank by AUC&quot;]<br>  AUC --&gt;|&quot;below 0.65&quot;| DROP[&quot;Rejected: phrase lists&quot;]<br>  AUC --&gt;|&quot;0.65 and above&quot;| KEEP[&quot;7 structural dimensions&quot;]<br>  KEEP --&gt; RANGE[&quot;Two-sided range from the human band&quot;]<br>  KEEP --&gt; W[&quot;Weight = that dimension&#39;s AUC&quot;]<br>  RANGE --&gt; SWEEP[&quot;Sweep the cutoff for best separation&quot;]<br>  W --&gt; SWEEP<br>  SWEEP --&gt; T[&quot;thresholds.json&quot;]</pre><p>“Make this sound more human” is a prompt that rarely terminates successfully. Measured Humanizer replaces that subjective prompt with a deterministic loop:</p><ol><li><strong>Measure:</strong> Point it at a draft. It strips away the code blocks and markdown, and measures the remaining prose across sixteen dimensions.</li><li><strong>Diagnose:</strong> It returns the <em>single worst</em> dimension (e.g., “Paragraph length variance is too low”).</li><li><strong>Fix &amp; Repeat:</strong> You (or your AI agent) fix that <em>one</em> thing. Re-measure. Repeat until it passes the composite score threshold.</li></ol><p>By focusing on one dimension per pass, the loop converges.</p><h3>Protecting Code Integrity</h3><p>A more human-sounding article that dropped its sources or mangled its code blocks is a worse article. I built in a --before flag to ensure that an agent&#39;s &quot;style improvements&quot; don&#39;t quietly rewrite your shell snippets or drop citations. If a fenced code block changes, the check fails.</p><h3>Conclusion</h3><p>If you want to stop sounding like a robot, stop worrying about whether you used the word “leverage.” Start looking at the variance in your paragraph lengths. Start using the first person when you talk about your team’s work.</p><p>A document contorted to hit the numbers is not necessarily good writing — but a document that fails these structural checks will almost always feel distinctly artificial.</p><p><em>Measured Humanizer is open-source (MIT). You can run it natively as a CLI tool, integrate it into CI/CD pipelines, or use it directly as a skill for Claude Code and other agents. Check out the </em><a href="https://github.com/SadhvikChirunomula/measured-humanizer"><em>GitHub repository</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f2e4a9429fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Big Data Myth: It Was Always the Hardware]]></title>
            <link>https://medium.com/@sadhu1998/the-big-data-myth-it-was-always-the-hardware-5f72ac92b28a?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f72ac92b28a</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Wed, 08 Jul 2026 16:00:05 GMT</pubDate>
            <atom:updated>2026-07-08T16:00:05.253Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Big data never meant your data was big. It meant your hardware was too small to handle it. That was true in 1997. It is mostly not true anymore — the hardware caught up, quietly, while the industry kept building as if it never would.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pzeDWkyK2ZH3M0ptADQQRQ.png" /></figure><p><strong>TL;DR:</strong> “Big data” was never a statement about data. It was a workaround for hardware that couldn’t hold or process what we were throwing at it. GFS, MapReduce, Hadoop, Hive, Spark — every one of them exists because, at the moment they were built, no single machine was big enough. That constraint drove twenty-five years of distributed systems engineering. It has now mostly evaporated. A modern cloud instance holds more RAM than an entire Hadoop cluster did in 2010. Most workloads that still reach for a cluster don’t need one — but the reasons distributed systems exist aren’t <em>only</em> about capacity, and that nuance is where this argument either holds up or falls apart.</p><p>Here is the question this entire piece is built to answer, stated plainly, before we go anywhere near NASA or Google or Spark: <strong>is distributed computing even needed anymore?</strong> Not “was it needed” — it obviously was — but <em>today</em>, right now, for the workload your team is about to build, do you actually need one. Everything below is the evidence for why the honest answer, for most workloads, has quietly become “no,” and why that answer isn’t the whole story either.</p><h3>A supercomputer chokes on the wind</h3><p>In 1997, two researchers at NASA Ames — Michael Cox and David Ellsworth — were trying to visualize airflow over an aircraft. This wasn’t a toy problem: modeling turbulence and pressure fields around a wing requires enormous simulation grids, and rendering the results means holding huge intermediate datasets in memory while you page through them. Their supercomputer’s RAM and local disk couldn’t keep up. In the paper they wrote about the workaround — “Application-Controlled Demand Paging for Out-of-Core Visualization” — they described datasets “large enough to tax the capacities of main memory, local disk, and even remote disk,” and gave the problem a name: <strong>big data</strong>.</p><p>That paper is the earliest documented use of the term in the computing literature. It’s worth sitting with what it actually meant at the time: not a marketing category, not a Hadoop cluster, not a Snowflake bill. It meant <em>this specific dataset does not fit in this specific machine.</em> Everything that followed — every architecture, every open-source project, every billion-dollar company this article is about — is a variation on that one sentence.</p><h3>The web outgrows the hard drive</h3><p>Cox and Ellsworth’s problem was a niche, supercomputing-lab problem in 1997. It stopped being niche fast. Between 2000 and 2003, the dot-com boom pushed the World Wide Web from a curiosity into the default place businesses put their data — and every search engine, every retailer, every ad network suddenly needed to store and index a firehose of it.</p><p>Hardware did not grow at the same rate. Around the year 2000, the largest commercially available hard drives — the IBM Deskstar 75GXP generation — topped out at roughly 75 gigabytes. Compare that to a single modern laptop SSD. Companies trying to crawl and index the web in the early 2000s were doing it with storage that, by today’s standards, wouldn’t hold your phone’s photo library. Physical hardware simply could not keep pace with the growth of the internet, and every engineering team that touched web-scale data ran into the same wall Cox and Ellsworth had hit years earlier, just at a much larger scale.</p><h3>Google’s answer: stop waiting for bigger machines</h3><p>Google hit that wall harder than anyone, because it was trying to index the entire web. Its answer, published in October 2003, was the <strong>Google File System (GFS)</strong> — a paper describing a filesystem built not around one very large, very expensive machine, but around thousands of cheap, unreliable ones. Instead of buying a bigger drive, you bought many ordinary drives and spread the data across them, with the software handling replication and failure so the hardware didn’t have to be perfect. That’s the entire insight of distributed storage: you stop asking hardware to get bigger and start asking software to spread the load.</p><p>Storage was only half the problem. Once your data is scattered across thousands of machines, how do you actually <em>compute</em> something over all of it — a word count, an index, a join — without shipping petabytes back to one place? Google’s answer, published a year later in 2004, was <strong>MapReduce</strong>: a programming model that pushed the computation out to where the data already lived, then combined the partial results. GFS told you where the data sat. MapReduce told you how to think about processing it without moving it. Neither was open source. Both were just papers — but they were enough.</p><h3>Two engineers, a search engine, and a pair of published papers</h3><p>Around this time, Doug Cutting and Mike Cafarella were building Nutch, an open-source web search engine, and running headfirst into the same storage ceiling everyone else was hitting. They read Google’s GFS and MapReduce papers, and — without access to Google’s actual code — reverse-engineered the architecture described in them. The result, written in Java for portability, became <strong>Hadoop</strong>: HDFS (the Hadoop Distributed File System) standing in for GFS, and Hadoop MapReduce standing in for Google’s internal version. For the first time, the architecture that let Google index the web was available to everyone else, for free.</p><p>Yahoo — Google’s rival in search at the time — was drowning. Its web crawlers were generating more data than its traditional database systems could absorb, and those systems kept falling over under the load. Google’s advantage was, in effect, a storage-and-compute architecture nobody else had. In 2006, Yahoo hired Cutting and backed Hadoop’s development with real infrastructure and engineering time, turning a two-person reverse-engineering project into the backbone of enterprise “big data.”</p><h3>A parallel story: Amazon, latency, and the birth of the cloud</h3><p>While Hadoop was taking shape, a separate but related shift was happening at Amazon — and it’s worth telling accurately, because the popular version of this story usually blurs two different things together.</p><p>The first thing is real and well-documented: Amazon engineer Greg Linden ran internal A/B tests showing that even small increases in page load latency produced measurable revenue loss — roughly on the order of 1% of sales per 100 milliseconds of added delay. That finding became one of the most cited data points in web performance, and it shaped how seriously Amazon treated infrastructure performance as a business metric, not just an engineering one.</p><p>The second thing is a separate story: Amazon’s own e-commerce infrastructure was struggling to scale, and in 2003 engineers Chris Pinkham and Benjamin Black proposed something unusual — standardizing Amazon’s internal infrastructure services so any engineering team, and eventually any outside developer, could provision compute and storage on demand instead of racking physical servers. That internal proposal became Amazon Web Services. S3 launched in March 2006, EC2 followed that August, and for the first time, a company could rent GFS-like storage and MapReduce-like compute by the hour instead of buying and operating it.</p><p>These two threads — the latency-cost discipline and the internal-infrastructure-as-a-product idea — reinforced each other more than either directly caused the other, and together they explain something important: distributed computing and cloud computing didn’t emerge from the same event, but they matured in lockstep. One gave engineers an architecture for spreading data and computation across many machines. The other gave them a way to rent those many machines by the hour instead of buying them. Hadoop clusters didn’t have to live in a company’s own data center anymore — they could live on AWS, and increasingly, they did.</p><h3>Hive: why Facebook needed SQL, not Java</h3><p>Hadoop solved storage and distributed computation, but it created a new problem, and this one had nothing to do with hardware. Every MapReduce job had to be hand-written in Java, and the people who actually needed answers out of data — analysts, not engineers — didn’t write Java. They wrote SQL. Facebook felt this gap acutely: its own data team, led by Jeff Hammerbacher, was trying to get an entire company’s worth of analysts productive on top of Hadoop, and Java was a wall between them and their own data.</p><p>So Facebook built a translator. The result, released around August 2008, was <strong>Apache Hive</strong>: a layer on top of Hadoop that let analysts write SQL-like queries, which Hive then compiled down into MapReduce jobs behind the scenes. Hive didn’t make Hadoop faster or bigger. It didn’t touch the underlying engine at all. What it changed was <em>who was allowed to use it</em> — and that’s worth pausing on, because it’s the first innovation in this whole chain that wasn’t a response to a hardware ceiling. It was a response to a labor-market ceiling: there were vastly more people who knew SQL than people who knew Java, and Hive let a company hire for the skill it actually had plenty of.</p><h3>Spark: why Berkeley put the data in RAM</h3><p>Hive fixed who could use Hadoop. It did nothing for a much deeper flaw sitting underneath both Hive and raw MapReduce: the engine wrote everything back to disk, constantly.</p><p>Classic Hadoop MapReduce persisted intermediate results to disk between every single stage of a job — map, shuffle, reduce — even when the next stage was going to need that exact same data seconds later. For a one-shot batch job, that’s wasteful but tolerable. For iterative workloads — the kind machine learning algorithms run constantly, reprocessing the same dataset dozens or hundreds of times to converge on an answer — it was brutal. Every iteration meant another full round-trip to disk, and disk I/O, not CPU, became the bottleneck.</p><p>In 2009, at UC Berkeley’s AMPLab, a researcher named Matei Zaharia set out to fix exactly that one problem: keep the data in memory across stages instead of writing it back to disk every time. The project was <strong>Apache Spark</strong>, and the idea was almost embarrassingly simple once someone did it — RAM had gotten cheap and plentiful enough that you no longer had to treat it as scarce. Spark still used HDFS underneath for storage, but by keeping working data in memory rather than round-tripping to disk between every stage, it delivered order-of-magnitude speedups — commonly cited as up to 100x on iterative workloads, though the real multiplier depends heavily on the job. Spark stayed a research project for a few years before it was open-sourced and eventually donated to the Apache Software Foundation in 2013, becoming a top-level project in 2014.</p><h3>Cloudera, and the business of running someone else’s cluster</h3><p>As Hadoop spread through the enterprise, a new problem showed up: running and maintaining a Hadoop cluster is genuinely hard operational work, and most companies didn’t want to build that expertise in-house. In June 2008, <strong>Cloudera</strong> was founded by Christophe Bisciglia (from Google), Amr Awadallah (from Yahoo), and Jeff Hammerbacher (from Facebook), alongside CEO Mike Olson, who’d previously run the database company Sleepycat before its acquisition by Oracle. Doug Cutting, Hadoop’s co-creator, joined Cloudera in 2009. The pitch was straightforward: buy the hardware, and Cloudera would manage Hadoop and MapReduce on top of it — CDH, Cloudera’s Distribution for Hadoop. It worked. Cloudera turned managed Hadoop into a business worth billions.</p><p>Then Spark started eating Hadoop’s lunch, and the market began to move.</p><h3>Databricks: the real story, not the tidy one</h3><p>The commonly repeated version of Databricks’ early history says the company tried on-premises deployments, failed, and then pivoted to a cloud SaaS model with AWS. That’s not quite what happened, and the real story is more interesting.</p><p>Databricks was founded in 2013 by the Berkeley team behind Spark — including Zaharia — and built as a cloud-hosted service from early on, launching its AWS-based offering around 2014. The struggle wasn’t architectural. It was commercial. By 2015, Spark had exploded in adoption, but Databricks the company had barely any revenue to show for it. Co-founder and then-CEO Ion Stoica later called it a moment of real doubt: Spark had clearly won technically, “but we just didn’t have any monetization.” Stoica stepped back to his Berkeley professorship, and Ali Ghodsi took over as CEO in January 2016, with the company at roughly $1 million in annual revenue against a $500 million valuation — a gap serious enough to worry the board.</p><p>The turnaround came from partnership, not architecture. Databricks deepened its relationship with AWS starting in 2015, then struck a deeper, jointly-developed integration with Microsoft Azure in 2017 — Azure Databricks — which gave Databricks access to Microsoft’s enterprise sales machine. Revenue went from under $1 million at the start of 2017 to over $100 million in ARR by 2018. It kept compounding: roughly $425 million in 2020, $1.6 billion in fiscal 2023, and by mid-2026, Databricks reported an annualized revenue run-rate of $6.9 billion, still growing at around 80% year over year. That’s not a company that pivoted its way out of failure — it’s a company that took years to find the right distribution model for a product engineers already loved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X_h5X-69RTN28B9_ubZSzg.png" /><figcaption>Databricks’ revenue arc — years of flat growth, then compounding</figcaption></figure><p>By the mid-2010s, Spark — not Hadoop MapReduce — had become the default distributed computing engine, and Databricks had become the platform most associated with running it at scale.</p><h3>Now look at the machines</h3><p>Here’s where the story turns. All of this — GFS, MapReduce, Hadoop, Hive, Spark, Cloudera, Databricks — is an elaborate, brilliant, twenty-five-year engineering response to one constraint: <strong>individual machines used to be too small.</strong></p><p>As late as 2015, that constraint was still very real. The largest commonly available cloud instances that year topped out around 32 to 36 vCPUs, with memory in the tens of gigabytes and attached block storage limited to roughly 1 terabyte on AWS and Azure, a bit more on Google Cloud. If your dataset was measured in terabytes, you had no choice — you distributed it, because no single rentable machine could hold it, let alone process it.</p><p>That ceiling has moved dramatically since. Cloud providers today offer instances with hundreds of vCPUs, memory measured in the tens of terabytes, and attached storage in the tens of terabytes as well — roughly one to two orders of magnitude beyond what was available a decade ago. A single modern cloud VM can now hold, in RAM alone, more data than an entire Hadoop cluster from 2010 could store on disk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HHW3dzrfmpm5hGpgJ2lUyQ.png" /><figcaption>A single cloud VM today dwarfs the biggest machine you could rent in 2015</figcaption></figure><p>The consumer hard drive story tells the same arc from a different angle: the biggest drive you could buy was around 75GB in 2000, roughly 500GB by 2005, about 3TB by 2010, and today’s largest single drives are pushing past 30 terabytes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_IQSNvzqFMz2LXYyX7bT5Q.png" /><figcaption>The biggest hard drive you could buy, 2000–2026</figcaption></figure><h3>So do you actually need distributed computing?</h3><p>This is the uncomfortable question, and it’s worth asking plainly: if the entire reason distributed computing existed was hardware that couldn’t hold your data, and that hardware constraint is mostly gone, why is “spin up a cluster” still most teams’ default move?</p><p>The honest answer is that the term “big data” was never anchored to a specific size threshold like a petabyte. It was a practical label for data that didn’t fit on the hardware available at the time, in a timeframe you could tolerate. By that definition, the threshold moves every time hardware improves — and hardware has improved enormously. Industry analyses looking at real-world warehouse and lakehouse workloads have found that the overwhelming majority of “big data” jobs — commonly cited estimates put roughly 90%+ of workloads under a terabyte, with only a small single-digit percentage genuinely operating at multi-terabyte or petabyte scale — would fit comfortably on a single well-configured modern machine. For most companies, “big data” was never actually big. It was just too big for the hardware they had at the time they wrote the job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0t8imt23rT4TIXolbm1UIw.png" /><figcaption>How big is “big data,” really?</figcaption></figure><p>That has a direct cost consequence. If your workload fits in a single VM, you don’t need to provision a cluster — a driver node plus a fleet of workers, each with its own overhead, coordination cost, and idle capacity — for every job. You can multiplex several workloads onto one appropriately-sized box and let it run near full utilization instead of spinning up and tearing down infrastructure per job. For a meaningful share of enterprise data workloads, that shift alone is where the largest, most immediate cost savings sit — often cited in the 50%+ range on compute spend for jobs that were needlessly distributed in the first place.</p><h3>Where this argument has to be honest with itself</h3><p>It would be dishonest to stop here, because “you don’t need distributed computing anymore” is too strong a claim, and a careful reader should push back on it — so let’s do that ourselves.</p><p>First: distributed systems were never built <em>only</em> to solve the fits-in-memory problem. They also solve fault tolerance. A single machine, no matter how large, is a single point of failure — if it dies mid-job, you lose the job. Cloud block storage that looks like “one big disk” to your VM is, underneath, itself a distributed, replicated system; you’re not actually escaping distributed architecture, you’re renting someone else’s and abstracting it away. Multi-tenant isolation, elastic scale-to-zero economics, and dozens of teams writing concurrently into one shared lake are organizational and reliability problems that a bigger single box doesn’t automatically solve either.</p><p>Second: vertical scaling has a ceiling, and it isn’t priced like commodity hardware. A 400-vCPU, 24-terabyte-RAM instance is not a “buy two of these” line item — it’s a specialized, premium-priced tier, and true multi-petabyte, globally-distributed, or extremely high-concurrency workloads still have no realistic path other than horizontal distribution. Nobody is going to run a planet-scale ad-serving pipeline or a global fraud-detection system on one box, no matter how large that box gets.</p><p>So the accurate version of this thesis isn’t “distributed computing is dead.” It’s narrower and more useful than that: <strong>distributed-by-default is dead. Distributed-by-necessity is still very much alive.</strong> The center of gravity for real-world workloads has moved decisively inside the capacity of a single modern machine — which means the burden of proof should flip. The default assumption should no longer be “spin up a cluster”; it should be “prove you actually need one.”</p><h3>Build it yourself, or buy the house</h3><p>That leaves a genuinely hard decision for any team that’s convinced itself it does still need a real distributed platform: build it yourself, or subscribe to one.</p><p>Building a production-grade Spark-on-Kubernetes platform is not a weekend project. You need an architect who deeply understands Spark, the JVM, Kubernetes, and networking together — not any one in isolation. A Kubernetes team of at least a few engineers for scaling, node affinities, resource utilization, monitoring, and self-healing, including someone with real CKA/CKAD-level expertise. A network engineer fluent in ingress, egress, gateways, and service mesh tooling like Istio, Calico, or Traefik. At least one DevOps engineer for CI/CD and release flows. A business analyst and a technically fluent product manager who can translate requirements into platform decisions. Someone dedicated to Airflow — debugging, root-cause analysis — because orchestration failures at 2am don’t file their own tickets. A site reliability team, realistically three or more people, for production support. And dedicated storage for dependencies and artifacts, plus a cloud architect who understands the latency and private-endpoint tradeoffs of whichever provider you land on.</p><p>All of that buys you a platform whose user-facing surface is, essentially, Airflow and Jupyter. Fine for a dev environment. In production, the job is never really “run Spark” — it’s monitoring, autoscaling, midnight incident response, and meeting SLAs indefinitely as the platform ages. And Spark-on-Kubernetes specifically tends to break down under production load in ways teams don’t anticipate until they’re already committed — scheduling quirks and resource-contention issues engineering teams have written about at length after hitting them the hard way.</p><p>There’s an analogy worth taking seriously: most of us don’t build our own houses — not because we couldn’t learn how, but because getting it right takes expertise we’ll never need again after this one project, and getting it wrong is expensive in ways that compound. So we hire a builder, or buy a house someone already built, and spend our time on what we wanted the house <em>for</em>. The real question for a data platform is the same: is your goal to build a Spark platform, or to derive a solution from your data? Very few organizations are actually in the business of the first one.</p><p>If it’s the second, the evaluation criteria for a managed offering are fairly consistent across vendors: license cost, the real depth of vendor lock-in, security and governance posture, quality of support, long-term reliability, feature completeness against your actual workloads, day-to-day developer experience, and whether documentation gets a new engineer productive in days rather than months.</p><p>And if you’re already running Spark-on-Kubernetes or on-prem and weighing a managed switch, the honest tradeoff: the upside is the operational burden — cluster lifecycle, scaling, midnight RCAs — moves off your team entirely, freeing budget and headcount for the actual data problem instead of the infrastructure under it, and you move your pipelines, not your data. The downside is real lock-in once workflows are built around a platform’s specific tooling, usage-based pricing that tracks your production growth in a way dev testing never revealed, migration between platforms as a serious multi-month undertaking, and a real ramp-up cost — typically a couple of weeks — before a team is fully productive on anything new.</p><h3>So, is distributed computing even needed now?</h3><p>Go back to the question this piece opened with. Not as a rhetorical flourish — actually sit with it, the way an architect should sit with it before the next design doc gets written.</p><p>Distributed computing was never a philosophy, and it was never chosen because it was elegant. GFS existed because Google couldn’t buy a big enough drive. MapReduce existed because you can’t ship petabytes across a network fast enough to process them in one place. Hadoop existed because two engineers wanted Google’s architecture without Google’s budget. Hive existed because a company had more SQL analysts than Java engineers. Spark existed because disk I/O was killing iterative jobs and RAM had finally gotten cheap enough to fix it. Cloudera existed because running Hadoop yourself was a full-time job nobody wanted. Databricks won because it eventually found a distribution model for a technically superior engine. Every single link in that twenty-five-year chain was somebody solving the specific, dated problem in front of them — not somebody chasing scale for its own sake.</p><p>Read that chain again and notice what’s missing: at no point did anyone say “distribute this because distribution is inherently better.” They distributed because the alternative — a single machine big enough to do the job — didn’t exist yet. That machine exists now. It has hundreds of cores, tens of terabytes of RAM, tens of terabytes of attached storage, and it can be rented by the hour from three different cloud providers. The constraint that built this entire industry has been quietly, almost embarrassingly, solved by hardware — and almost nobody has gone back to update the architecture decisions that constraint originally forced.</p><p>That’s the uncomfortable part. Most teams are not making an active, reasoned choice to distribute their workloads today. They’re inheriting a default that was correct in 2010 and never got re-examined since — a decade of “this is just how you do big data” calcifying into habit long after the reason for the habit disappeared. And habits are expensive: every unnecessary cluster is idle capacity, coordination overhead, and a devops team maintaining infrastructure that a single well-sized VM could have replaced for a fraction of the cost.</p><p>So no — distributed computing is not dead, and anyone who tells you it is hasn’t sat with the counterarguments in this piece: fault tolerance, multi-tenancy, genuine petabyte-and-beyond scale are real, and they’re not going anywhere. What’s dead is the <em>default</em>. What should die is opening every new data project with “how many nodes do we need” instead of “do we need nodes at all.” The burden of proof has quietly flipped, whether or not your architecture diagrams have caught up to it yet.</p><p>If you take one thing from this history, take this: big data was never a size. It was a hardware problem wearing a permanent-sounding name. The hardware problem got solved years ago. The name just never got the memo.</p><p><em>Sources: Cox &amp; Ellsworth, “Application-Controlled Demand Paging for Out-of-Core Visualization” (1997); Ghemawat, Gobioff &amp; Leung, “The Google File System” (SOSP 2003); Dean &amp; Ghemawat, “MapReduce: Simplified Data Processing on Large Clusters” (OSDI 2004); Apache Hadoop, Hive, and Spark project histories; AWS “Our Origins”; Databricks newsroom and public revenue disclosures; Teradata and MotherDuck commentary on the state of “big data” workload sizes.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f72ac92b28a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free SSL Certificates for HTTPS—Automate It with Certbot and Never Pay Again]]></title>
            <link>https://medium.com/@sadhu1998/free-ssl-certificates-for-https-automate-it-with-certbot-and-never-pay-again-258141b406ce?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/258141b406ce</guid>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cert]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Sat, 21 Feb 2026 13:24:57 GMT</pubDate>
            <atom:updated>2026-02-21T13:24:57.778Z</atom:updated>
            <content:encoded><![CDATA[<h4>SSL shouldn’t cost you money. Here’s how to get verified, trusted SSL certificates for free and automate the renewal so you never have to think about it again.</h4><figure><img alt="Auto-verified SSL certificate generation using Certbot" src="https://cdn-images-1.medium.com/max/1024/1*nqmo3xzM4_3XdUhr999pwg.png" /></figure><h3>The Startup Problem—SSL Is Expensive</h3><p>When you’re building a startup, every rupee (or dollar) counts. You’re paying for servers, domains, tools, and subscriptions—and somewhere in that list are SSL certificates.</p><p>Traditional SSL certificates from providers like DigiCert, Comodo, or even your domain registrar can cost anywhere from <strong>$50 to $300 per year per domain</strong>. If you’re running multiple domains or subdomains—say, one per client or product—that cost multiplies fast.</p><p>And here’s the frustrating part: SSL is not optional. Without it:</p><ul><li>Browsers show a <strong>“Not Secure”</strong> warning to your users</li><li>Search engines rank your site lower</li><li>APIs and modern browsers block mixed content</li><li>Users don’t trust you</li></ul><p>So you’re stuck paying for something you can’t avoid. Or so we thought.</p><h3>The Solution—Let&#39;s Encrypt + Certbot</h3><p><a href="https://letsencrypt.org/">Let’s Encrypt</a> is a free, open, and automated Certificate Authority (CA) backed by Mozilla, Google, Cisco, and others. It issues SSL certificates that are <strong>trusted by all major browsers</strong>, completely free of charge.</p><p><a href="https://certbot.eff.org/">Certbot</a> is the official tool that talks to Let’s Encrypt on your behalf—it requests the certificate, proves you own the domain, and saves the cert files on your server—all automatically.</p><p>The only thing you need is</p><ul><li>A domain you own</li><li>A Linux server with port 80 open</li></ul><p>That’s it. No credit card. No annual renewal fees. No vendor lock-in.</p><h3>But wait—certs expire every 90 days!</h3><p>Here’s the catch people often bring up: <strong>Let’s Encrypt certificates expire every 90 days</strong>, unlike paid certificates, which typically last 1–2 years.</p><p>At first, this sounds like a hassle. But it’s actually a feature, not a bug—shorter expiry windows mean better security. And since Certbot can renew certificates automatically, you set it up once and <strong>never think about it again</strong>.</p><p>We’ll cover the automation at the end of this article. By the time you’re done reading, you’ll have a fully automated SSL setup that renews itself every month without any manual intervention.</p><h3>Prerequisites</h3><p>Before you begin, make sure you have:</p><ul><li>A domain name (e.g., yourdomain.com)</li><li>A Linux server (Ubuntu/Debian recommended)</li><li>Port 80 open on your server</li><li>A DNS A record pointing your domain to your server IP</li></ul><h3>Step 1—Install Certbot</h3><p>On Ubuntu/Debian:</p><pre>sudo apt update<br>sudo apt install certbot</pre><p>Verify installation:</p><pre>certbot --version</pre><h3>Step 2—Point Your Domain to Your Server</h3><p>In your DNS provider (GoDaddy, Namecheap, Cloudflare, etc.), add an A record:</p><p>Type Name Value A @ YOUR.SERVER.IP A www YOUR.SERVER.IP</p><p>Wait a few minutes for DNS to propagate, then verify:</p><pre>nslookup yourdomain.com</pre><p>It should return your server IP.</p><blockquote><strong><em>Note</em></strong><em>: This is the only step that involves your DNS provider. Everything after this is purely between your server and Let’s Encrypt — no need to log into your DNS dashboard again.</em></blockquote><h3>Step 3—How Certbot Proves You Own the Domain</h3><p>This is the part that confused me at first—so let me explain it clearly.</p><p>When you run Certbot, it needs to <strong>prove to Let’s Encrypt that you actually own the domain</strong>. It does this using what’s called an <strong>HTTP-01 challenge</strong>. Here’s exactly what happens:</p><ol><li>Certbot starts a <strong>tiny temporary web server</strong> on port 80 of your machine</li><li>to:to: <a href="http://yourdomain.com/.well-known/acme-challenge/somerandomtoken">http://yourdomain.com/.well-known/acme-challenge/somerandomtoken</a></li><li>Since your domain’s A record points to your server, that request reaches your machine</li><li>Certbot responds with the correct token → <strong>domain ownership proved.</strong> ✅</li><li>Let’s Encrypt issues the certificate</li></ol><p><strong>The key insight</strong>: Let’s Encrypt is saying, &quot;If<em> you can respond on port 80 of that domain, you must own it.&quot;</em> Your DNS provider login or dashboard is <strong>not involved at all</strong> in this step—it&#39;s purely a network-level verification. The A record you set in Step 2 is the only DNS piece that matters.</p><h3>Step 4—Generate Your SSL Certificate</h3><p>If you have Nginx or Apache already running on port 80, stop it briefly so Certbot can use that port:</p><pre>sudo systemctl stop nginx  # or apache2</pre><p>Then run:</p><pre>certbot certonly --standalone \<br>  -d yourdomain.com \<br>  -d www.yourdomain.com</pre><p>You’ll be asked for your email address (for expiry reminders) and to agree to the terms. After that, Certbot handles everything automatically.</p><p>If successful, you’ll see:</p><pre>Successfully received certificate.<br>Certificate is saved at: /etc/letsencrypt/live/yourdomain.com/fullchain.pem<br>Key is saved at:         /etc/letsencrypt/live/yourdomain.com/privkey.pem<br>This certificate expires on 2026-05-20.</pre><p>Start your web server back up:</p><pre>sudo systemctl start nginx  # or apache2</pre><h3>Step 5—Configure Your Web Server</h3><p>Point your web server to the generated cert files.</p><p><strong>Nginx example:</strong></p><pre>server {<br>    listen 443 ssl;<br>    server_name yourdomain.com www.yourdomain.com;</pre><pre>    ssl_certificate     /etc/letsencrypt/live/yourdomain.com/fullchain.pem;<br>    ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;</pre><pre>    location / {<br>        proxy_pass <a href="http://localhost:8080;">http://localhost:8080;</a><br>    }<br>}</pre><p>Reload Nginx. x:</p><pre>sudo systemctl reload nginx</pre><p>Visit your domain—you should see the 🔒 padlock!</p><h3>Step 6—Cover Multiple Subdomains with One Cert</h3><p>You don’t need a separate cert for each subdomain. Certbot can bundle multiple domains into a single certificate:</p><pre>certbot certonly --standalone \<br>  -d yourdomain.com \<br>  -d www.yourdomain.com \<br>  -d app.yourdomain.com \<br>  -d api.yourdomain.com</pre><blockquote><strong><em>Important</em></strong><em>: Every subdomain must have an A record pointing to your server IP before running this command, otherwise verification will fail for those subdomains.</em></blockquote><h3>Step 7—Automate Renewal (The Important Part)</h3><p>Remember—Let&#39;s Encrypt certs expire every <strong>90 days</strong>. The good news is Certbot handles renewal automatically. You just need to set up a cron job to trigger it.</p><p>First, test that renewal works:</p><pre>certbot renew --dry-run</pre><p>If that succeeds, open your crontab:</p><pre>crontab -e</pre><p>Add this line to run renewal on the <strong>1st of every month at 3 AM</strong>:</p><pre>0 3 1 * * certbot renew --quiet</pre><p>Certbot is smart—it only renews a cert when it’s within 30 days of expiry. So even though this runs monthly, it won’t renew unnecessarily. You set it once and <strong>forget about it forever</strong>.</p><p>To check your cert’s current expiry at any time:</p><pre>echo | openssl s_client -connect yourdomain.com:443 -servername yourdomain.com 2&gt;/dev/null | openssl x509 -noout -dates</pre><h3>Bonus—Nginx Inside Docker?</h3><p>If your Nginx runs inside a Docker container, one extra step is needed. The container won’t pick up renewed certs automatically unless you copy them to a mounted volume.</p><p>Use a script that copies certs and restarts the container only when a renewal actually happens:</p><pre>0 3 1 * * certbot renew --quiet --deploy-hook &quot;cp /etc/letsencrypt/live/yourdomain.com/fullchain.pem /your/nginx/ssl/server.crt &amp;&amp; cp /etc/letsencrypt/live/yourdomain.com/privkey.pem /your/nginx/ssl/server.key &amp;&amp; docker restart your_nginx_container&quot;</pre><h3>Summary</h3><ol><li>What you do install Certbot. apt install certbot</li><li>Add DNS A record Point domain to server IP.</li><li>Generate cert. certbot certonly --standalone -d yourdomain.com</li><li>Configure web server Point Nginx/Apache to cert files</li><li>Automate renewal Cron job: certbot renew --quiet on 1st of every month</li></ol><h3>Final Thoughts</h3><p>SSL certificates should never be a financial burden for startups. Let’s Encrypt has made trusted SSL free for everyone, and Certbot makes it completely automated.</p><p>Yes, certs expire every 90 days—but with a single cron job, that becomes someone else’s problem (Certbot’s). You focus on building your product, and your SSL takes care of itself.</p><p>If this helped you save some money and headaches, give it a clap 👏 and share it with a fellow founder or developer who’s still paying for SSL!</p><p><em>Tags: SSL, Certbot, Let’s Encrypt, Startups, DevOps, Web Security, Nginx, Docker, Linux</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=258141b406ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Alias Commands That Made My Kubernetes Management 10x Faster (A Practical DevOps Guide)]]></title>
            <link>https://medium.com/@sadhu1998/the-alias-commands-that-made-my-kubernetes-management-10x-faster-a-practical-devops-guide-4c9702fb2887?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c9702fb2887</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Wed, 03 Dec 2025 05:49:04 GMT</pubDate>
            <atom:updated>2025-12-03T05:49:04.956Z</atom:updated>
            <content:encoded><![CDATA[<p>If you work with Kubernetes every day, you quickly realize one thing: the CLI wastes more time than it should. Kubernetes itself is great, but kubectl is unnecessarily long, repetitive, and slow to type. After years of working with clusters, managing workloads, and debugging incidents, I got tired of typing the same commands again and again.</p><p>The simplest change that made the biggest impact?<br> <strong><em>Alias commands</em></strong>.</p><p>No complex setup. No plugins. No frameworks.<br> Just shell aliases — and the speed boost was immediate.</p><p>This article is not theory. These are the exact alias commands that made my Kubernetes workflow at least 10x faster, especially during debugging, on-call, and multi-cluster operations.</p><h3>Why I Needed Alias Commands in the First Place</h3><p>Kubernetes commands are long. Every single one feels like extra work.</p><ul><li>kubectl is eight characters</li><li>nearly everything needs a namespace</li><li>context switching is slow</li><li>logs require long flags</li><li>pod names are absurdly long</li></ul><p>When you’re juggling staging, dev, production, and custom namespaces, this overhead becomes painful. And during incidents, these extra seconds feel like minutes.</p><p>That’s when I stopped treating aliases as “optional” and started building a proper workflow around them.</p><h3>The Core Aliases That Immediately Improved My Workflow</h3><p>The first step was simple: shorten the base commands. The difference in speed is ridiculous.</p><pre>alias k=&#39;kubectl&#39;<br>alias kg=&#39;kubectl get&#39;<br>alias kd=&#39;kubectl describe&#39;<br>alias kdel=&#39;kubectl delete&#39;<br>alias ke=&#39;kubectl edit&#39;</pre><p>From that moment, every Kubernetes interaction became faster.<br> Typing k get pods feels natural. kubectl get pods feels prehistoric.</p><h3>The High-Impact Resource Shortcuts (Debugging Becomes Instant)</h3><p>Most Kubernetes work revolves around a few core resources. Instead of typing long commands, I created direct shortcuts.</p><pre>alias kgp=&#39;kubectl get pods&#39;<br>alias kgs=&#39;kubectl get svc&#39;<br>alias kgn=&#39;kubectl get nodes&#39;<br>alias kgi=&#39;kubectl get ingress&#39;<br>alias kgd=&#39;kubectl get deployments&#39;</pre><p>When you’re diagnosing an issue, these save large chunks of time.<br> You simply type kgp and move on.</p><h3>Namespace-Specific Aliases (Honestly, These Saved Me the Most Time)</h3><p>Forgetting the namespace… running the command again… switching namespace… running again. It’s a cycle everyone hates.</p><p>This solved it:</p><pre>alias kdp=&#39;kubectl get pods -n default&#39;<br>alias kpp=&#39;kubectl get pods -n production&#39;<br>alias kstg=&#39;kubectl get pods -n staging&#39;</pre><p>Over time, I added aliases for monitoring, kube-system, logging, and others.<br> The goal is simple: never type -n namespace manually again.</p><h3>Log and Exec Aliases — The Real On-Call Time Savers</h3><p>When something goes wrong, logs and exec commands are your lifeline. These commands shaved minutes off every debug session.</p><pre>alias kl=&#39;kubectl logs&#39;<br>alias klf=&#39;kubectl logs -f&#39;<br>alias kexec=&#39;kubectl exec -it&#39;</pre><p>Nothing fancy. Just extremely effective.</p><h3>Context Switching Without Slowing Down</h3><p>If you manage multiple clusters, context switching is where most people slip. These aliases eliminate confusion.</p><pre>alias kctx=&#39;kubectl config use-context&#39;<br>alias kctxs=&#39;kubectl config get-contexts&#39;<br>alias kns=&#39;kubectl config set-context --current --namespace&#39;</pre><p>I also added environment-specific safety aliases:</p><pre>alias kprod=&#39;kubectl --context=production&#39;<br>alias kdev=&#39;kubectl --context=development&#39;<br>alias kqa=&#39;kubectl --context=qa&#39;</pre><p>This ensures I don’t accidentally run a destructive command on the wrong environment.</p><h3>A Shell Function That Saves Me Every Week</h3><p>Aliases are great for fixed commands, but some operations need dynamic behavior. This function became a tool I rely on constantly — especially when pod names are annoyingly long.</p><pre>klog() {<br>  kubectl logs -f $(kubectl get pods -n $1 | grep $2 | awk &#39;{print $1}&#39;) -n $1<br>}</pre><p>Usage:</p><pre>klog production checkout</pre><p>It automatically finds the matching pod and streams logs.<br> No searching. No copying pod names. No mistakes.</p><h3>How Much Faster This Made My Kubernetes Workflow</h3><p>This isn’t a small improvement. This is a complete workflow upgrade.</p><p><strong>Before aliases:</strong></p><ul><li>long commands</li><li>constant retyping</li><li>manual namespace switching</li><li>repeated copy-pasting pod names</li><li>higher chance of mistakes</li><li>slower debugging loops</li></ul><p><strong>After aliases:</strong></p><ul><li>near-zero typing overhead</li><li>faster incident response</li><li>quicker context switches</li><li>less mental load</li><li>less human error</li><li>smoother multi-cluster development</li></ul><p>I’m not exaggerating when I say these changes made my Kubernetes management easily 10x faster.</p><p>This is one of those rare “productivity upgrades” that actually sticks.</p><h3>Final Thoughts</h3><p>If you’re working with Kubernetes every day and still typing full kubectl commands, you&#39;re slowing yourself down for no reason. Alias commands are the simplest change you can make, and the results are immediate.</p><p>You don’t need a giant alias library.<br> Start with the basics, add more as your workflow grows, and keep your setup clean and intentional.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c9702fb2887" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating the Complexity: Is Cloud DevOps Easy?]]></title>
            <link>https://medium.com/@sadhu1998/navigating-the-complexity-is-cloud-devops-easy-d83758de679d?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/d83758de679d</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[it]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Fri, 29 Dec 2023 05:44:46 GMT</pubDate>
            <atom:updated>2023-12-29T05:45:38.639Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>In today’s professional landscape, there’s a prevalent belief that Cloud DevOps is a straightforward path to a lucrative career. The notion that one can easily land a good package by venturing into DevOps has become a common misconception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*b6cPX5QH_PbWPCR9.jpg" /></figure><p>As someone with four years of experience in the field, I find myself perplexed by those who underestimate the complexities involved. The universal truth we must all acknowledge is this: “Nothing is easy, no matter what others say.” Whether you’re a frontend developer, backend developer, DevOps engineer, tester, QA specialist, or business analyst, each role comes with its unique set of responsibilities.</p><p><strong>The Multifaceted World of Cloud DevOps:</strong></p><p>Having immersed myself in the realm of DevOps for the past four years, I can confidently assert that Cloud DevOps is far from easy. It encompasses a vast array of tools and technologies, each playing a pivotal role in the intricate web of operations. Here’s a glimpse of the multifaceted toolkit that Cloud DevOps engineers interact with regularly:</p><ol><li>Cloud Platforms: GCP, Azure, AWS</li><li>Monitoring Tools: Grafana, ELK, EFK, Prometheus, Dynatrace</li><li>Logging Tools: Splunk, Fluentbit, Logz</li><li>Infrastructure as Code: Terraform, Vagrant, Packer</li><li>Configuration Management: Ansible, Puppet, Chef, Saltstack</li><li>CI/CD Pipelines: Azure DevOps, Jenkins, Github Actions, Gitlab Actions, Argo CD</li><li>Containerization: Docker, Kubernetes</li><li>Scripting: Bash, sh, Perl</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*FNu8ZBNoruAHX8sm.jpg" /></figure><p>This list is just the tip of the iceberg in a constantly expanding sea of technologies.</p><p><strong>Beyond the Button Click</strong></p><p>Contrary to the belief that Cloud DevOps is about clicking a few buttons, the reality is much more intricate. It involves the design, understanding, and provisioning of infrastructure tailored to specific requirements, all while ensuring minimal latency and downtime. In the ever-evolving landscape of Cloud DevOps, solving one issue often gives rise to another, creating an ongoing cycle of challenges that persists indefinitely.</p><p><strong>The OSI Model and Cloud DevOps Responsibilities</strong></p><p>Take, for instance, the simplicity of a bash command like ls -ltrh. While every software engineer knows it lists files and folders, the story behind the scenes is substantial. For a Cloud DevOps engineer, it&#39;s about delving into the intricacies of command execution, understanding the underlying processes, and ensuring the seamless flow from physical to application layers.</p><p>In my understanding, the responsibility of a Cloud DevOps engineer aligns with implementing the OSI (Open System Interconnect) Model — a concept from textbooks. It involves ensuring the integrity of the physical, data, network, transport, session, presentation, and application layers. A Cloud DevOps engineer needs to guarantee a flawless chain with no issues along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/0*LZ7-w2zAat3nTP5i.jpg" /></figure><p><strong>Diverse Roles in Cloud DevOps</strong></p><p>Within the realm of Cloud DevOps, there are diverse roles, each with its unique set of responsibilities:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*oNQO5fcdJYr9TB6E.jpg" /></figure><ul><li>Cloud Engineer</li><li>Site Reliability Engineer</li><li>Database Administration</li><li>Network Security Engineer</li><li>Cloud Architect</li></ul><p>Each role contributes to platform stability, cost optimization, and ensuring customers can access their respective portals, websites, or applications.</p><p><strong>Conclusion</strong></p><p>In conclusion, the perception that Cloud DevOps is easy needs to be dispelled. It is a dynamic field that demands a profound understanding of a myriad of tools, technologies, and responsibilities. Cloud DevOps professionals navigate a complex terrain, ensuring the stability and accessibility of digital platforms while adapting to the ever-evolving technological landscape.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d83758de679d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of Work: How Remote Work is Changing the Landscape]]></title>
            <link>https://medium.com/@sadhu1998/the-future-of-work-how-remote-work-is-changing-the-landscape-cbb78d8d6c28?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbb78d8d6c28</guid>
            <category><![CDATA[workplace-trends]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[remote-work]]></category>
            <category><![CDATA[work-from-home]]></category>
            <category><![CDATA[balance-collaboration]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Wed, 10 May 2023 19:22:10 GMT</pubDate>
            <atom:updated>2023-05-10T19:22:10.436Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction:</strong></p><p>The way we work is changing rapidly, with remote work becoming more prevalent than ever before. In this article, we will explore the future of work and how remote work is changing the landscape of the workplace. We will examine the benefits and challenges of remote work and provide practical tips for both employers and employees to make the most of this shift.</p><p><strong>Body:</strong></p><ol><li>The rise of remote work</li></ol><p>Remote work has been on the rise for several years, but the COVID-19 pandemic accelerated this trend significantly. Millions of workers were forced to work from home, and many have discovered the benefits of remote work. The rise of technology has made it easier than ever for workers to stay connected and collaborate with their colleagues from anywhere in the world.</p><p>2. The benefits of remote work</p><p>Remote work has many benefits for both employers and employees. Here are just a few of the advantages:</p><ul><li>Increased productivity: Studies have shown that remote workers are often more productive than their office-based counterparts.</li><li>Better work-life balance: Remote workers have more control over their schedules, which can lead to a better work-life balance.</li><li>Reduced costs: Remote work can save both employers and employees money on commuting, office space, and other expenses.</li><li>Access to a global talent pool: Remote work allows employers to hire the best talent from anywhere in the world, rather than being limited to local candidates.</li></ul><p>3. The challenges of remote work</p><p>While remote work has many benefits, it also presents some challenges. Here are a few of the challenges that employers and employees may face:</p><ul><li>Isolation and loneliness: Remote workers may feel isolated or disconnected from their colleagues, which can impact their mental health and well-being.</li><li>Lack of structure: Without the structure of a traditional office environment, remote workers may struggle with time management and staying focused.</li><li>Communication difficulties: Remote workers may face challenges in communication and collaboration, particularly if they are working with colleagues in different time zones or cultures.</li></ul><p>4. Tips for making the most of remote work</p><p>Whether you are an employer or employee, there are several things you can do to make the most of remote work. Here are some tips:</p><ul><li>Set clear expectations: Employers should set clear expectations for remote workers, including communication protocols, work hours, and deadlines.</li><li>Invest in technology: Employers should invest in technology that supports remote work, such as video conferencing software and collaboration tools.</li><li>Stay connected: Remote workers should make an effort to stay connected with their colleagues, whether through regular video calls, chat apps, or virtual team-building activities.</li><li>Create a dedicated workspace: Remote workers should create a dedicated workspace that is free from distractions and conducive to productivity.</li><li>Take breaks: Remote workers should take breaks throughout the day to stretch, move, and recharge.</li></ul><p>Conclusion:</p><p>In conclusion, remote work is changing the landscape of the workplace, and it is here to stay. While there are challenges associated with remote work, there are also many benefits. Employers and employees who embrace this shift and make the most of the opportunities it presents will be well-positioned for success in the future of work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbb78d8d6c28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub: The Ultimate Platform for Software Engineering Collaboration, Version Control, and…]]></title>
            <link>https://medium.com/@sadhu1998/github-the-ultimate-platform-for-software-engineering-collaboration-version-control-and-7bea1c007e2d?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bea1c007e2d</guid>
            <category><![CDATA[it]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Tue, 02 May 2023 09:18:28 GMT</pubDate>
            <atom:updated>2023-05-02T09:18:28.507Z</atom:updated>
            <content:encoded><![CDATA[<h3>GitHub: The Ultimate Platform for Software Engineering Collaboration, Version Control, and Open-Source Contributions.</h3><p>GitHub is a web-based platform that allows software developers and engineers to store, manage, and collaborate on their code. It was first launched in 2008 and has since become an essential tool for developers worldwide. GitHub is based on Git, which is a distributed version control system that was developed by Linus Torvalds in 2005.</p><p>GitHub has many features that make it a valuable tool for software engineers. One of its main features is version control, which allows developers to track changes to their codebase over time. With Git, developers can create branches for new features, bug fixes, or experiments. They can then merge these branches back into the main codebase once they have been tested and reviewed. This approach ensures that the codebase remains consistent and reliable.</p><p>GitHub also provides powerful collaboration tools that allow multiple developers to work on the same project simultaneously. Each developer can work on their own branch, which can then be merged with the main codebase once it has been reviewed. GitHub also provides tools for code review, making it easy for developers to leave comments on each other’s code. This approach helps to ensure that the codebase is consistent, readable, and maintainable.</p><p>Below are high-level features provided by Github</p><ol><li><strong>Version Control with GitHub</strong><br>GitHub provides a powerful version control system that helps developers manage their codebase efficiently. With Git, developers can create branches for new features, bug fixes, or experiments. They can then merge these branches back into the main codebase once they have been tested and reviewed. This approach ensures that the codebase remains consistent and reliable. Using a version control system like GitHub is crucial for software engineering teams to keep track of changes to the codebase over time and collaborate on pr1. Version Control with GitHubojects.</li><li><strong>Collaboration with GitHub<br></strong>GitHub is designed for collaboration, providing tools that allow multiple developers to work on the same project simultaneously. Developers can work on their own branch, which can then be merged with the main codebase once it has been reviewed. GitHub also provides tools for code review, making it easy for developers to leave comments on each other’s code. This approach helps to ensure that the codebase is consistent, readable, and maintainable. Collaboration tools are essential for software engineering teams to work together efficiently, especially when working on complex projects.</li><li><strong>Project Management with GitHub</strong><br>GitHub provides project management tools that help software engineers organize their work. These tools allow developers to create and assign tasks, track progress, and set milestones. This approach makes it easy for software engineering teams to work together towards a common goal. GitHub also provides tools for issue tracking and bug reporting, which helps to ensure that bugs and issues are resolved quickly and efficiently, reducing downtime and improving the quality of the codebase. Proper project management is crucial for software engineering teams to stay organized and meet project deadlines.</li><li><strong>Open-Source Contributions with GitHub<br></strong>GitHub has become the go-to platform for open-source contributions. With GitHub, developers can easily contribute to open-source projects, submit pull requests, and collaborate with other developers around the world. This approach helps to foster a culture of collaboration and innovation in the software engineering community. By contributing to open-source projects, developers can improve their skills, learn from other developers, and build a strong reputation in the software engineering community.</li><li><strong>Learning and Growth with GitHub<br></strong>GitHub provides a wealth of resources for software engineers who want to learn and grow. Developers can explore codebases for popular projects, learn from other developers’ code, and contribute to open-source projects. This approach helps to build a strong community of developers who are passionate about software engineering and committed to improving their skills. GitHub’s community is a great resource for software engineers who want to stay up to date on the latest trends, best practices, and tools in the industry.<br>In conclusion, GitHub is an essential tool for software engineers around the world. Its powerful version control system, collaboration tools, project management tools, and platform for open-source contributions have made it a go-to platform for developers. By implementing these strategies, developers can increase their efficiency, improve their code quality, and grow their skills in software engineering.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bea1c007e2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a Daily AWS Cost Alert with Python]]></title>
            <link>https://medium.com/@sadhu1998/create-a-daily-aws-cost-alert-with-python-82dcfaf5dbb1?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/82dcfaf5dbb1</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-cost-optimization]]></category>
            <category><![CDATA[aws-cloud-cost-management]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Thu, 27 Apr 2023 12:18:32 GMT</pubDate>
            <atom:updated>2023-04-27T12:18:53.833Z</atom:updated>
            <content:encoded><![CDATA[<p>Effectively managing AWS costs is vital for optimizing cloud resource usage. Receiving daily cost alerts for specific resources helps you monitor spending and maintain your budget. In this step-by-step guide, we’ll demonstrate how to create a Python script that retrieves daily AWS resource costs based on specific tags and sends email notifications using Office 365.</p><p><strong>Prerequisites:</strong></p><ol><li>Python 3.x installed.</li><li>An AWS account with valid AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.</li><li>An Office 365 email account with valid credentials.</li><li>Boto3 and pytz libraries installed. You can install these using the following command: `pip3 install boto3 pytz`</li></ol><p><strong>Steps:</strong></p><ol><li><strong>Set up environment variables:</strong> Configure the required environment variables for your script, such as AWS credentials, email credentials, and resource tags.</li></ol><pre>export AWS_REGION=&quot;us-east-2&quot;<br>export EMAIL_RECIPIENT=&quot;you@example.com&quot;<br>export OUTLOOK_SENDER_USER=&quot;you@example.com&quot;<br>export OUTLOOK_SENDER_PASSWORD=&quot;your_password&quot;<br>export TAG_NAME=&quot;resource&quot;<br>export TAG_VALUE=&quot;your_resource_tag&quot;</pre><p>2. <strong>Import necessary modules:</strong> Import the required modules, such as boto3, os, smtplib, datetime, EmailMessage, and pytz.</p><pre>import boto3<br>import os<br>import smtplib<br>from datetime import datetime, timedelta<br>from email.message import EmailMessage<br>import pytz</pre><p>3. <strong>Fetch environment variables:</strong> Read the environment variables set earlier using os.getenv().</p><pre>AWS_REGION = os.getenv(&quot;AWS_REGION&quot;)<br>EMAIL_RECIPIENT = os.getenv(&quot;EMAIL_RECIPIENT&quot;)<br>OUTLOOK_SENDER_USER = os.getenv(&quot;OUTLOOK_SENDER_USER&quot;)<br>OUTLOOK_SENDER_PASSWORD = os.getenv(&quot;OUTLOOK_SENDER_PASSWORD&quot;)<br>TAG_NAME = os.getenv(&quot;TAG_NAME&quot;)<br>TAG_VALUE = os.getenv(&quot;TAG_VALUE&quot;)</pre><p>4. <strong>Calculate the cost:</strong> Create a function get_cost() that fetches the daily cost of resources with the specified tags using the get_cost_and_usage() method from Boto3’s Cost Explorer client.</p><pre>def get_cost(tag_name, tag_value):<br>    client = boto3.client(&#39;ce&#39;, region_name=AWS_REGION)<br>    response = client.get_cost_and_usage(<br>        TimePeriod={<br>            &#39;Start&#39;: start.strftime(&#39;%Y-%m-%d&#39;),<br>            &#39;End&#39;: end.strftime(&#39;%Y-%m-%d&#39;)<br>        },<br>        Granularity=&#39;DAILY&#39;,<br>        Filter={<br>            &#39;Tags&#39;: {<br>                &#39;Key&#39;: tag_name,<br>                &#39;Values&#39;: [tag_value]<br>            }<br>        },<br>        Metrics=[&#39;UnblendedCost&#39;]<br>    )<br>    return response[&#39;ResultsByTime&#39;][0][&#39;Total&#39;][&#39;UnblendedCost&#39;][&#39;Amount&#39;]</pre><p>5. <strong>Send email notifications:</strong> Create a function send_email() that sends an email notification with the calculated cost using the Office 365 email service (smtplib).</p><pre>def send_email(cost, recipient):<br>    subject = &#39;Yeedu AWS Daily Cost Alert&#39;<br>    #body = f&quot;Your AWS daily cost for resources with tags &#39;{{{TAG_NAME}: {TAG_VALUE}}}&#39; for {start}-{end} is: $ {cost}&quot;<br>    body = f&quot;&quot;&quot;<br>Team,<br><br>The AWS daily cost for resources with tags &#39;{{{TAG_NAME}: {TAG_VALUE}}}&#39; between {start} and {end} is: <br><br>${cost}<br><br>Please review your usage and let us know if you have any questions or concerns. <br><br>Best regards&quot;&quot;&quot;<br>    <br>    msg = EmailMessage()<br>    msg.set_content(body)<br>    msg[&quot;Subject&quot;] = subject<br>    msg[&quot;From&quot;] = OUTLOOK_SENDER_USER<br>    msg[&quot;To&quot;] = recipient<br><br>    try:<br>        with smtplib.SMTP(&quot;smtp.office365.com&quot;, 587) as server:<br>            server.starttls()<br>            server.login(OUTLOOK_SENDER_USER, OUTLOOK_SENDER_PASSWORD)<br>            server.send_message(msg)<br>            print(&quot;Email sent successfully!&quot;)<br>    except Exception as e:<br>        print(f&quot;Error sending email: {e}&quot;)</pre><p>6. <strong>Main function:</strong> Define the main function main() that calls the get_cost() and send_email() functions and prints the status.</p><pre>def main():<br>    cost = get_cost(TAG_NAME, TAG_VALUE)<br>    print(f&quot;Daily cost: $ {cost}&quot;)<br>    send_email(cost, EMAIL_RECIPIENT)<br>    print(&quot;Email sent successfully!&quot;)<br><br>if __name__ == &quot;__main__&quot;:<br>    main()</pre><p>7. <strong>Run the script:</strong> Execute the script to receive the daily AWS cost alert email.</p><p><strong>Conclusion:</strong></p><p>This tutorial has shown you how to create a Python script that calculates the daily cost of AWS resources with specific tags and sends email notifications using the Office 365 email service. Schedule this script to run daily for regular cost alerts and effective cloud spending management.</p><p><strong>Note:</strong> Remember to replace the placeholder values in the environment variables with your actual credentials and resource tags.</p><p>Link to the complete <a href="https://gist.github.com/SadhvikChirunomula/4a364402c6f5cb08a5efa71e4c0945c2">code</a>. If you have any queries. feel free to post it as a comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82dcfaf5dbb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hosting Multiple Services on Docker using Nginx Reverse Proxy]]></title>
            <link>https://medium.com/@sadhu1998/hosting-multiple-services-on-docker-using-nginx-reverse-proxy-3cef6b01a5cf?source=rss-cd96f0671f75------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cef6b01a5cf</guid>
            <category><![CDATA[proxy]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Sadhvik Chirunomula]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 13:34:22 GMT</pubDate>
            <atom:updated>2023-03-26T13:35:23.253Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we will learn how to host multiple services on Docker using Nginx. Docker is a platform for developing, shipping and running applications in containers. It provides a simple way to package applications and their dependencies into a portable container that can run on any machine. Nginx is a popular open-source web server that can also be used as a reverse proxy, load balancer, and HTTP cache.</p><p>The goal of this tutorial is to host two services on different ports using Docker and then expose them through a single Nginx container on port 1000 with different DNS names. We will use Docker Compose to define and run our services.</p><p><strong>What is Nginx Reverse Proxy?</strong></p><p>In this section, we will explain how Nginx reverse proxy works. Nginx acts as a reverse proxy, which means it forwards requests from clients to backend servers.</p><p>When a client sends a request to the Nginx server, Nginx checks its configuration to see where to forward the request. In our case, we have two backend servers running on ports 8080 and 8081. Nginx forwards the request to one of these backend servers based on its load-balancing algorithm.</p><p>Nginx can use various algorithms to distribute requests among backend servers, such as round-robin, least connections, and IP hash. The default algorithm is round-robin, which means Nginx distributes requests evenly among backend servers.</p><p>We can configure Nginx to use different algorithms by modifying the Nginx configuration file. In our case, we will use the default round-robin algorithm.</p><p>The advantage of using a reverse proxy like Nginx is that it can provide load balancing and failover for multiple backend servers. In our case, we are using it to route requests to different services running on different ports.</p><p>To accomplish this task, we will follow these steps:</p><ol><li>Create two simple HTML pages to serve as our sample services.</li></ol><pre>&lt;!-- web1/index.html --&gt;<br>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;Sample Page 1&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br> &lt;h1&gt;Sample Page 1&lt;/h1&gt;<br> &lt;p&gt;This is the first sample page.&lt;/p&gt;<br>&lt;/body&gt;</pre><pre>&lt;!-- web2/index.html --&gt;<br>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;Sample Page 2&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br> &lt;h1&gt;Sample Page 2&lt;/h1&gt;<br> &lt;p&gt;This is the second sample page.&lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>2. Make sure that the files mentioned above are created in path web1/index.html and web2/index.html respectively.</p><p>3. Create nginx.conf file with the below content.</p><pre>worker_processes 1;<br><br>events {<br>  worker_connections 1024;<br>}<br><br>http {<br>  server {<br>    listen 80;<br><br>    server_name service1.example.com;<br><br>    location / {<br>      proxy_pass http://web1:80/;<br>    }<br>  }<br><br>  server {<br>    listen 80;<br><br>    server_name service2.example.com;<br><br>    location / {<br>      proxy_pass http://web2:80/;<br>    }<br>  }<br>}</pre><p>3. Define the Docker Compose file with two services, one for each Docker image, and an Nginx service to act as a reverse proxy. You can use the docker-compose mentioned below</p><pre>version: &#39;3&#39;<br><br>services:<br>  nginx:<br>    image: nginx:latest<br>    ports:<br>      - &quot;1000:80&quot;<br>    volumes:<br>      - ./nginx.conf:/etc/nginx/nginx.conf<br>    depends_on:<br>      - web1<br>      - web2<br>  web1:<br>    image: httpd:2.4-alpine<br>    ports:<br>      - &quot;8080:80&quot;<br>    volumes:<br>      - ./web1/index.html:/usr/local/apache2/htdocs/index.html<br>  web2:<br>    image: httpd:2.4-alpine<br>    ports:<br>      - &quot;8081:80&quot;<br>    volumes:<br>      - ./web2/index.html:/usr/share/nginx/html/index.html</pre><p>4. Configure the Nginx server to listen on port 1000 and route requests to the correct service based on the DNS name.</p><p>5. As we see in the above docker-compose, we are running two services on ports 8080 and 8081 and we want to try to access both those services on port 1000 using nginx reverse proxy.</p><p>6. Once done, please edit your /etc/hosts file and add the below entries</p><pre>127.0.0.1 service1.example.com<br>127.0.0.1 service2.example.com</pre><p>7. Now, go to the folder where you created this docker-compose.yml and run the below command</p><pre>docker-compose up -d</pre><p>8. That’s it... Now you will be able to access both the services running on different ports using a single port and different DNS on the same machine. Open <a href="http://service1.example.com:1000/">service1.example.com:1000</a> to get web1 service and <a href="http://service2.example.com:1000/">service2.example.com</a> to get web2 service.</p><p>By the end of this tutorial, you will have a Docker environment running two services exposed through an Nginx reverse proxy. You will have learned how to use Docker Compose to define and run multiple services and how to configure Nginx as a reverse proxy to route requests to the correct service.</p><p><strong>Benefits of Hosting Multiple Services on Docker using Nginx</strong></p><p>There are several benefits to hosting multiple services on Docker using Nginx. Here are a few of them:</p><p>1. <strong>Scalability</strong>: By using Docker, we can easily scale our services up or down as needed. We can add more containers to handle increased traffic or remove containers when traffic decreases. Nginx acts as a load balancer, distributing requests among the backend servers, so we can handle more traffic with ease.</p><p>2. <strong>Portability</strong>: Docker containers are portable, meaning we can deploy them to any environment that supports Docker. This makes it easy to move our services between development, staging, and production environments without having to worry about differences in the underlying infrastructure.</p><p>3. <strong>Isolation</strong>: Docker containers provide isolation between services running on the same machine. Each container has its own file system, network, and resources, ensuring that one service does not affect the performance of another service running on the same machine.</p><p>4. <strong>Ease of Deployment</strong>: Docker makes it easy to deploy new versions of our services without downtime. We can use Docker Compose to define our services and then deploy them with a single command. If something goes wrong, we can easily roll back to a previous version by re-deploying the old container.</p><p>5. <strong>Security</strong>: Docker containers provide an extra layer of security by isolating our services from the host system. Even if a container is compromised, the attacker will only have access to the resources within that container and not the host system.</p><p>In summary, hosting multiple services on Docker using Nginx provides us with a scalable, portable, isolated, and secure environment for our applications. With the power of Docker and Nginx, we can easily deploy and manage our services with confidence.</p><p>You can find the code for this tutorial on <a href="https://github.com/SadhvikChirunomula/nginx-docker-multiservice-demo">GitHub</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cef6b01a5cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>