<?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 Abhishek Chandra on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Chandra on Medium]]></description>
        <link>https://medium.com/@abhichandra1998?source=rss-ea64e687e108------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lYcSO1HyVRL5PZoi5pzb2Q.jpeg</url>
            <title>Stories by Abhishek Chandra on Medium</title>
            <link>https://medium.com/@abhichandra1998?source=rss-ea64e687e108------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:00:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhichandra1998/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[Future of Work: the Cost of Skipping the Hard Things]]></title>
            <link>https://medium.com/@abhichandra1998/future-of-work-the-cost-of-skipping-the-hard-things-b1ddfd1b2c94?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1ddfd1b2c94</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 18:49:45 GMT</pubDate>
            <atom:updated>2026-03-26T18:49:45.904Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bugXn43bW7J8XphB" /><figcaption>Charlie Chaplin in Modern Times, 1936</figcaption></figure><h3>The Pause That Explains Everything</h3><p>I’ve started dreading a specific moment in interviews.</p><p>I ask a candidate to reason through a system problem — nothing exotic, just think out loud. And there’s a pause. Not the good kind, but the kind where they’re waiting. For the prompt to complete itself. For something external to generate the first move. It’s like watching someone wait for their own brain to load.</p><p>And the uncomfortable part is, I don’t think it’s the lack of ability, but rather the struggle of a person who was never permitted to be wrong out loud, in real time, in front of someone who is watching.</p><p><em>We stopped asking the right questions about how people learn. We created environments optimized for answers.</em></p><h3>Every Generation Outsourced Something (Yours Included, Relax!)</h3><p>Nobody does complex differential equations by hand unless they’re pursuing a mathematics PhD. But the people who <em>did</em> struggle through them didn’t just learn calculus. <em>That wasn’t the equation. That was what the equation built in you</em> — the discipline of holding multiple variables in tension, knowing why the answer felt wrong before proving it.</p><p>With every generation, a mechanical function moved outside the brain, and the brain was freed to operate at a higher layer. We don’t treat the generation using GPS as cognitively diminished from the ones who were using star charts; they’re not. <em>We’ve always outsourced the layer below where we currently operate.</em></p><p>Google removed the consequence of not knowing something — the social cost of ignorance, which was, for centuries, a forcing function for depth. AI outsourced the <em>friction of synthesis</em>. The bad first draft. The mediocre second. The decent third. I’ve written enough of those sequences to know what they build — you arrive at a good idea having internalized why the bad ones failed. <em>The struggle wasn’t inefficiency; it was formation.</em></p><p>Now you can skip to draft four (including me, with this article). The output is competent. <em>The scar tissue that made it meaningful — gone. What’s being outsourced now is the struggle that builds the knower.</em></p><blockquote>It is our choices, Harry, that show what we truly are, far more than our abilities. <em>— Albus Dumbledore, Harry Potter &amp; The Chamber of Secrets</em></blockquote><p>Dumbledore doesn’t give answers. He engineers consequences, because he understood something most managers — myself included — had forgotten: <em>character forms under pressure, not in its absence.</em> The ability to choose well requires having chosen badly before, felt it, and integrated the cost.</p><p><em>An AI that saves you from the bad choice also saves you from the education the bad choice was trying to deliver.</em></p><h3>We Forgot That Bad Is the Price of Good</h3><p>When did you last hear this question asked in a leadership review, a sprint retrospective, or a talent calibration session: <em>When did we last genuinely allow someone on this team to be bad at something?</em></p><p>Not underperformed against a KPI. <em>Bad</em> — the specific, necessary, instructive badness of someone learning a skill they don’t yet have, of trying to figure something out, getting it wrong, and having to sit with it.</p><p><em>We’ve built workplaces extraordinarily efficient at preventing failure, and thereby, learning.</em></p><p>Sprint cycles too short for fumbling, code reviews too public for experimental thinking, performance ratings that punish the visible mistake and reward the safe output. I’ve been part of these systems. I’ve sat in calibration meetings talking about someone’s “growth trajectory” while quietly penalizing every wrong turn that growth required.</p><blockquote>You’re just a kid. You don’t have the faintest idea what you’re talking about — <em>Robin Williams, Good Will Hunting</em></blockquote><p>Access isn’t understanding. Knowing answers isn’t the same as being shaped by the questions. <em>Information without formation isn’t wisdom.</em> It’s just faster access to the same blind spots. I’ve hired Wills. I’ve also been guilty of not creating the conditions that would’ve gotten them to depth — because depth looks messy and doesn’t show up well in reviews.</p><p><em>I’ve cut that stretch to meet roadmaps. I know exactly what it cost. And so I’ve found myself under pressure to measure what I manage, managing what I can measure instead.</em></p><h3>The Industry That Ate Its Own Orientation Program</h3><p>Software has always moved fast. Fred Brooks figured this out in 1975. The industry nodded, said <em>“fascinating”</em>, and continued making the same mistakes at a higher velocity.</p><blockquote>The bearing of a child takes nine months, no matter how many women are assigned the task<em> — Fred Brooks, The Mythical Man-Month</em></blockquote><p>Fred Brooks was making a point about timelines. He was also making a point about human development that the industry has spent fifty years trying to disprove. What’s different now isn’t that software moves fast. <em>It’s that the rate of change of the rate of change has escaped any reasonable human adaptation window.</em></p><p>The gap between what a CS degree teaches and what an industry job requires has always existed. Now it’s a canyon. By the time a four-year curriculum is designed, approved, taught, and examined, the tools it was built around have been deprecated, forked, or replaced by something a 19-year-old put on GitHub over a weekend — and we keep acting like the person caught in the middle is the problem.</p><blockquote>The programmer, like the poet, works only slightly removed from pure thought-stuff<em> — Fred Brooks, The Mythical Man-Month</em></blockquote><p>Software changes fast because thought changes fast. Previous generations had the grace of slower cycles. You could spend two years learning a paradigm and trust that it would still be valuable at year four. Gen Z entered an industry where the half-life of a specific technical skill can be measured in months, was handed neither the time nor the permission to struggle through fundamentals, and is now being evaluated against intuitions built in an era when the ground stayed still long enough to build on.</p><p><em>And our diagnosis is that they lack resilience.</em></p><h3>The Moral Logic Gen-Z is Running</h3><p>The easiest read of this generation at work is cynicism. But I think they’re unconvinced.</p><p>They watched the generation before them follow the <em>script</em> perfectly. Give us your formative decade. Take below-market comp while you’re green. Grind. In year seven or ten, we reward you. The contract was honored in letter but violated in spirit, except, of course, for the top 0.01% hired for 7 figures by companies that can afford them. People who did everything right got restructured out at 45. Skills aged faster than the mortgage. The ladder was removed mid-climb.</p><p>I’ve had this conversation with people on my own team — the ones sharp enough to say it plainly. <em>Why would I pay the same price for an asset devaluing faster than before?</em> That doesn’t sound like entitlement to me.</p><p>They watched the layoffs. Every junior engineer joining in 2026 watched senior colleagues with fifteen years of context get walked out with a laptop bag and a severance package. The lesson absorbed wasn’t “work harder.” It was: <em>the institution will optimize. Don’t assume reciprocity.</em></p><p>Layer on the pace of change, and GenZ are entering an industry that changes faster than universities can track, being onboarded with frameworks already aging, expected to perform at market pace while trained at curriculum pace — <em>and when they reach for a tool that bridges that gap, we question their intellectual integrity.</em></p><p><em>That’s not a broken value system. That’s the behavior of someone questioning the math. </em>The institution that wants loyalty needs to make an honest case for why it’s worth giving.</p><h3>Why would I need Junior Engineers?</h3><p>It’s a reasonable question. I’ve heard it asked in planning sessions with the kind of calm confidence that precedes expensive mistakes. <em>If a senior engineer and an AI can produce what three juniors used to — what exactly is the business case for the junior?</em></p><p>The mass layoffs across big tech are, in part, an answer to that question. They’re optimizing the present under uncertainty — a very different thing from strategy. What’s being protected is judgment capital: senior engineers carrying years of failure memory, architectural intuition, and domain instinct accumulated over decisions that <em>cost something</em> when wrong. That knowledge isn’t in any documentation. It lives in people. An AI and a new hire together cannot replicate it, because <em>the AI doesn’t know what it doesn’t know about your specific system’s history.</em></p><p>What’s being cut is the middle layer — people two years into a five-year accumulation arc when the math changed underneath them. Not because they were failing. Because the timeline that made that investment rational was broken by the tools.</p><p>What I actually want — someone who thinks harder under pressure, flags the thing nobody wanted to hear, builds something that outlasts their tenure — has no clean metric. It resists the dashboard.</p><p>The senior-plus-AI model works right now. For current systems, with current institutional memory intact. The senior was once the junior who shipped something that broke production on a Friday evening, who sat with the post-incident review long enough to understand not just what failed but <em>why the architecture made that failure inevitable.</em> That knowledge isn’t transferable by documentation. It was acquired by being inside the consequence.</p><p>The organizations asking “why do I need a junior engineer” are answering a 2025 question. They are not asking the 2032 question, which is: <em>who will know why the system was built this way, what it survived, and where it will fail next?</em> That knowledge has a multi-year gestation. You cannot compress it.</p><p><em>You cannot hire your way to the next generation of irreplaceable engineers. You have to build them.</em> And building them requires the one thing no planning cycle will formally allocate: time, under the right conditions, doing work that actually costs something when it goes wrong.</p><h3>The Pride Problem Nobody Wants to Name</h3><p>Historically, pride came from craft. Builders. Engineers. Makers. People who could point at something and say — I made that, and it works, and I know why it works because I also know every way it could fail.</p><p>Work becomes a cheque when the only thing that matters is delivery. You cannot give promotions every day. But you can give something else every day — something the brain values more than it admits- <em>Recognition of judgment.</em></p><p><em>Not “good job.”</em> The specific moment when someone whose opinion you respect says: <em>“I didn’t think of it that way, and you’re right.”</em> That’s not validation of effort. That’s validation of thought. I’ve had that said to me a handful of times in my career, by people I deeply respected. I remember every instance. Nothing replicates it.</p><p>The old development model was linear: Learn → Practice → Mastery → Promotion</p><p>That condition no longer holds. The model doesn’t survive contact with an industry that iterates faster than a learning cycle completes. What I’ve seen work looks different:</p><p>Problem exposure → Guided reasoning → Assisted execution → Reflection</p><p>Real problems with real stakes first — not toy exercises, not internal tools nobody uses. Something that fails visibly if the judgment is wrong. I’ve started putting junior people on real systems earlier than I feel comfortable, because discomfort is precisely the point.</p><p>Guided reasoning before AI assistance — the shape of the thinking before the tool that shortcuts it. Assisted execution third, which is where AI belongs in the workflow. Reflection last, not a postmortem, a judgment audit. What did you think would happen? What did? Where was the gap?</p><p>The bottleneck has moved. AI has collapsed the time to <em>be competent with information. </em>The new bottleneck is:<em> how fast can you develop genuine judgment in an industry that won’t slow down to let it form naturally?</em></p><p>I haven’t fully solved this. But I’ve stopped pretending that the old model works, which I think is the necessary first step.</p><h3>What We’re Yet to Figure Out</h3><p>Some things don’t accelerate. The human part of building things — the judgment, the instinct for where a system will fail, the capacity to care about the outcome — develops on its own timeline. Always has.</p><p>The human drive to be recognized as someone whose judgment mattered in a specific moment — that hasn’t changed. The Romans wanted their name on a building. Craftsmen wanted their mark on the furniture. The engineers on my team want their architecture decision in the codebase, understood by someone who knows what it costs to make it.</p><blockquote>The tar pit of software engineering will continue to be sticky for a long time to come <em>— Fred Brooks, The Mythical Man-Month</em></blockquote><p>So here’s the question I keep coming back to — the one I don’t have a clean answer for: <em>What does acceptable failure actually look like for this generation, in this industry, at this pace?</em></p><p>There’s the failure that breaks someone’s confidence permanently and the failure that quietly becomes the best thing that ever happened to their judgment. There’s failure at the right scale — consequential enough to be felt, contained enough to be survived.</p><blockquote>Wind extinguishes a candle and energizes fire — Nassim Taleb, Antifragile</blockquote><p>The difference between formative failure and burnout isn’t always visible in the moment. Which raises the harder question: <em>who decides where that line is?</em> If the organization sets the failure frontier too conservatively, nothing is learned. Too aggressively, and you’ve just found a more principled way to lose good people.</p><p>What should a junior engineer’s first real mistake look like — in scope, in visibility, in how it’s handled after? And how do you calibrate that in an environment where the stakes are higher, the cycles are faster, and the margin for “figure it out as you go” has been compressed by the same tools that were supposed to help?</p><p>Gen Z didn’t inherit a slower industry and squander it. They inherited a faster one than any generation before them and were handed neither the time, the permission, nor the honest acknowledgment that the speed itself was the problem.</p><p><em>The least we can do is stop calling that a character flaw.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1ddfd1b2c94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tech Debt Mirage: Why Your AI Problems Are Really Architecture Problems]]></title>
            <link>https://medium.com/@abhichandra1998/the-tech-debt-mirage-why-your-ai-problems-are-really-architecture-problems-56627ae7cf67?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/56627ae7cf67</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[transformation]]></category>
            <category><![CDATA[tech-debt]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 20:18:00 GMT</pubDate>
            <atom:updated>2025-06-05T20:23:57.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6MjHNj43-lV29amcBMtffQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@_ivann?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Ivan N</a> on <a href="https://unsplash.com/photos/a-bunch-of-wires-and-wires-in-a-room-AfStyhXC5kM?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>Organizations are eager to solve operational inefficiencies, data silos, and process bottlenecks with artificial intelligence. Yet what many don’t realize is that the very problems they’re hoping AI will solve often exist because of accumulated tech debt — invisible architectural decisions and compromises made over years that now manifest as business friction points.</p><h3>The Hidden Root Cause</h3><p>Most friction points plaguing modern enterprises stem from architectural and design decisions made over time — decisions that seemed logical in isolation but created compounding complexity. In complex business environments, the rapid adoption of new tools and technologies creates a sprawling ecosystem of highly isolated systems and tools that simply don’t communicate with each other. <strong>Business users find themselves constantly switching between applications, losing productivity and context with every transition.</strong></p><p>What’s particularly challenging is that these symptoms — manual data entry, duplicate work across systems, delayed reporting, and workflow bottlenecks — are often perceived as “business problems” that need technological solutions. Organizations naturally look to the latest technology (currently AI) to solve these pain points, not realizing that the problems themselves are symptoms of underlying technical architecture issues.</p><p>When manual processes exist to bridge gaps between systems, when reporting requires multiple data exports and manual reconciliation, or when simple business decisions require input from multiple disconnected tools, these aren’t problems that need AI — <strong>they’re problems created by tech debt that AI will simply automate rather than solve.</strong></p><h3>Recognizing the Pattern</h3><p>The challenge is that tech debt doesn’t announce itself. It accumulates gradually through seemingly reasonable decisions: choosing a quick integration over a proper API, selecting different tools for different departments, maintaining legacy systems alongside new ones, or building custom workarounds instead of addressing core issues.</p><p>Over time, these decisions create an invisible web of dependencies, manual processes, and system gaps that manifest as business inefficiencies. Organizations experience these symptoms daily but often don’t trace them back to their technical origins:</p><ul><li><strong>Data inconsistencies</strong> across departments that require manual reconciliation</li><li><strong>Duplicate data entry</strong> because systems don’t integrate</li><li><strong>Delayed reporting</strong> due to complex data aggregation processes</li><li><strong>Process bottlenecks</strong> where human intervention is needed between automated systems</li><li><strong>Limited visibility</strong> because information is scattered across multiple platforms</li></ul><p>When leadership looks at these challenges, the natural response is to seek solutions that can work with the existing environment — and AI seems perfect for this. AI can potentially automate manual processes, reconcile data differences, and provide insights across disconnected systems. However, this approach treats symptoms rather than causes.</p><h3>The Opportunity for Transformation</h3><p>When AI emerges as a potential solution, it’s natural to see it as a beacon of hope — something that can bring order to the chaos. However, this approach is like wanting to remodel your garage without first clearing out the clutter.</p><p>The real opportunity lies in recognition: understanding that many of the problems you want AI to solve exist because of accumulated tech debt, not because of inherent business complexity. This awareness transforms <strong>AI adoption from a band-aid solution into a strategic catalyst for comprehensive organizational improvement.</strong></p><p>Rather than using AI to work around broken processes and disconnected systems, organizations can use AI initiatives as the business case for addressing underlying technical architecture issues. <strong>This approach creates sustainable solutions rather than sophisticated workarounds.</strong></p><h3>The Challenge of Tech Debt Accumulation</h3><p>Enterprise environments typically evolve through a pattern of diversified applications supported by equally diversified data infrastructure. This often results from the natural tension between <strong>building what’s fast versus building what lasts.</strong></p><p>Speed is undeniably important in competitive markets, but technology decisions driven solely by immediate needs create long-term challenges. While rapid deployment might solve today’s problems, sustainable growth requires attention to the structure and standardization that often gets overlooked in the initial rush to market.</p><h3>A Strategic Framework for Transformation</h3><h4>Process Optimization: Uncovering Hidden Tech Debt</h4><p>The foundation of any successful transformation begins with understanding your current processes — but with a specific focus on identifying where technology limitations have shaped business workflows. Start by examining friction points not just as process inefficiencies, but as potential indicators of underlying technical issues.</p><p>Ask critical questions about each process step: Is this manual intervention necessary for business reasons, or does it exist because our systems can’t communicate directly? Are we adding steps to verify data accuracy because we don’t trust our integrations? Do we have parallel approval processes because different departments use incompatible systems?</p><p><strong>Often, what appears to be complex business logic is actually a workaround for technical limitations.</strong> Identifying these distinctions is crucial — true business complexity might benefit from AI enhancement, while tech-debt-driven complexity needs architectural solutions.</p><p>Look for common patterns across different business processes and recognize where similar workarounds appear repeatedly. These patterns often reveal systemic technical issues that affect multiple areas of the organization. Document repeatable manual steps that exist primarily to bridge system gaps — these are prime candidates for elimination through better integration rather than AI automation.</p><h4>Technology Intervention: Building Cohesion</h4><p>Many enterprises accumulate tools by solving each new problem with a new solution. Instead of extending current capabilities, organizations often purchase additional tools — decisions frequently driven by immediate speed and cost considerations rather than how well the new tool integrates within the existing framework.</p><p>A more strategic approach involves establishing a common framework across business touchpoints. <strong>Classify your current tools into business requirement tools and support services tools</strong>. Often, support services exist solely because core business tools lack necessary capabilities to function cohesively — identifying these gaps reveals opportunities for consolidation.</p><h4>Data Standardization: Creating Foundation</h4><p>Centralized data management transforms AI initiatives from experimental projects into scalable solutions. Rather than allowing each tool to maintain its own data infrastructure, bring your data to a unified location — whether through a data lake, warehouse, or hybrid approach.</p><p>When possible, migrate databases to a common infrastructure that can serve multiple applications. This standardization becomes the foundation that makes AI initiatives not just possible, but powerful.</p><h4>Automation Opportunities: Scaling Impact</h4><p>Before implementing AI, identify what can be automated through traditional means. Not every repetitive task requires artificial intelligence — many can be addressed through workflow automation, API integrations, or process improvements.</p><p>Document repeatable tasks across your organization and prioritize automation opportunities based on impact and complexity. This groundwork ensures that when you do implement AI, it’s addressing genuinely complex business challenges rather than problems that could be solved more simply.</p><h4>Powering Forward with AI</h4><p>With optimized processes, consolidated technology, standardized data, and automated workflows in place, your organization becomes truly ready for AI transformation. The data exists in accessible formats for AI consumption, friction points are clearly identified for high-impact solutions, and the infrastructure supports rapid prototyping and iteration.</p><p><strong>This foundation provides the power to experiment intelligently — testing what works, discarding what doesn’t, and scaling successful implementations quickly and efficiently.</strong></p><h3>The Path Forward</h3><p>The path forward isn’t about choosing between AI and addressing tech debt — it’s about recognizing that <strong>the problems you want AI to solve may be symptoms of accumulated technical compromises rather than inherent business challenges.</strong></p><p>Organizations that understand this distinction can use AI initiatives as the catalyst for comprehensive transformation. Instead of building sophisticated solutions on top of broken foundations, they can address root causes while implementing cutting-edge capabilities.</p><p>This approach requires the courage to acknowledge that current inefficiencies might not be business problems requiring AI solutions, but technical problems requiring architectural fixes. Organizations that embrace this perspective don’t just implement AI — they build resilient, scalable infrastructures that can evolve with future innovations.</p><p>The most successful AI implementations happen when organizations first understand what they’re really trying to solve. Sometimes the answer is genuinely complex business logic that benefits from artificial intelligence. But often, it’s accumulated tech debt that needs systematic resolution — and recognizing the difference is what separates transformative AI adoption from expensive digital band-aids.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56627ae7cf67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Operators in a Disconnected OpenShift Cluster]]></title>
            <link>https://medium.com/@abhichandra1998/installing-operators-in-a-disconnected-openshift-cluster-129af21cd904?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/129af21cd904</guid>
            <category><![CDATA[operators]]></category>
            <category><![CDATA[red-hat-openshift]]></category>
            <category><![CDATA[disconnected]]></category>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[mirroring]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Sat, 09 Sep 2023 14:30:34 GMT</pubDate>
            <atom:updated>2023-09-09T14:31:28.388Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*1f-qyKzhDfhK1wrlRTUbIQ.png" /></figure><h3>What is a Disconnected Cluster?</h3><p>Most enterprise-grade OpenShift clusters have a restricted environment in which the Nodes do not have access to the internet. The process of installing OpenShift Operators in this type of environment can become challenging because the platform can’t fetch the necessary images from RedHat registries. To address this issue, we establish a ‘Mirror Registry’ within the confined enterprise setting, where we duplicate all the necessary images. The OpenShift platform retrieves the images from this Mirror Registry instead of relying on the RedHat public registries during installation.</p><p>Installing an Operator in a ‘Connected’ environment is a relatively straightforward process, as it simply involves visiting the Operator Hub, selecting the required Operator, and clicking ‘Install’. However, it’s not so simple in a disconnected environment.</p><h3>RedHat Operator Catalogs</h3><p>An Operator Catalog can be defined as a repository of metadata that the Operator Lifecycle Manager (OLM) can query to discover and install Operators and their dependencies on the cluster. To supply content to the OLM within the cluster, a Catalog makes use of a reference to an Index Image, which is essentially a containerized snapshot of the catalog. All the Operators distributed by RedHat are a part of the following four public RedHat catalogs.</p><p>Please make a note of the Index images for each catalog, as they would be useful in creating Docker containers further down the line. We use these Docker containers to list out and filter through all the Operators available in each Catalog.</p><pre>╔═════════════════════╦══════════════════════════════════════════════════════════╦══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗<br>║       Catalog       ║                       Index image                        ║                                                                         Description                                                                          ║<br>╠═════════════════════╬══════════════════════════════════════════════════════════╬══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣<br>║ redhat-operators    ║ registry.redhat.io/redhat/redhat-operator-index:v4.12    ║ Red Hat products packaged and shipped by Red Hat. Supported by Red Hat.                                                                                      ║<br>║ certified-operators ║ registry.redhat.io/redhat/certified-operator-index:v4.12 ║ Products from leading independent software vendors (ISVs). Red Hat partners with ISVs to package and ship. Supported by the ISV.                             ║<br>║ redhat-marketplace  ║ registry.redhat.io/redhat/redhat-marketplace-index:v4.12 ║ Certified software that can be purchased from Red Hat Marketplace.                                                                                           ║<br>║ community-operators ║ registry.redhat.io/redhat/community-operator-index:v4.12 ║ Software maintained by relevant representatives in the redhat-openshift-ecosystem/community-operators-prod/operators GitHub repository. No official support. ║<br>╚═════════════════════╩══════════════════════════════════════════════════════════╩══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝</pre><p>Each of the above-mentioned Catalogs houses a large number of RedHat Operators. Since mirroring all the available Operators in a Catalog to our Mirror Registry is storage-intensive and unnecessary, we create a ‘Custom Catalog’ comprising only a handful of selected Operators essential for our purposes.</p><p>For this demonstration, I’m installing the ‘<strong>Compliance</strong>’ and the ‘<strong>File Integrity</strong>’ Operators in OpenShift.</p><h3>Environment Setup</h3><p>To proceed with the Operator Installation in a disconnected cluster, please ensure that the following Prerequisites are met:</p><ol><li><strong>A working OCP Cluster:</strong> Installation of an Operator requires a working OpenShift cluster to be available. For this demonstration, I’ve installed OCP 4.12.26 on a 3-node compact cluster using the IPI mode of installation.</li><li><strong>OpenShift Pull Secret:</strong> Download the Pull Secret from RedHat Cluster Manager. You can refer to the <a href="https://access.redhat.com/documentation/en-us/openshift_cluster_manager/2023/html/managing_clusters/assembly-managing-clusters#downloading-pull-secrets-ocm_assembly-managing-clusters">RedHat documentation</a> on how to download the pull secret for more information.</li><li><strong>A Mirror Host:</strong> To pull the Operator images from the RedHat registries, we require a machine with internet connectivity. This machine could be another server or VM with internet access. I’ve used my laptop to act as the Mirror Host for this demonstration. Please ensure that you have Docker installed on your Mirror Host.</li><li><strong>Mirror Registry:</strong> An internal Image Registry must be set up in the restricted environment and it must be accessible from the OpenShift cluster and the Jump-host. For this demonstration, I’ve set up a Quay Image Registry with the network connectivity to our OCP cluster as well as our Jump-Host. This Registry also contains the OpenShift Platform Images required during installation. You can refer to the <a href="https://docs.openshift.com/container-platform/4.12/installing/disconnected_install/installing-mirroring-installation-images.html">RedHat documentation</a> on how to mirror the OCP platform images.</li><li><strong>A Jump-Host:</strong> To push the Operator images to the internal Quay registry, we need a server that can access both the Internal Quay Registry as well as our OpenShift Cluster. For this demonstration, I’ve created a VM in the same network as my OpenShift Cluster to serve as the jump-host.</li><li><strong>oc CLI:</strong> To install the Operator Catalogs and Image Content Source Policies, we need oc CLI installed on our Jump-host. You can refer to the official <a href="https://docs.openshift.com/container-platform/4.12/cli_reference/openshift_cli/getting-started-cli.html#installing-openshift-cli">RedHat documentation</a> on how to install the oc CLI tool.</li><li><strong>oc-mirror Plugin:</strong> To mirror the Operator images to our Internal Quay Registry, we need to install the oc-mirror plugin on both our Jump-host and the Mirror host. You can refer to the official <a href="https://docs.openshift.com/container-platform/4.12/installing/disconnected_install/installing-mirroring-disconnected.html#installation-oc-mirror-installing-plugin_installing-mirroring-disconnected">RedHat documentation</a> on how to install the oc-mirror plugin.</li></ol><p>Installing an Operator in a disconnected cluster involves 4 stages, during which we pull the required images from RedHat public registries, copy the images to our Jump-host, mirror the images to our internal Quay registry, and install the Operators from the Operator Hub. The block diagram shown below provides a High-Level architecture of the environment that I have set up, which replicates a typical disconnected compact cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*phBNXbtwWOkcgGKqOwoUhQ.jpeg" /><figcaption>High-Level Architecture of my OpenShift Environment</figcaption></figure><h3>Pulling the Operator Images from the Internet</h3><p>The first stage in installing the operators in a disconnected environment is to pull the required images from the RedHat public registries in *.tar format. The steps mentioned in this section must be performed from the Mirror Host, i.e., a machine with Internet connectivity.</p><ul><li>After signing in to your Mirror Host, convert your OpenShift Pull Secret to JSON format and copy it to ‘.docker’ directory as config.json using the following commands:</li></ul><pre>$ cat ./pull-secret | jq . &gt; &lt;path&gt;/pull_secret.json<br>$ cp &lt;path&gt;/pull_secret.json .docker/config.json</pre><ul><li>Log into the public RedHat registries by running the command shown below. Use your RedHat username and password to log in.</li></ul><pre>$ sudo docker login registry.redhat.io</pre><ul><li>Our next step would be to identify the package name and channel for our Compliance and File Integrity Operators. This step must be performed for every single Operator that we wish to install.</li><li>Create a Docker container using the “registry.redhat.io/redhat/redhat-operator-index:v4.12” index image by running the command shown below.</li></ul><pre>$ sudo docker run -p50051:50051 -it registry.redhat.io/redhat/redhat-operator-index:v4.12</pre><ul><li>Open a second terminal on the Mirror host and run the command shown below to create a ‘redhat-operators-packages.out’ file with all the Operator packages available in the redhat-operators catalog.</li></ul><pre>$ grpcurl -plaintext localhost:50051 api.Registry/ListPackages &gt; redhat-operators-packages.out</pre><ul><li>Once the redhat-operators-packages.out file is created, you can switch back to the previous terminal and stop the container by pressing ‘Ctrl+C’.</li><li>Open the redhat-operators-packages.out file and search for compliance and file integrity packages.</li></ul><pre>{<br>  &quot;name&quot;: &quot;compliance-operator&quot;<br>}<br>{<br>  &quot;name&quot;: &quot;openshift-cert-manager-operator&quot;<br>}<br>{<br>  &quot;name&quot;: &quot;file-integrity-operator&quot;<br>}<br>{<br>  &quot;name&quot;: &quot;cluster-logging&quot;<br>}</pre><ul><li>If the Operator you wish to install is not available in the redhat-operators catalog, follow the same steps mentioned above with the index images for the other three Catalogs as well. For example, the ‘Citrix-ingress-controller’ operator is present in the redhat-marketplace catalog.</li><li>Once we have the names of the operator packages, we find out the channels available for both operators using the following commands:</li></ul><pre>$ oc-mirror list operators --catalog registry.redhat.io/redhat/redhat-operator-index:v4.12 --package compliance-operator<br>NAME                 DISPLAY NAME         DEFAULT CHANNEL<br>compliance-operator  Compliance Operator  stable<br><br>PACKAGE              CHANNEL      HEAD<br>compliance-operator  4.7          compliance-operator.v0.1.32<br>compliance-operator  release-0.1  compliance-operator.v0.1.61<br>compliance-operator  stable       compliance-operator.v1.2.0<br><br><br>$ oc-mirror list operators --catalog registry.redhat.io/redhat/redhat-operator-index:v4.12 --package file-integrity-operator<br>NAME                     DISPLAY NAME             DEFAULT CHANNEL<br>file-integrity-operator  File Integrity Operator  stable<br><br>PACKAGE                  CHANNEL      HEAD<br>file-integrity-operator  4.7          file-integrity-operator.v0.1.13<br>file-integrity-operator  release-0.1  file-integrity-operator.v0.1.32<br>file-integrity-operator  stable       file-integrity-operator.v1.3.1<br>file-integrity-operator  v1           file-integrity-operator.v1.0.0</pre><ul><li>Create a new directory ‘download’ to pull and save the operator images from the RedHat registry to the Mirror Host in *.tar format by using the command shown below:</li></ul><pre>$ mkdir &lt;path&gt;/download</pre><ul><li>Once we have the Operator package names and channels available, we create a new file called ‘imageSetConfig.yaml’ containing the configuration shown below. Please provide the complete path of the ‘download’ directory created in the previous step in the storageConfig.local.path section.</li></ul><pre>kind: ImageSetConfiguration<br>apiVersion: mirror.openshift.io/v1alpha2<br>archiveSize: 4<br>storageConfig:<br>  local:<br>    path: &lt;path&gt;/download<br>mirror:<br>  operators:<br>    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.12<br>      packages:<br>        - name: compliance-operator<br>          channels:<br>          - name: stable<br>        - name: file-integrity-operator</pre><ul><li>Please note that providing the channel is optional, and when no channel is provided, the images for all the available stable channels of an Operator are pulled. If an Operator has no stable channel (if it’s in tech-preview or alpha, etc.), not providing the channel in the imageSetConfig.yaml file will generate errors during the mirroring process.</li><li>Start the image download process using the oc-mirror command shown below. Please note that this process takes a while to complete.</li></ul><pre>$ oc mirror --config=&lt;path&gt;/imageSetConfig.yaml file://&lt;path&gt;/download</pre><ul><li>The command above will create multiple *.tar files in the ‘download’ directory.</li></ul><pre>$ ls &lt;path&gt;/download<br>mirror_seq1_000000.tar  mirror_seq1_000001.tar oc-mirror-workspace  publish</pre><h3>Copy Pulled Images to Jump-host</h3><p>Copy all the *.tar files from the download directory on the Mirror host to the jump-host present in the restricted enterprise network. You can perform this action by either using a removable media which will later be mounted on the jump-host, or using SCP to send the *.tar files directly to the jump-host. Once copied, all the *.tar files must be present in the same directory on the jump-host. I’ve copied all my .tar files into a directory called ‘upload’ on the jump-host.</p><pre>$ mkdir &lt;path&gt;/upload</pre><h3>Mirroring the Images to Internal Quay Registry</h3><p>The third step is to push the copied *.tar operator images to the internal Quay image registry. The steps mentioned in this section must be performed from the jump-host, i.e., a machine within the enterprise network with connectivity to both the cluster as well the internal Quay registry.</p><ul><li>Save a copy of the pull secret in JSON format as “.docker/config.json” file in the jump-host as well. Follow the same steps you performed in the previous section.</li><li>Login to your internal image registry using the following command:</li></ul><pre>$ sudo docker login quay.my-registry.com</pre><ul><li>Mirror the operator images from the jump-host to the Internal Quay Registry by using the oc-mirror command shown below. Provide the complete path of the directory with all the *.tar files as source and your repository path as destination.</li></ul><pre>$ oc-mirror --from=&lt;path&gt;/upload/ docker://quay.my-registry.com/ocp/operators</pre><ul><li>Once the mirroring process is complete, verify that a directory by the name ‘oc-mirror-workspace’ is created, and ‘catalogSource-redhat-operator-index.yaml’ and ‘imageContentSourcePolicy.yaml’ files are created within this directory.</li></ul><pre>$ls oc-mirror-workspace/<br>publish  results-1693973956<br><br>$ ls oc-mirror-workspace/results-1693973956/<br>catalogSource-redhat-operator-index.yaml  charts  imageContentSourcePolicy.yaml  mapping.txt  release-signatures</pre><ul><li>Open the ‘catalogSource-redhat-operator-index.yaml’ file and change the default value of the ‘metadata.name’ sections. I’ve changed it to ‘redhat-operator-index-0&#39;:</li></ul><pre>apiVersion: operators.coreos.com/v1alpha1<br>kind: CatalogSource<br>metadata:<br>  name: redhat-operator-index-0<br>  namespace: openshift-marketplace<br>spec:<br>  image: quay.my-registry.com/ocp/operators/redhat/redhat-operator-index:v4.12<br>  sourceType: grpc</pre><ul><li>Open the ‘imageContentSourcePolicy.yaml’ file and change the default value of the ‘metadata.name’ section. I’ve changed it to ‘redhat-operators-0’:</li></ul><pre>---<br>apiVersion: operator.openshift.io/v1alpha1<br>kind: ImageContentSourcePolicy<br>metadata:<br>  labels:<br>    operators.openshift.org/catalog: &quot;true&quot;<br>  name: redhat-operators-0<br>spec:<br>  repositoryDigestMirrors:<br>  - mirrors:<br>    - quay.my-registry.com/ocp/operators/file-integrity-operator<br>    source: registry.redhat.io/file-integrity-operator<br>  - mirrors:<br>    - quay.my-registry.com/ocp/operators/compliance-operator<br>    source: registry.redhat.io/compliance-operator</pre><ul><li>Create the custom Catalog source and the Image Content Source Policy using the following command:</li></ul><pre>$ oc apply -f &lt;path&gt;/upload/oc-mirror-workspace/results-1693973956</pre><ul><li>Run the following command to apply the configuration:</li></ul><pre>$ oc apply -f &lt;path&gt;/upload/oc-mirror-workspace/results-1693973956/release-signatures/</pre><h3>Installing the Operators</h3><p>Once we have successfully mirrored the Operator Images to our internal image registry and deployed the custom catalog and image source configuration to our disconnected cluster, we can proceed with the final stage of Operator installation.</p><ul><li>Verify the creation of the custom Catalog by running the following command:</li></ul><pre>$ oc get catalogsources -n openshift-marketplace<br>NAME                              DISPLAY   TYPE   PUBLISHER   AGE<br>certified-operator-index                    grpc               39d<br>redhat-operator-hardening                   grpc               39d<br>redhat-operator-index-0                     grpc               3h</pre><ul><li>Verify the creation of the new Image Content Source Policy by running the following command:</li></ul><pre>$ oc get imagecontentsourcepolicy<br>NAME                    AGE<br>certified-operators-0   39d<br>hardening-operators-0   39d<br>redhat-operators-0      3h</pre><ul><li>Install the Operator by visiting the ‘Operator Hub’ in the console, searching for the operators, and clicking ‘Install’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n1EKRjtxjvbWHI1cP8pFtg.png" /><figcaption>Compliance Operator in OperatorHub in the Console</figcaption></figure><p>Installing OpenShift Operators in restricted, disconnected environments poses significant challenges due to internet access limitations. To overcome these obstacles, we’ve implemented a ‘Mirror Registry’ within the enterprise setting, allowing us to duplicate and access the necessary images required for Operator installation. These steps, from image acquisition to deployment and configuration, are essential in ensuring a seamless Operator installation process within a disconnected environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=129af21cd904" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking Free from Micromanagement: Empowering Teams for Success]]></title>
            <link>https://medium.com/@abhichandra1998/breaking-free-from-micromanagement-empowering-teams-for-success-ef7a3963047?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef7a3963047</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[enterpreneurship]]></category>
            <category><![CDATA[success]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 11:37:34 GMT</pubDate>
            <atom:updated>2023-06-20T14:00:42.859Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="by Alvaro Reyes — https://unsplash.com/@alvarordesign" src="https://cdn-images-1.medium.com/max/1024/1*ElNBj6rZsW-0JTFh71EL4w.jpeg" /></figure><p>During my brief stint as a mentor, I’ve been exploring multiple methods of managing and supporting my team. The question I constantly find myself asking turned out to be ‘How much management is too much management?’ This article explores the negative impacts of Micromanagement and advocates for a shift toward becoming Empowering Leaders.</p><p>Leaders hold the key to unlocking the potential of their teams and driving organizational success. Successful leaders steer their teams toward accomplishing strategic goals while fostering a culture that promotes innovation, collaboration, and continuous improvement. Managerial support is vital for teams to enhance their performance, but unwanted or excessive assistance can have a demoralizing and counterproductive effect.</p><p>A micromanager adopts a corporate management style that emphasizes monitoring individuals’ and teams’ day-to-day activities and performance. Although this approach may yield short-term outcomes, it diminishes the overall company morale and fosters a hostile workplace environment. Micromanagers feel the need to excessively control aspects of their employees’ work &amp; decision-making to an extreme degree — more than what is necessary for a healthy working relationship.</p><p>Employees may experience a decline in confidence, a loss of autonomy, and a significant impact on their creative skills when subjected to Micromanagement. In more severe cases, micromanaging can lead to employees seeking alternative employment, or result in anxiety, stress &amp; depression. Such employees perceive the micromanager as condescending, and exhibiting a lack of faith in their capabilities and competence.</p><blockquote><strong>It’s not necessarily the people who move or work the most that feel the most fatigued, it’s those who feel like they don’t have control over their job.</strong> — <a href="https://www.ted.com/talks/chieh_huang_confessions_of_a_recovering_micromanager">Chieh Huang</a></blockquote><p>But nobody aspires to be a Micromanager; no one wakes up in the morning thinking “Hey! I have a bunch of creative and passionate individuals, let’s crush their spirits by telling them in excruciating detail how bad they are at doing their jobs”. So, if no one wants to be a Micromanager, how do they end up turning into one?</p><p>According to a <a href="https://hbr.org/2011/11/why-people-micromanage">Harvard Business Review</a>, people micromanage because</p><ul><li>Managers worry about being disconnected from the actual work of the organization.</li><li>Managers stay in familiar operational territory, unable to let go of their old job or their old ways of doing their job.</li></ul><blockquote><strong>When you see a boss micromanaging, the root cause isn’t sadism, it’s fear. </strong>Mark Murphy, founder of <a href="https://www.leadershipiq.com/">LeadershipIQ</a></blockquote><p>Many micromanagers fear that their team members will do something that could undermine the reputation they have worked so hard to establish. This deep-seated fear of theirs drives them to believe that any failures or even minor mistakes made by their team will reflect poorly on their managerial abilities.</p><h3>Signs to Identify if You’re Micromanaging:</h3><ol><li><strong>Magnifying insignificant details and fixating on unimportant aspects</strong>. As a manager, you have to define success metrics, but not every minute detail of the tasks to be performed. It’s very easy to get caught up in the intricacies of project strands and miss sight of the broader perspective. The obsession with minute details ultimately leads to even the simplest and the most straightforward projects becoming unnecessarily complex.</li><li><strong>Persistent scrutiny of the team’s activities.</strong> Closely monitoring each member’s work, insisting on being CC’d on every single email, and seeking complete visibility on all communications leaves no space for teams to exercise their own initiatives.</li><li><strong>Constantly requesting updates.</strong> The teams must not dedicate more time to gathering information for the purpose of providing updates, rather than focusing on actual work.</li><li><strong>Consistent expression of dissatisfaction.</strong> Micromanagers incessantly complain about the deliverables, thereby stifling creativity and discouraging independent decision-making. They hold the belief that no one else is capable and perceive themselves as superior managers overseeing less talented individuals, convinced that only they can be trusted to work effectively.</li></ol><p>In my experience, teams respond better when they are trusted and the organization believes in their ability to get the job done. Knowing that their manager will support them even during setbacks empowers them to surpass their potential.</p><p>At Microland, we were able to design and develop groundbreaking applications due to the collaborative and non-blaming atmosphere that allowed our team to flourish collectively. We knew that taking risks and pursuing innovative approaches would be recognized and appreciated, rather than getting slapped on the wrist for deviating from traditional methods.</p><blockquote><strong>Create an environment where people can be as productive as possible, then let them do their work. </strong>— Josh Kaufman, author of The Personal MBA</blockquote><h3>Breaking Free from Micromanagement:</h3><ol><li><strong>Let go of perfectionism, especially in the early stages of a project.</strong> Start accepting the fact that there can be multiple methods of accomplishing the same task. Instead of dictating every step of your team based on your idea of perfection, empower them to explore alternative approaches and experiment with fresh ideas. You’ll be pleasantly surprised by the outcomes they can achieve.</li><li><strong>Embrace failure.</strong> Failing for the right reasons, particularly when attempting something ambitious and daring, ultimately yields more long-term benefits than short-term setbacks. Initially, I didn’t fully understand the significance of my manager including this in my KRAs, but over the past few years, I’ve come to realize that it grants me the freedom to explore and innovate.</li><li><strong>Seek feedback about your management style.</strong> Engage in frequent conversations with your team and ask them how they would prefer to be managed and supported in their work. This provides you an opportunity to gain insights into the individual needs of your team members, fostering a more collaborative work environment.</li><li><strong>Appreciate in public, criticize in private.</strong> Feedback need not be brutally honest; it needs to be just honest. Avoid cornering individuals during team meetings and highlighting their failures, this only drives up their anxiety and subdues their thirst for experimentation. Allocate more time to celebrate achievements rather than dwell on setbacks, recognizing that there’s an appropriate time and place for each. Publicly appreciating team members for their accomplishments goes a long way in creating a positive work environment.</li></ol><p>By fostering a collaborative environment, embracing failure as a learning opportunity, and seeking feedback, leaders can create a culture of empowerment that unlocks the potential of their teams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef7a3963047" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Security]]></title>
            <link>https://medium.com/@abhichandra1998/cloud-security-34328348c18b?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/34328348c18b</guid>
            <category><![CDATA[cyber]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Wed, 22 Jun 2022 18:54:52 GMT</pubDate>
            <atom:updated>2022-06-23T08:31:08.225Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Cloud Security Framework for providing an additional layer of security to Enterprise Instrastructure against Cloud-specific threats.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*qB-c5GrdhXIf3dDgbr8GrQ.png" /></figure><p>Cloud platforms have revolutionized the digital transformation of businesses, making them more agile and dynamic by allowing them to focus only on the business logic and deploy scalable solutions fast. The multitude of services offered by cloud platforms across all three categories (IaaS, PaaS, and SaaS) allows businesses to take a hands-free approach and build a versatile infrastructure with flexibility and ease of operations at the center, spurring organizations to migrate into the ‘Cloud-verse’. I’ve always believed that the best technology is the one that has the users oblivious of its presence, which is precisely what makes cloud platforms such a big success.</p><blockquote><a href="https://www.nist.gov/news-events/news/2011/10/final-version-nist-cloud-computing-definition-published">Cloud Computing</a> is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction.</blockquote><p>The ever-present threat of cyber-attacks continues to plague every new advancement we make in this field. The more complex a technology gets, the more opportunities it opens up for potential attackers. Cyber Security as a subject is not completely new to us; decades of advancements in the field have left us with profoundly sound security practices, frameworks, and some exceptional tools. However, given the hands-free nature of cloud platforms, they demand a slightly different perspective for security.</p><p><strong>What is Cloud Security?</strong></p><p>Cloud Security can be defined as a set of processes, policies, procedures, controls, and technologies specifically designed to mitigate the threats (both internal and external) to an organization’s infrastructure. Almost every cloud service provider incorporates some basic security features in their offerings to get you started, features that embody the components that form the Cyber Security Framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*QOX-Hin_XMj3TVn4zzwk9g.png" /><figcaption>Cyber Security Framework as described by the NIST</figcaption></figure><p>The hands-free nature of the Cloud has pushed organizations into a false (though not misplaced) sense of belief that they’re secure since they’re on the Cloud. Just because the cloud service provider starts you off with some basic security services, does not mean that organizations no longer have to worry about security, which is why the National Institute of Standards and Technology (NIST) recommends the following best practices in addition to the Cyber Security framework to ensure maximum Cloud Security:</p><blockquote>1. Take advantage of the security features offered by cloud service companies.</blockquote><blockquote>2. Take regular inventories of what you keep in the cloud.</blockquote><blockquote>3. Don’t store personal information when it’s not necessary.</blockquote><blockquote>4. Consider encrypting rarely used data.</blockquote><blockquote>5. Pay attention to credible warnings.</blockquote><blockquote>6. Security is your responsibility.</blockquote><p><strong>Challenges and Expectations</strong></p><p>So far, the discourse solidifies the need for a ‘magic ingredient’ to help organizations bridge the security lapses in their cloud infrastructure. The very virtues of the cloud such as its hands-free nature and low administrative management, carve out some very specific and niche security requirements, they create a world where organizations have limited visibility, can’t effectively handle multitenancy, have difficulty managing access and upholding compliance, and multiple misconfigurations, all of which pave the way to potential cyber-attacks.</p><p>Let’s discuss a highly probable scenario that could wreak some serious havoc in an infrastructure: ‘Department-A’ and ‘Department-B’ are two departments in an organization, which have virtual networks of their own, ‘VNet-A’ and ‘VNet-B’ respectively. Both departments have control over their respective VNets and are not responsible for the configuration of the Virtual Network of the other department. Department-A has taken security compliance very seriously and has made sure that VNet-A is not open to the public. But, Department-B has an open connection to the internet that can be accessed publicly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*SL7owR8v0bTf1_aqhgBEXQ.png" /><figcaption>Resources in VNet-A getting compromised from an attack through VNet-B</figcaption></figure><p>In this situation, if someone turns on <a href="https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview">Virtual Network Peering</a> between these two networks (which is a very common practice in an organization), VNet-A is also now exposed to the public via VNet-B. In the event of an attack, our good folks at Department-A would be running around scratching their collective heads unable to figure out where the attack was coming from, by the time they realize it’s coming from one of their internal networks, it would be too late. This is an event that will not get flagged by any out-of-the-box security features provided by the cloud service vendors since all the actions, including an exposed connection in VNet-B, were performed consciously and within policies, and yet there was a blind spot because of a simple misconfiguration.</p><p>The above example depicts one very small scenario, but in an organization with hundreds of assets spread across multiple tenants and possibly other cloud platforms, such issues can become untraceable and jeopardize the whole business. This creates the need for easy-to-scale processes/frameworks/tools which can enhance visibility and plug such blind spots in large hybrid infrastructures with lower upfront, operational and administrative costs, and a centralized security control panel.</p><p><strong>What Can We Do?</strong></p><p>The overwhelming challenges posed by the attackers and the expectations of businesses call for a more robust cloud security framework that can provide an added layer of security in addition to the in-house security practices of the organizations and the security services provided by the cloud vendors. A framework with the following four components would be integral in providing that much-needed layer of security:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*e9PmFIbKTxLJtDuMiuoH3w.png" /><figcaption>The additional layer of the Cloud Security Framework</figcaption></figure><p><em>Increased Visibility</em>: Organizations need to be more observant of the activities happening on their platforms. Operations such as deploying new resources, changing the configurations of existing resources, development activities, DevOps and Automation, migrations, etc. need to be carried out with increased scrutiny. The organizations have to employ a Zero-Trust policy when it comes to access and authorization. Every single activity being performed in the infrastructure needs to be logged, analyzed, and documented. Knowing how different security practices implemented in different departments correlate to each other, and drawing inferences from them can be of immense value. Increased Visibility gives businesses more control over Identifying different threats and enables them to take pre-emptive actions.</p><p><em>Unified Security Centre</em>: If proper care is not taken while designing the security architecture of large hybrid infrastructures with multiple tenants, organizations will soon find themselves with a highly distributed solution that consumes a lot of resources (both human and monetary) and is very difficult to manage. A Unified Security Control Panel provides a one-window view into every single security practice that’s been implemented across multiple infrastructures on different platforms, allowing organizations to quickly identify threats and deploy solutions faster.</p><p><em>Ease of Resolution</em>: Once a potential threat has been identified, it becomes instrumental that we seek immediate resolution, but Cloud Services is a very competitive market with multiple vendors offering best-in-class services and features, and with more players bringing in new products every other day. Before long, most businesses will be using services from multiple vendors (for various reasons such as cost, Quality of Service, etc.) and evolve into a hybrid cloud structure. This demands our cloud security solution to be highly scalable and deploy fixes across different platforms with agility and speed. For example, the way we enable Multi-factor Authentication (MFA) in Azure is different from the way we enable it in AWS or GCP. The changes in platform and technology should not delay us in deploying these fixes, nor should they warrant us to employ additional resources.</p><p><em>Cloud Security as a Shared Responsibility</em>: In an increasingly complex world, we can all learn from each other’s mistakes and shortcomings. There have been multiple reports of cloud security breaches across the globe, like the December 2019 <a href="https://www.forbes.com/sites/daveywinder/2020/01/22/microsoft-security-shocker-as-250-million-customer-records-exposed-online/?sh=670592ff4d1b">Microsoft</a> data breach due to lack of password protection, the September 2017 <a href="https://www.upguard.com/breaches/cloud-leak-accenture">Accenture</a> data breach where UpGuard discovered AWS S3 buckets with unauthorized public access on the internet, the infamous <a href="https://www.npr.org/2021/04/09/986005820/after-data-breach-exposes-530-million-facebook-says-it-will-not-notify-users">Facebook</a> data breach of August 2019 where the personal data of over 530 million users was compromised, etc. An ideal cloud security solution should be able to identify such breaches and attacks happening in one environment and take necessary precautions in all other similar ones. For example, if a data breach occurs because of a lack of password protection (like in Microsoft), the tool/process/policy should instantly start scanning resources across all departments in the organization looking for a similar breach. It should be able to track threats in a particular region and automatically work towards securing the resources deployed in that region. If a certain tool or platform releases its next security patch, it should be applied to all the instances where the organization is using these tools or platforms.</p><p>Acknowledging and understanding the fact that cloud vendors alone can’t provide a holistic cloud security solution allows an organization to take a leap towards a more secure future and focus more on their business logic. A Cloud Security Solution designed around these four fundamental components can deliver immense value to organizations, and drives them to truly experience the vast horizons of Cloud Services without the anxiety of an impending cyber-attack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34328348c18b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux File Permissions]]></title>
            <link>https://medium.com/@abhichandra1998/linux-file-permissions-9f2bbb0c4370?source=rss-ea64e687e108------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f2bbb0c4370</guid>
            <category><![CDATA[linux-permission]]></category>
            <category><![CDATA[permission]]></category>
            <category><![CDATA[linux-file-permission]]></category>
            <category><![CDATA[chmod-777]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Abhishek Chandra]]></dc:creator>
            <pubDate>Mon, 18 May 2020 10:49:27 GMT</pubDate>
            <atom:updated>2022-06-23T14:20:02.450Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2-X6tnNG8Lhmpo1Gd1U4A.jpeg" /></figure><h3><strong>Introduction:</strong></h3><p>Linux is an open-source Unix-like operating system, which was initially released by Linus Torvalds in 1991. Though it may not be as user-friendly as some other popular operating systems, Linux is robust and it rarely crashes. Any computing device broadly consists of two main functional blocks, the compute block (this is where the processing happens) and the memory block (this is where the data is stored). The data is stored on the computer in the form of an object called ‘File’. The data could be information, configuration, settings, or commands. Now these files, in general, could be read or tampered with by anybody, causing serious security issues. This developed a need for authorization for each file. File permissions dictate the authorization (who is allowed to do what) of a particular file.</p><h3><strong>The List (ls) Command:</strong></h3><p>Before venturing further into the file permissions, let’s have to look into what files we have on the computer. If you’ve access to a Linux-based machine, open the terminal (bash) and you can try the mentioned commands as you read by. Please take note that the pictures that follow show the results which I got in my system and the names of the files or directories do not carry any deeper meaning in the current context. To list out the contents of the directory you’re currently in (present working directory), type the following command:</p><pre>ls</pre><figure><img alt="Output of ‘ls’ command on my system" src="https://cdn-images-1.medium.com/max/599/1*cx3rzwFxOBiOfD07hsvqtQ.png" /><figcaption><strong>Fig.1:</strong> Output of ‘ls’ command on my system</figcaption></figure><p>In Fig.1, the contents highlighted in blue are directories and the rest are files. The ‘ls’ command provides several options (or flags), one of which is the long format (-l) flag. Now type the following command into your terminal:</p><pre>ls -lh</pre><figure><img alt="Output of ‘ls -lh’ command on my system" src="https://cdn-images-1.medium.com/max/624/1*cP3PYWbAJ5LfkAzdTdFsIA.png" /><figcaption><strong>Fig.2:</strong> Output of ‘ls -lh’ command on my system</figcaption></figure><p>Fig.2 depicts the output of the aforementioned command on my system. For ease of understanding, the output has been divided into seven sections. The first section from the left is the permissions section. But before discussing it in detail, let’s get the other six sections out of the way first.</p><p>The second section denotes the number of links or directories inside that particular directory.</p><p>The third section displays the user who owns the file or the directory.</p><p>The fourth section contains the group to which that file or directory belongs. As there’re no groups created in my machine, it will show the user itself in the fourth section.</p><p>The fifth section shows the size of the file or the directory (the -h flag used along with the -l flag in the command shows the size in human-readable format) in bytes.</p><p>The sixth section indicates the date and time (timestamp) when the file was last modified.</p><p>The seventh section shows the name of the file or the directory. Again, the names of the directories are highlighted in blue color.</p><p>For more information on the ‘ls’ command, try the following:</p><pre>ls --help</pre><p>Or</p><pre>man ls</pre><h3><strong>The [What X Who] Matrix:</strong></h3><p>The different file permissions can be laid out across two dimensions, which could be called the [What X Who] matrix, meaning who can do what with a file or a directory. The three operations which Linux allows users to perform on a file are ‘Read’, ‘Write’, and ‘Execute’. These three operations constitute the ‘What’ part of the matrix.</p><p>· Read: This indicates that the file can be read.</p><p>· Write: This indicates that the file can be written onto or overwritten.</p><p>· Execute: This indicates that the file is an executable.</p><p>The people allowed to do the above-mentioned operations constitute the ‘Who’ part of the matrix. In Linux, the ‘Who’ is segregated as ‘User’, ‘Group’, and ‘Others’.</p><p><strong>· User:</strong> This indicates the permissions of the user mentioned in the third section of Fig.2.</p><p><strong>· Group:</strong> This indicates the permissions of the group mentioned in the fourth section of Fig.2.</p><p><strong>· Others:</strong> This indicates what permissions everybody else has.</p><p>Now, let’s try this using an example. From Fig.2, let’s consider the permissions section of the file called ‘first’. The permissions given to this file (located in the first section) are ‘-rw-r — r — ’. Every permission in the first section of Fig.2 consists of 10 placeholders. The first placeholder shows whether the particular content is a file or a directory or a link. Since the file ‘first’ is not a directory, it is denoted by a ‘hyphen (-)’. For a directory, consider ‘guest’, the first place-holder shows the letter ‘d’, indicating that the content is a directory. Similarly, for a link, the first place-holder is represented by the letter ‘l’.</p><p>The second, third and fourth place-holders indicate the permissions that the user has. In our example, the user ‘abhichandra1998’ has ‘rw-’ permissions, indicating the fact that the user has read and write permissions but not the execute permission.</p><p>The fifth, sixth and seventh place-holders indicate the permissions that the group has. In our example, the group ‘abhichandra1998’ has ‘r — ’ permissions, indicating the fact that the group has only read permission and no write and execute permissions.</p><p>The eighth, ninth and tenth place-holders indicate the permissions that everybody else has. In our example, others have ‘r — ’ permissions, indicating the fact that they also have only read permission.</p><p>The permissions field ‘rw-r — r — ’ can be summarized as:</p><pre>·         <strong>r              : User </strong>can <strong>Read </strong>the file</pre><pre>·         <strong>w              : User</strong> can <strong>Write</strong> to the file</pre><pre>·         <strong>-              : User </strong>cannot <strong>Execute</strong> the file</pre><pre>·         <strong>r              : Group </strong>can <strong>Read</strong> the file</pre><pre>·         <strong>-              : Group </strong>cannot <strong>Write</strong> to the file</pre><pre>·         <strong>-              : Group </strong>cannot <strong>Execute</strong> the file</pre><pre>·         <strong>r              : Others </strong>can <strong>Read</strong> the file</pre><pre>·         <strong>-              : Others </strong>cannot <strong>Write</strong> to the file</pre><pre>·         <strong>-              : Others </strong>cannot <strong>Execute</strong> the file</pre><p>These permissions for our file ‘first’ can be plotted across the [What X Who] matrix as shown:</p><figure><img alt="Table showing the [What X Who] Matrix of the file ‘first’" src="https://cdn-images-1.medium.com/max/658/1*VZKb2JHdVJO4_b-Wkc6CUQ.png" /><figcaption><strong>Table 1:</strong> [What X Who] matrix for the file ‘first’</figcaption></figure><p>Similarly, let’s consider the example of the directory ‘rasa_files’, the permission set denotes ‘drwxr-xr-x’. The first place-holder ‘d’ indicates that this is a directory. The remaining nine values can be plotted across our matrix as:</p><figure><img alt="Table showing the[What X Who] matrix for the directory ‘rasa_files’" src="https://cdn-images-1.medium.com/max/648/1*TXbmB_qiOKnlwnajtYsNqA.png" /><figcaption><strong>Table 2:</strong> [What X Who] matrix for the directory ‘rasa_files’</figcaption></figure><h3><strong>Matrix Scoring:</strong></h3><p>Now I know what you’re thinking, all this permissions business is good and all, but doesn’t a 9 characters string make it difficult to represent, and quite frankly, messy? Of course, it does, that’s why in Linux, this 9-character string can be represented by a 4 -bit octal (base-8) score, in which every bit represents certain permissions. Consider the 4-bit octal number ‘0755’, the four bits represent the ‘sticky bit’, ‘user permissions’, ‘group permissions’ and ‘others’ permissions’, starting from the left-most bit.</p><figure><img alt="Table showing the meaning of the 4 octal bits" src="https://cdn-images-1.medium.com/max/645/1*1NVVPouWtKm_HVNxnGahGg.png" /><figcaption><strong>Table 3:</strong> Meaning of the 4 Octal bits</figcaption></figure><p>Mostly only three bits are used, the sticky bit is set if others have ‘execute’ permission, indicating that files and directories within that directory can only be deleted or renamed by the owner. Each permission (read, write and execute) has a score associated with it. These scores are set as follows,</p><figure><img alt="Table showing the permission scores" src="https://cdn-images-1.medium.com/max/264/1*dRjvmPn7drju3WZy3c6y_w.png" /><figcaption><strong>Table 4:</strong> Permissions Scores</figcaption></figure><p>These values are added up to represent unique permissions. These scores never produce ambiguous sums, meaning that the sum of any two is always a unique number, which represents a unique set of permissions. If a user has ‘r — ’ permission, then it’s given a score of only 4 (4+0+0). If they have ‘rwx’ permissions, then they’re given a score of 7 (4+2+1). That’s how the user, group and others are given a score based on their permissions. Let’s consider our first example, the file ‘first’, and try to score it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*PfpGnO8WBkr-w9Amr8S5_A.png" /><figcaption><strong>Table 5:</strong> Permission Scores for the file ‘first’</figcaption></figure><p>The entire 9-character permissions string ‘rw-r — r — ’ can be represented with the score ‘644’. Now let’s try to score our second example, the directory ‘rasa_files’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*vo0TWX7Zv9eQvKN08koWbA.png" /><figcaption>Table 6: Permission Scores for the directory ‘rasa_files’</figcaption></figure><p>The permissions score for the directory ‘rasa_files’ is 755.</p><h3><strong>Changing the Permissions:</strong></h3><p>Now, what if we want to change these permissions? What if we want to make a file executable, or reassign the permissions? This is where the ‘chmod’ (change mode) command comes into the picture. Let’s try to change the permission of our ‘first’ file, and give the user only executable permission. Try the following command:</p><pre>chmod u=x &lt;file_name&gt;</pre><p>You can replace &lt;file_name&gt; with a file on your system. I’ve performed this operation on the file ‘first’. Now list the contents again in a long format:</p><pre>ls -l</pre><figure><img alt="Newly set permissions of the file ‘first’" src="https://cdn-images-1.medium.com/max/624/1*_n--CnPzRrksldH4vnl4ww.png" /><figcaption><strong>Fig.3:</strong> Newly set permissions of the file ‘first’</figcaption></figure><p>As shown in Fig.3, the user permission is changed to ‘ — x’. Now, to make the change of permissions simpler, we can also use the scores that should be allotted to each file. To change the permission of the ‘rasa_info’ file to give all permissions to everybody, the score needed is 777. The first 7 indicates the user permissions (4+2+1), the second 7 indicates the group permissions (4+2+1) and the third 7 indicates the others’ permissions (4+2+1). So try the following command:</p><pre>chmod 777 &lt;file_name&gt;</pre><p>You can replace &lt;file_name&gt; with a file on your system. I’ve performed this operation on the file ‘rasa_info’. Now, list the contents in the long format again (‘ls -l’).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*6PaRVPosk5irSrUr-3MUSw.png" /><figcaption><strong>Fig.4:</strong> Newly set permissions of the file ‘rasa_info’</figcaption></figure><p>In the above Fig.4, we can see that the permissions for the ‘rasa_info’ file have been changed to ‘rwxrwxrwx’. You can try changing the file permissions to different values and try various flags for the ‘chmod’ command. For instance, using the ‘-R’ flag applies the permission settings to all the files and directories present inside the directory as well.</p><p>For more information on ‘chmod’ command, try the following:</p><pre>chmod --help</pre><p>Or</p><pre>man chmod</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f2bbb0c4370" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>