<?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 Dmitry Degtyarev on Medium]]></title>
        <description><![CDATA[Stories by Dmitry Degtyarev on Medium]]></description>
        <link>https://medium.com/@mitek99?source=rss-672c6989abd6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*e_3Jdo9Nd1IqzYut.</url>
            <title>Stories by Dmitry Degtyarev on Medium</title>
            <link>https://medium.com/@mitek99?source=rss-672c6989abd6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:21:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mitek99/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[Why Humans Still Have an Edge Over AI: Retraining Speed]]></title>
            <link>https://mitek99.medium.com/why-humans-still-have-an-edge-over-ai-retraining-speed-20af475b127d?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/20af475b127d</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[fine-tuning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 11:43:35 GMT</pubDate>
            <atom:updated>2026-03-07T11:43:35.066Z</atom:updated>
            <content:encoded><![CDATA[<p>AI has read more than you.</p><p>Modern large language models have ingested huge portions of the internet, technical documentation, books, research papers, and code repositories. In many domains, they already know far more raw information than any individual human ever will.</p><p>Yet humans still outperform AI in an important way.</p><p>Not because we are more creative.</p><p>Because <strong>we retrain faster.</strong></p><h3>The Hidden Constraint of AI Systems</h3><p>Most people assume AI systems learn while they interact with you.</p><p>They don’t.</p><p>During normal usage, the model’s <strong>weights stay fixed</strong>. The system does not update its internal parameters while answering your question. Any “memory” the model has during a conversation comes from the <strong>context window</strong> — the text you provide in the prompt.</p><p>That means each interaction is effectively stateless.</p><p>The model needs the relevant information every time.</p><p>This creates a fundamental constraint:<br><strong>AI must be re-onboarded for every task.</strong></p><h3>The Context Window Arms Race</h3><p>To mitigate this, AI systems have expanded context windows dramatically.</p><p>We went from a few thousand tokens to:</p><ul><li>128k tokens</li><li>200k tokens</li><li>1M tokens</li></ul><p>The idea is simple: if the model can see enough information at once, it can reason over a larger knowledge base.</p><p>But there’s a problem.</p><p><strong>Maximum context length is not the same as usable context length.</strong></p><p>Research on long-context performance shows a consistent pattern. Models tend to focus most strongly on information at the <strong>beginning and end</strong> of a prompt. Information buried in the middle is often used less reliably — a phenomenon known as <strong>“lost in the middle.”</strong></p><p>Even when the model technically has access to all the information, longer inputs can reduce task performance.</p><p>So while the context window is getting larger, the ability to effectively use all of it remains limited.</p><h3>Humans Solve This Problem Differently</h3><p>Humans don’t operate through stateless prompts.</p><p>We <strong>continuously update our internal model</strong>.</p><p>After spending just a couple of weeks inside an organization, a new employee typically starts to understand the real operating system of the company:</p><ul><li>which rules actually matter</li><li>which processes are legacy artifacts</li><li>who truly influences decisions</li><li>how previous incidents shaped policies</li><li>what tradeoffs the organization prioritizes</li></ul><p>This knowledge rarely exists cleanly in documentation.</p><p>Instead, it emerges from exposure to conversations, meetings, incidents, Slack threads, and design reviews.</p><p>Humans absorb this context and integrate it into a <strong>persistent mental model</strong>.</p><p>Once that model forms, we don’t need to be onboarded again for every task.</p><h3>How Engineering Tries to Work Around This</h3><p>Today, many AI systems address this limitation using <strong>specialized agents</strong>.</p><p>Instead of one model holding the entire organizational context, the problem is broken into smaller domains. Different agents receive narrower slices of knowledge and handle specific tasks.</p><p>For example:</p><ul><li>an architecture agent</li><li>an incident analysis agent</li><li>a documentation agent</li><li>a code generation agent</li></ul><p>Each one operates within a smaller, more manageable context.</p><p>This works.</p><p>But it is essentially an <strong>engineering workaround</strong>. We are reconstructing the organization’s mental model externally using routing systems and orchestration layers.</p><p>Humans don’t require this architecture because our internal model continuously updates as we operate.</p><h3>What Experience Might Actually Be</h3><p>A useful way to think about experience is surprisingly simple.</p><p>It may just be <strong>a large blob of context with weighted attention</strong>.</p><p>The brain records events — meetings, incidents, conversations, decisions — but it doesn’t treat them equally.</p><p>Some events become much more important.</p><p>Emotion and intensity appear to play a role in that weighting.</p><p>For example:</p><ul><li>a tense incident review</li><li>a strong conversation with a manager</li><li>a major production failure</li><li>a critical architectural decision</li></ul><p>These events leave stronger signals in your internal model of how the organization works.</p><p>Over time, your brain compresses organizational history into a decision-making framework.</p><p>Some events fade away. Others heavily influence future choices.</p><h3>The Real Long-Term Solution for AI</h3><p>Prompt engineering, retrieval systems, and multi-agent architectures help.</p><p>But they are all variations of the same workaround: <strong>re-supplying context repeatedly</strong>.</p><p>The only truly universal solution would be different.</p><p>Instead of injecting organizational knowledge into prompts, the model would need to <strong>internalize that knowledge in its weights</strong>.</p><p>In other words, something like:</p><ul><li>continuous learning</li><li>organizational fine-tuning</li><li>persistent memory integrated with training</li></ul><p>This would allow the model to carry organizational context forward across tasks, much like a human employee does after onboarding.</p><p>Some of these capabilities already exist in early forms through parameter-efficient fine-tuning and internal knowledge training pipelines.</p><p>But widespread adoption across companies is still limited.</p><h3>What This Means for Humans Today</h3><p>For now, humans still have a meaningful advantage.</p><p>We can <strong>absorb proprietary context quickly</strong>.</p><p>A few weeks inside an organization allows us to internalize knowledge that an external model cannot easily access or maintain.</p><p>That has an important implication for how we invest our learning effort.</p><p>If the knowledge is widely available on the internet — framework syntax, API usage, basic cloud configuration — AI models already have it.</p><p>Memorizing that information may become lower return over time.</p><p>But proprietary context remains valuable:</p><ul><li>internal policies and their exceptions</li><li>incident history and lessons learned</li><li>organizational incentives and tradeoffs</li><li>ownership structures and team dynamics</li><li>decision-making patterns</li></ul><p>These are the things that still differentiate human understanding from machine output.</p><h3>A Question Worth Asking</h3><p>As AI capabilities continue to improve, one question becomes increasingly relevant:</p><p><strong>What are you learning right now that a public model cannot possibly know?</strong></p><p>The answer may determine where humans continue to outperform machines in the near future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20af475b127d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Blockchain: Introducing a Trust-Based Promise Protocol]]></title>
            <link>https://mitek99.medium.com/beyond-blockchain-introducing-a-trust-based-promise-protocol-a7f0ae531885?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7f0ae531885</guid>
            <category><![CDATA[free-trade]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 12:32:17 GMT</pubDate>
            <atom:updated>2025-07-16T12:32:17.331Z</atom:updated>
            <content:encoded><![CDATA[<p>Blockchain promised us trustless global transactions, anonymity, and decentralization. Yet, today’s cryptocurrency ecosystem is heavily centralized and over-regulated, losing many original advantages while never fully embracing Trust and Reputation as first-class citizens. It’s time for a fresh approach — one rooted in the fundamental social dynamics of human relationships: Trust, Promises, and Reputation.</p><h3>Why Promises Matter</h3><p>Historically, trade created prosperity, and trade is built on trust. People exchange promises — “I’ll pay you tomorrow,” “I’ll give you a ride home,” or “I’ll tutor you in English for an hour” — every day, relying on trust and reputation rather than elaborate enforcement mechanisms.</p><h3>Introducing the Promise Protocol</h3><p>The Promise Protocol is a lightweight, trust-based network that enables users to issue, transfer, and redeem Promises directly among people or organizations they already know or trust. It leverages simple yet powerful structures:</p><p><strong>Promise</strong>: A transferable claim defined by:</p><ul><li><strong>Description</strong>: Free-text specifying the commitment (e.g., “1-hour math tutoring,” “$20 cash”).</li><li><strong>Emitent</strong>: The person who creates and must honor the Promise.</li><li><strong>Bank</strong>: A simple ledger service chosen by the Emitent to record Promise ownership.</li></ul><p><strong>Holder</strong>: The current owner, who can present the Promise for fulfillment or transfer it further.</p><h3>How Trust Works in the Promise Protocol</h3><p>The protocol doesn’t require global identity verification. Users exchange public keys with trusted peers. Promises circulate within these trust circles:</p><ul><li>You trust an Emitent to fulfill their Promise.</li><li>You trust a Bank to honestly maintain its ledger.</li><li>If trust is breached, reputation suffers, and relationships are re-evaluated. Simple social enforcement keeps the system robust.</li></ul><h3>Trading Promises: Safe, Simple, and Fast</h3><p>Transfers are straightforward:</p><ul><li><strong>Single-Bank Transfer</strong>: The Holder instructs the Bank to transfer the Promise to another Holder. The Bank validates and records the transfer.</li><li><strong>Cross-Bank Swaps</strong>: Trades involving Promises from two different Banks use a secure two-phase commit. If a Bank becomes unresponsive mid-trade, manual resolution guided by existing trust relationships resolves disputes. Users accept this risk upfront, leveraging reputation as the primary incentive for good behavior.</li></ul><h3>Emitents &amp; Banks: Keeping It Honest</h3><p>Emitents can periodically download and audit their full ledger records from Banks, ensuring transparency. Banks gain trust by reliability; Emitents can switch Banks freely if trust erodes, simply by issuing new Promises.</p><h3>Optional Reputation Systems</h3><p>Independent rating agencies can extend trust circles, publishing reputational data about Emitents and Banks, enabling users to interact confidently even beyond immediate personal circles.</p><h3>Low-Cost, Flexible, and Human-Centric</h3><p>Without heavy computational burdens or global consensus mechanisms, running Banks is inexpensive and straightforward — an open-source, lightweight software anyone can deploy.</p><h3>Moving Beyond Blockchain</h3><p>The Promise Protocol offers an alternative, human-centric approach to digital exchange, restoring Trust and Reputation to their natural roles as cornerstones of trade.</p><p>Blockchain opened the door, but the Promise Protocol steps through it, bringing trade and trust back to their simplest, most powerful roots.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7f0ae531885" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SaaS Alone Won’t Cut It: Why Unique Data and Done‑For‑You Work Are the New Moats]]></title>
            <link>https://mitek99.medium.com/saas-alone-wont-cut-it-why-unique-data-and-done-for-you-work-are-the-new-moats-70f3f88f8266?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/70f3f88f8266</guid>
            <category><![CDATA[product-market-fit]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[gtm]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 10:45:20 GMT</pubDate>
            <atom:updated>2025-07-10T10:45:20.224Z</atom:updated>
            <content:encoded><![CDATA[<h3>Low‑Code and AI Have Changed the Game</h3><p>Selling SaaS has never been a cakewalk, but today it’s <strong>harder than ever</strong> thanks to the rise of low-code platforms and AI coding tools. <strong>Building software is no longer the hard part</strong> — it’s astonishingly easy. Advances in AI development mean a single person, even a non-developer, can create full applications just by describing what they want. One founder recently built a SaaS app <strong>in two weeks with zero developers</strong>, using AI coding assistants — and hit $5K in monthly revenue almost immediately. In one experiment, an AI agent on Replit even cloned a functional LinkedIn prototype from a single prompt. In short, what used to take large teams months of coding can now be replicated <strong>over a weekend</strong> by a “vibe coder” with the right tools. This <strong>flood of new apps</strong> and DIY solutions means customers have more choices, and any given software product faces <strong>stiffer competition</strong> than ever.</p><p>The implications for SaaS companies are profound. If your product is easily copyable, <strong>don’t expect a free ride</strong>. In the past, a decent software tool could carve out a nice niche with little competition. <strong>That era is ending</strong>. Today, if a SaaS product has no hard-to-copy advantages, it’s <em>ripe for disruption</em>. Competitors — or even open-source communities — can quickly replicate core features using AI-driven development. Practically every “simple” tool now risks facing a <strong>swarm of lookalikes</strong>. A niche workflow app that once seemed safe might suddenly see five clone competitors pop up — or get wiped out by a free AI script that does 90% of the same thing. The CEO of one SaaS company put it bluntly: the mere fact that you’ve built a product is <strong>“near zero”</strong> advantage when entire products can be cloned en masse without big engineering teams. In other words, <strong>your codebase isn’t a moat</strong>; your slick UI isn’t a lasting advantage. If your software doesn’t have something truly special about it, expect to be undercut by alternatives that are “90% as good for 90% less”.</p><h3>Software Alone Is No Longer Enough</h3><p>This new reality has made <strong>selling plain software much more difficult</strong>. Customers have learned that for almost any problem, there’s a cheap (or free) tool, a no-code hack, or an AI workaround available. If a SaaS product is just offering generic functionality, buyers will ask: <em>“Why not just do this in-house or find a cheaper app?”</em> In fact, we’re already seeing savvy businesses bypass pricey SaaS tools by building their own lightweight versions. Investor David Friedberg gave a striking example: his company was paying $5,000 <strong>per seat</strong> each year for a specialized data management SaaS — until one of his engineers used AI to rebuild the tool internally. The company promptly <strong>canceled the SaaS subscription</strong>. Even more telling, that engineer plans to open-source their version or sell it at a fraction of the cost, basically <strong>destroying the original vendor’s pricing power</strong>. This isn’t an isolated story; it’s a sign of the times. As Friedberg predicts, many firms will follow suit across industries, causing more churn for SaaS providers and a deflationary squeeze on SaaS pricing.</p><p>What these trends underscore is that <strong>software by itself has become a commodity</strong>. When AI and no-code tools let anyone create “good enough” software quickly, the <strong>value in the market shifts elsewhere</strong>. We’re seeing the collapse of pricing power for products that lack differentiation. Customers can often find a free open-source alternative or literally ask an AI to whip up a custom solution. It’s great for users (who doesn’t love free or cheap solutions?), but brutal for vendors trying to sell yet-another SaaS. To survive, <strong>SaaS companies must offer more than the software</strong> — they need <strong>true differentiation</strong> that can’t be cloned overnight.</p><h3>Unique Data: The Power of Proprietary Assets</h3><p>One way to stand out in this commoditized landscape is by bundling your software with <strong>unique data</strong>. Data can be a durable moat because while competitors can copy your features, <strong>they can’t copy an exclusive dataset</strong> or years of accumulated information. In fact, proprietary data is widely seen as one of the few <strong>real moats</strong> left in software. As one analysis put it: software where “the value is the data” remains defensible — a rival might clone your app’s functionality, <strong>but not your trove of high-quality data</strong>. If your SaaS has insights or data that others lack, you’ve got an edge that DIY builders can’t easily reproduce.</p><p>For SaaS startups, this means thinking beyond code to what <em>content</em> or <em>information</em> you can package with your product. <strong>Consider a sales tool example:</strong> Offering a slick CRM or outreach platform isn’t enough by itself — there are dozens out there, and a determined sales team could even stitch together their own. But what if your sales SaaS also comes pre-loaded with a <strong>rich database of prospective leads</strong>? Say you bundle in thousands of up-to-date contacts (e.g. scraped from LinkedIn or other public sources) filtered by industry and role. Suddenly your product isn’t just software; it’s software <strong>plus a fuel tank of potential customers</strong> ready to go. That unique data turns your tool into a one-stop growth engine. A competitor could copy your CRM features, but they <em>won’t instantly have</em> that curated list of leads. For the end-user, this is a huge draw — it saves countless hours they’d otherwise spend hunting for contacts. In a world where time is money, a sales platform <strong>with built-in lead data</strong> offers value that a generic platform does not.</p><p>Another example: <strong>research assistants or knowledge platforms</strong>. Imagine an AI-driven research SaaS that not only helps summarize or find papers, but also comes bundled with a <strong>curated database of academic articles and reports</strong> in the user’s field. Instead of starting from scratch, users instantly tap into a library of relevant literature, complete with summaries or notes. This “software + data” combo would dramatically accelerate a researcher’s workflow. Competing on pure tech (say, just a better search algorithm) wouldn’t be enough to dethrone such a service, because its value lies in the <strong>years of curation and data gathering</strong> baked into it. We see analogous strategies in legal and finance software too — for instance, legal SaaS products that include extensive case law libraries or updated regulatory databases as part of the package. The key is that <strong>the data itself is part of the product</strong>. It’s a selling point that is hard for a new entrant or an in-house team to replicate without massive effort.</p><p>Importantly, bundling data isn’t just about buying datasets — it can also mean leveraging <strong>unique user-generated data or network data</strong> over time. Some of the most resilient SaaS companies have amassed proprietary datasets simply by operating in their domain for years. A classic example comes from the legal tech company Casetext. Over time, they didn’t just build software for lawyers; they also collected data on <strong>how lawyers research and draft</strong>, not just on the legal documents themselves. This deep well of contextual data gave them a foundation to offer an AI assistant that new competitors couldn’t match. The broader lesson is that if you can position your SaaS to <strong>capture unique data as it’s used</strong>, you’re continually strengthening your moat. Your product gets smarter or more valuable from the data feedback loop, and customers get outcomes they couldn’t get elsewhere.</p><h3>Done‑For‑You Execution: Selling Time Savings</h3><p>The other big differentiator in today’s SaaS market is <strong>doing the “grunt work” for your customers</strong>. Buyers increasingly don’t just want a tool — they want a solution, an outcome, or at least a head start. Time is the one resource everyone is short on, and the products winning love (and dollars) are those that <strong>save customers time by handling tedious tasks</strong>. In a sense, this is a return to services, but delivered via software. Some are even calling it “Service-as-a-Software,” where modern SaaS <strong>automates entire services</strong> so that the user doesn’t have to manually execute every step. The software doesn’t just sit there waiting for input — it actually <em>does work</em> on the user’s behalf.</p><p>Think of how this contrasts with old-school software. Traditional SaaS might provide the <em>ability</em> to do something (e.g. an analytics app lets you crunch numbers, a marketing tool lets you design email campaigns), but <strong>the user still had to do the work</strong> — set up the queries, write the content, etc. The new breed of SaaS goes further. It might scrape the web, fill in information, generate first drafts, or automate multi-step workflows, delivering results or at least a near-finished product for the user. The more heavy lifting your product can take off the customer’s plate, the more valuable and differentiated it is.</p><p>Let’s return to our earlier examples to illustrate. For the <strong>sales platform</strong>, bundling data (as above) is one form of done-for-you work — the prospect research is already done. But you could take it further: maybe the tool not only provides contacts but also automatically <strong>updates those contacts’ info</strong> (job changes, emails) and even drafts initial outreach messages using AI. Now you’re saving the sales team from drudgery on multiple fronts — data collection <em>and</em> first-touch communication. A competitor offering just an empty software shell, no matter how sleek, will feel like a lot more work by comparison.</p><p>Or consider the <strong>AI research assistant</strong> with the curated library. Beyond providing the papers, it could also <strong>summarize key findings</strong> from each paper or even compile a report on a given topic. That crosses into what might be seen as a service traditionally done by a human research analyst. But if the software can do it, delivering a report or literature review at the click of a button, it’s providing something much more concrete than a typical tool. It’s not hard to see which offering a time-strapped user would prefer: a bare-bones app that requires hours of their input, or an assistant that hands them a near-finished result.</p><p>There are plenty of other scenarios across industries. A marketing SaaS could come with a calendar of pre-scheduled campaign ideas and templates, essentially doing the planning for you. A finance SaaS might not just track expenses but also automatically identify cost-saving opportunities and draft a budget. <strong>The pattern is the same</strong>: the product delivers <em>execution</em>, not just capability. By bundling in completed grunt work, these solutions <strong>sell time savings</strong>. And time savings are incredibly tangible to buyers — often more so than feature checklists. It’s the difference between <em>“This tool can help you do X”</em> and <em>“This tool has already done X for you — just click to confirm.”</em> In an era when anyone can code up a tool, <strong>execution is the real differentiator</strong>. Delivering actual outcomes or done-for-you components creates a level of value that pure software cannot match.</p><h3>Conclusion: Deliver Outcomes, Not Just Apps</h3><p>In 2025 and beyond, succeeding with a SaaS product means <strong>reimagining what you’re really selling</strong>. If you’re just selling an app, you’re facing a losing battle against commoditization. Low-code platforms and AI have made software creation cheap, fast, and accessible to all. Your prospective customers know this — they have options aplenty, and the bar for what they’ll pay for is higher now. What they truly value is <strong>getting to their desired result faster and with less effort</strong>. They want to buy time savings, solved problems, and hard-to-replicate advantages. As industry observers note, <em>“Customers want outcomes, not software.”</em></p><p>For SaaS companies, the path forward is clear: <strong>bundle your code with something extra that can’t be trivially copied</strong>. That could be exclusive data, proprietary insights, or continuously updated information that gives your users a head start. It could be baked-in services or automation that knocks out the busywork and delivers results. Ideally, it’s both. The most compelling products will be those that <strong>combine software with data and service</strong> in a seamless offering — essentially turning tools into turn-key solutions. Buyers will gravitate to the products that let them <strong>skip steps and avoid headaches</strong>, even if the underlying functionality is similar to cheaper tools.</p><p>The era of <em>“there’s an app for that”</em> is shifting into an era of <em>“here’s a solution for that.”</em> Simply offering software is no longer enough. <strong>The winners are selling outcomes</strong> — and they use software as the vehicle to deliver those outcomes efficiently at scale. If you’re building a SaaS today, ask yourself: <em>What am I giving the customer that they </em><strong><em>can’t easily do or get on their own</em></strong><em> with a bit of code or an AI prompt?</em> Answer that, and you’ll be on your way to a product with true differentiation. In a market overflowing with code, you succeed by offering <strong>what code alone can’t — saved time, completed work, and unique value that stands apart</strong>.</p><p><strong>Sources:</strong></p><ul><li>Stephane B., <a href="https://medium.com/@stephanemboghossian/software-is-becoming-a-commodity-273741174d04"><em>“Software Is Becoming a Commodity — Implications &amp; Moats.”</em></a> (Apr 2025)</li><li>Andrew Oved, <em>“</em><a href="https://medium.com/reformation-partners/ai-is-not-the-death-of-vertical-saas-32b9f0ea0fa1"><em>AI is Not the Death of Vertical SaaS.”</em></a> (Jan 2024).</li><li>Mark Strefford, <a href="https://www.linkedin.com/pulse/welcome-saas-20-services-software-mark-strefford-mobie/"><em>“Welcome to SaaS 2.0 (Service as a Software).”</em></a> (Jul 2024).</li><li>BuildGroup Blog, <a href="https://www.buildgroup.com/blog-posts/harnessing-ai-evolving-business-models-and-the-new-world-of-work"><em>“Harnessing AI: Evolving Business Models.”</em></a> (Jul 2024).</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70f3f88f8266" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Everything That Is Wrong with Model Context Protocol]]></title>
            <link>https://mitek99.medium.com/mcps-overengineered-transport-and-protocol-design-f2e70bbbca62?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2e70bbbca62</guid>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Sat, 28 Jun 2025 12:45:09 GMT</pubDate>
            <atom:updated>2025-06-29T06:00:13.172Z</atom:updated>
            <content:encoded><![CDATA[<p>Anthropic’s Model Context Protocol (MCP) started out as a beautifully simple on-machine solution. Early on, you could just run an MCP server locally and connect it to an AI assistant via STDIO (standard input/output), with no networking or auth hassles — it “just worked” for a single developer environment. However, this honeymoon didn’t last. As teams tried to share tools and deploy AI assistants at scale, the limitations of a local STDIO setup became painfully obvious. You can’t realistically share a local process (and its sensitive credentials) across an organization, and you certainly can’t rely on STDIO when your AI agents and tools live in different cloud containers. MCP had to grow up fast and move beyond the desktop. To enable remote use, MCP adopted Server-Sent Events (SSE) and an HTTP-based transport. This shift opened the door for cloud-hosted MCP servers and multiple concurrent connections. But it also introduced new complexity. SSE is a one-way channel (server to client), so MCP ended up needing a persistent open connection for streaming responses <em>and</em> separate HTTP calls for the client’s requests — essentially juggling two connections for a “bi-directional” convo. Anthropic’s newer <em>streamable HTTP</em> update partially addresses this by keeping a single web connection open for real-time two-way data flow, yet the underlying issue remains: MCP’s design moved from a stateless, on-demand call model to a stateful session model that’s more cumbersome in distributed environments. Maintaining these open pipes is a pain. It conflicts with the stateless nature of typical web APIs and microservices, forcing developers to manage session state and socket lifecycles manually. In practice, MCP’s stateful protocol can wreak havoc on scaling and load balancing — persistent connections gobble up server resources and can make the whole system more brittle and less resilient. In short, what started as a plug-and-play local solution turned into a cloud architecture headache, where the simple act of keeping an AI connected to a tool isn’t so simple anymore.</p><h4><strong>Context Window Bloat and Performance Hits</strong></h4><p>Another gnarly issue with MCP is how it blows up an LLM’s context window. Every tool you hook up via MCP isn’t just “out there” waiting to be called — it’s actually described <em>in the model’s prompt context</em> so the AI knows what it can do. Load up a bunch of MCP servers and you load up your poor model’s short-term memory with tons of tool definitions and metadata. The result? Bloated context that can choke your model’s performance. Multiple active MCP connections “could consume significant tokens in the LLM’s context window”, slowing down responses and making it harder for the model to focus on what really matters. Essentially, the model is busy remembering the API schema of your CRM and file system and Slack and whatever else, leaving fewer brain cells (tokens) for the actual user query. If you go overboard, you can even hit the context size limit and start truncating information, meaning some data or instructions get clipped out entirely. That’s a recipe for the AI to start forgetting or mixing up details. Overloading the context doesn’t just impact speed and capacity — it can mess with the AI’s decision-making. When there’s a glut of tools and data in the prompt, the model can get confused about which tool to use or what info is relevant, leading to erratic behavior. Researchers have noted that with too many MCP-provided options, the AI might under-select (ignore a tool that it should have used) or over-select (invoke tools that aren’t actually helpful) because it’s essentially lost in an overstocked toolbox (<a href="https://dev.to/ramkey982/beyond-the-hype-understanding-the-limitations-of-anthropics-model-context-protocol-for-tool-48kk#:~:text=V,Recommendations">source</a>). One suggested workaround has been to dynamically limit or filter the available tools (even using retrieval techniques to pick relevant tools on the fly), rather than dumping every possible tool into the context. The bottom line: MCP’s “more is more” approach to context can backfire — more tools and data can actually make your supposedly smart assistant feel dumber and slower when it’s overwhelmed with extraneous info.</p><h4>Security and Exploit Risks</h4><p>For all its promises of connecting AI to powerful tools, MCP also opens a Pandora’s box of security concerns. By design, MCP gives your LLM the keys to external systems — it can execute functions, retrieve data, even modify things on your behalf. That’s powerful and dangerous. The community quickly identified a slew of potential exploits leveraging this capability. Top of the list is the classic prompt injection attack: malicious instructions hidden in tool schema description trick the LLM into executing unintended actions via MCP. For example, an attacker could embed a sneaky command in a document that the AI is asked to summarize; if the AI isn’t careful, it might obediently call an MCP file-system tool to exfiltrate data or modify files based on that hidden prompt. And it doesn’t stop at prompt text — the <em>tools</em> themselves can be attacked. There’s been talk of tool poisoning, where someone tampers with an MCP server’s advertised functions (especially in community-contributed servers) to include nasty surprises (<a href="https://www.cdata.com/blog/navigating-the-hurdles-mcp-limitations#:~:text=,another%20server%20to%20intercept%20calls">source</a>). Or the even more insidious tool shadowing: a bad actor spins up a fake MCP server with the same tool name as a popular one, hoping your AI calls the malicious twin instead of the real deal. In an open ecosystem of plugins and servers, these kinds of name-squatting attacks are a real concern. All these vectors mean a compromised MCP setup could allow anything from data leaks to remote code execution under the guise of an AI agent trying to be helpful. Perhaps the scariest part is that MCP has very little in the way of built-in security or permissions management to mitigate these threats. The protocol itself doesn’t enforce authentication, authorization, or sandboxing; it basically trusts whatever tool endpoints you give it. Early versions of MCP didn’t even define a clear auth mechanism, leaving it up to developers to bolt on their own security. This absence of intrinsic security means if you’re not extremely careful, an MCP server running with high privileges could be a juicy target. A breached MCP server could escalate into a full-on data breach or system compromise, since the AI will dutifully execute whatever that server says it can do. Observers have bluntly noted that MCP “lacks inherent security enforcement mechanisms”, instead relying on external measures that were <em>“not initially well-defined” </em>(<a href="https://www.cdata.com/blog/navigating-the-hurdles-mcp-limitations#:~:text=Data%20exfiltration%20through%20compromised%20tools,intrinsically%20guaranteed%20by%20the%20protocol">source</a>). In other words, out-of-the-box MCP is <em>not</em> secure — it’s powerful, but you’re on your own to lock it down. The situation is made worse by the fact that MCP is still very new and evolving. Many implementations and community servers are essentially beta-quality, and “many of the safety mechanisms users might expect simply aren’t there yet.” (<a href="https://hiddenlayer.com/innovation-hub/mcp-model-context-pitfalls-in-an-agentic-world/#:~:text=For%20example%2C%20MCP%20relies%20heavily,changes%20in%20a%20dangerous%20way">source</a>) For instance, proper validation of tool permissions is still a work in progress in many clients. It’s disturbingly common for an AI interface to ask the user once for permission to use a tool and then never ask again, even if later the tool is invoked in a more dangerous way. That lack of consistent, granular permission checking can lead to privilege escalation without the user realizing it. Attackers have demonstrated creative exploits chaining MCP tools together: one example combined a cloud storage tool and a web request tool to leak files off a system, all via the AI agent following what it thought were legitimate instructions. And because there’s little standardization in how tools request approval or how an AI should warn users, it’s easy for malicious actions to slip under the radar. The upshot is that using MCP in production today demands a lot of caution and probably some additional guardrails. The protocol might be advertised as <em>“secure, two-way connections”</em> by Anthropic’s marketing, but in practice MCP is far from plug-and-play secure. Without bolting on your own authentication, user approval flows, and monitoring, you could be introducing significant vulnerabilities into your application.</p><h4>Identity and Permission Headaches</h4><p>MCP’s free-for-all connectivity doesn’t just raise red flags for external attackers — it also creates confusion around <em>intent</em> and <em>identity</em> in normal use. One awkward question is “Who is actually doing an action when an AI agent uses a tool?” Is it the end-user operating the AI? Is it the AI itself as an autonomous entity? Or some system account on behalf of the application? MCP doesn’t clearly define this, and that ambiguity becomes a nightmare for auditing and access control. For example, if an AI via MCP deletes a bunch of files or sends an email, how do we log that action usefully? Right now it’s blurry. Experts have pointed out that determining whether requests originate from the end user, the AI agent, or a shared service account is not standardized, making it hard to attribute actions and enforce accountability. In enterprise scenarios, this is a huge issue: you need to know <em>who to blame or alert</em> if something goes wrong. Without clear identity tagging in MCP’s design, tracing an action back to a responsible party can be like chasing a ghost. This also complicates permissioning — e.g., should an AI be allowed to do everything its user can, or are there separate limits? MCP doesn’t offer answers; it leaves it to developers to implement their own identity and permissions model on top, which many have yet to do. Even on the user-facing side, permission management in MCP is currently a UX minefield. Different AI clients handle it differently, and few do it well. Some implementations (like early Claude Desktop builds) would pop up a permission dialog the first time a tool was used, and then never bother the user again for that tool. That sounds convenient — until you realize a crafty attacker could abuse that trust. If the AI asks for access to, say, your “Documents” folder for a benign reason and you approve, it might never ask again, even if later a malicious prompt tries to use that access for something nasty. In one analysis, researchers warned that an attacker could trick a user into granting a harmless request and then follow up with hidden malicious requests that piggyback on the same permission, “leaving the user oblivious to the attack.” (<a href="https://hiddenlayer.com/innovation-hub/mcp-model-context-pitfalls-in-an-agentic-world/#:~:text=subsequent%20requests%2C%20it%20would%20use,this%20later%20in%20this%20blog">source</a>) This “ask once, use forever” approach is a glaring security risk. On the flip side, some systems that <em>do</em> ask permission every time can lead to “prompt fatigue,” where the user gets so many pop-ups they just mash “Allow All” to get it over with. Neither scenario is great. The need for a balanced, clear permission flow is evident, but MCP’s current spec doesn’t mandate how to handle it — it’s wild west territory for now. Anthropic even acknowledges some actions might be so sensitive that a human should stay in the loop: MCP has a feature where a server can ask the AI to generate a text (a “sampling request”), and Anthropic’s docs suggest such requests should require human approval before the AI proceeds. That hints at the gravity of the trust issues here — even the protocol’s creators are basically saying “um, you might not want to let the AI and tools do <em>everything</em> unchecked.” All told, until MCP matures, developers and users are stuck with a tricky balancing act: how to empower AI with tools without handing it the crown jewels unguarded.</p><h4>Incomplete Standards and Error Handling Gaps</h4><p>Another sore point with MCP is that it still feels half-baked as a standard — there are gaps and rough edges in the spec that cause interoperability and reliability issues. A prominent example is error handling (or the lack thereof). Yes, MCP defines some basic error codes for failed tool calls, but it “does not yet enforce a comprehensive error-handling standard”, nor does it cover important aspects like tool versioning or lifecycle management. This means if something goes wrong in a tool invocation, each MCP server might handle (or report) it differently: one might throw a generic error, another might hang, another might produce a verbose stack trace in the AI’s output. From the AI agent’s perspective, it’s hard to reliably know what happened or how to proceed after a failure. The lack of a defined lifecycle also means there’s no official concept of tool upgrades, deprecations, or governance in MCP. If a tool’s API changes or it needs user re-consent, MCP doesn’t have a built-in way to signal that. Essentially, the protocol covers discovery and invocation of tools, but not much beyond. This incompleteness can lead to inconsistent implementations and brittle integrations. An AI agent using tools from multiple vendors might encounter different conventions or edge-case behaviors for each one, because MCP leaves a lot of behavior unspecified. That’s not a recipe for confidence when you’re building critical workflows on top of this. Until the standard fills in these blanks (or the ecosystem converges on best practices), developers have to anticipate and handle a lot on their own. It’s a bit like the early days of web browsers — write your code to the “standard,” then spend time testing each browser (or in this case, each MCP server) to see how it <em>really</em> behaves. Trust and reliability suffer when everyone’s effectively winging it beyond the happy path.</p><h4>Adoption and Ecosystem Growing Pains</h4><p>MCP might be all the rage on tech Twitter and among AI startups, but let’s inject some reality: the ecosystem is still immature, and that creates practical limitations. Despite the hype and a flurry of GitHub repos, MCP has yet to achieve broad industry support. Many widely used software tools and SaaS platforms <em>still don’t have official MCP servers available</em>. So unless you build it yourself, your AI agent might not be able to talk to, say, your specific CRM or internal knowledge base via MCP at all. Companies like OpenAI, Microsoft, and Google have announced support, and there are dozens of community-made servers for popular apps, but there are thousands of apps out there in the real world. In mid-2025, we’re far from full coverage. This means early adopters often face the grind of writing custom MCP servers or waiting for someone else to do it. It’s the classic chicken-and-egg of a new standard: the protocol is only as useful as the integrations available. Right now, MCP’s utility can be hit-or-miss depending on the tools you care about. On top of that, developer experience with MCP has some rough spots. Documentation for the protocol and its implementations is improving but still lacking in places – you might run into “TBD” sections or sparse examples, given how fast things are moving. The community, while enthusiastic, is relatively small and nascent. There aren’t years of Stack Overflow answers or blog troubleshooting posts to fall back on when you hit a weird bug. This can make building with MCP feel like navigating uncharted territory. It’s exciting but also time-consuming. Engineers used to mature ecosystems (like REST/GraphQL APIs with robust docs, SDKs, and forums) can find the MCP world a bit wild. Moreover, integrating MCP often isn’t just drag-and-drop; it can require significant system changes and a learning curve. You have to think about running these MCP servers (potentially as separate processes or services), securing them, updating your AI agent code to handle streaming responses, etc. It’s a commitment. All these factors mean the barrier to entry for MCP is non-trivial, and some teams might delay adopting it until it stabilizes further. In the meantime, simpler or more established integration methods might win out for pragmatic reasons.</p><h4>Not a Silver Bullet: Overkill and Misconceptions</h4><p>With all the buzz around MCP, it’s easy to get the impression that it’s the ultimate solution for tool integration — the “USB-C for AI”, as Anthropic cheekily nicknamed it. But reality check: MCP is <em>not</em> a cure-all, and in some cases it’s simply not the right tool for the job. In fact, some skeptics argue that MCP is basically reinventing the wheel. They see it as “yet another API description language” dressed up for AI, noting that we already have a slew of standards (like OpenAPI/Swagger) and techniques for integrating software (<a href="https://news.ycombinator.com/item?id=43302297#:~:text=I%20didn%27t%20have%20a%20good,I%20%28lol%20%3BP">source</a>). If an AI agent is truly smart, do we really need to hand-hold it with a special protocol? These critics suggest an advanced LLM could just read traditional API docs or schemas and figure out how to call an API on its own, without this new layer of indirection. From that perspective, MCP might be an over-engineered detour — another abstraction that developers have to learn, while possibly adding latency or complexity compared to direct API calls. This view may be extreme, but it highlights a valid point: if your problem is simple, MCP might be overkill. Even MCP’s proponents admit that for “simple, straightforward projects,” a direct integration or API call could work just fine without introducing the MCP layer (<a href="https://www.thoughtworks.com/insights/blog/generative-ai/model-context-protocol-beneath-hype#:~:text=AI%20development,well%20be%20enough%2C%20for%20instance">source</a>). There’s no need to force every AI use-case into the MCP mold if a basic script or a single SDK will do. Sometimes, good old hardcoding wins for simplicity and reliability. Another common misconception to dispel is the idea that MCP magically handles all your AI’s knowledge and retrieval needs. Yes, MCP can funnel data from various sources to your model, but it is not a replacement for Retrieval-Augmented Generation (RAG) or other information-retrieval strategies. Your LLM still has a finite context window and limited knowledge. If you need to give it access to, say, a huge database or a ton of documents, you’ll still have to implement search, summarization, or vector retrieval outside of MCP. MCP will dutifully deliver the data through a tool, but figuring out <em>which</em> data the model needs at query time — that’s the retrieval problem that MCP doesn’t solve. We’ve already seen that dumping too much info via MCP can overload the model. So, smart retrieval (perhaps using RAG pipelines) works in tandem with MCP; it isn’t rendered obsolete by it. The protocol is just a pipe; you still have to decide what to send through that pipe. Finally, there’s an architectural pitfall lurking in how easy MCP makes it to wire up powerful actions: it tempts developers to offload way too much logic onto the LLM. Since MCP lets an AI perform operations (write files, send emails, etc.) just by “deciding” to call a tool, one could build an app that basically says, “Let the AI figure everything out and do all the work.” That might sound appealing — until the AI does something dumb or dangerous or simply fails in a way a traditional app wouldn’t. Thoughtful voices in the industry warn that while <em>“MCP makes this easy,”</em> treating the AI as a replacement for all your application logic is a damaging anti-pattern. You could end up with an unreliable system that’s hard to debug and maintain, because the real logic is implicit in the AI’s prompts and there’s less deterministic control flow. Also, if your product just becomes a thin wrapper around an LLM orchestrating tools, you might be giving away your “special sauce” — the AI (from Anthropic, OpenAI, etc.) is doing the heavy lifting, not your code, which can erode your ownership of the core value. In short, MCP should be used judiciously; it’s a means to an end, not a blank check to let the AI run wild or to abdicate designing solid software.</p><h4>Future Uncertainty and Lock-In Worries</h4><p>Last but not least, one cannot ignore the uncertainty that comes with a nascent standard like MCP. The AI tools space is moving at breakneck speed, and MCP itself is evolving rapidly. There’s a non-zero chance that the protocol could change so much in upcoming versions that today’s MCP integrations break or become outdated. Even more plausibly, a new competing standard could emerge that gains traction and leaves MCP in the dust. In a fast-paced landscape, betting on the wrong horse is a real concern. Industry observers note that MCP’s evolving nature introduces the risk that previous development could be rendered obsolete, or that an entirely different approach to agent-tool interfacing could overtake it. It wouldn’t be the first time a promising technology got leapfrogged by another. This is not to say MCP is doomed — it has strong momentum right now — but anyone adopting it should keep an eye on the horizon. Flexibility and contingency plans (like modularizing your tool interfaces) could save you a lot of refactoring later if things shift. Another angle to the uncertainty is the question of governance and potential vendor lock-in. MCP came out of Anthropic, and naturally Anthropic’s own Claude model and products were first to embrace it. That led to some early skepticism: <em>Is MCP truly open, or will Anthropic control the roadmap in a self-serving way?</em> Will we see fragmentation if every AI company pushes its own tweak to the protocol? These concerns are valid in any “standard” that starts under a single company’s wing. The good news is Anthropic has taken steps to alleviate the fear of lock-in. They open-sourced the spec and invited other major players to help steer it. By mid-2025, the MCP Steering Committee expanded to include heavyweights like Microsoft (GitHub), OpenAI, and even Google, indicating a more collaborative future. This broader ownership greatly reduces the chance that MCP remains an Anthropic-only affair or that it forks into incompatible versions. In fact, OpenAI and others publicly backing MCP is a strong signal that the industry might converge here. Still, there’s a healthy caution in order: until MCP is fully standardized by an independent body or widely adopted across the board, early adopters carry some risk. If Anthropic’s priorities change or if one of the big contributors has a change of heart, the community could be left holding the bag. For now, though, the trend is positive on governance — it looks like MCP is moving toward a truly open standard rather than a proprietary cul-de-sac. Just go in with your eyes open: in the wild west of AI protocols, today’s gold rush could be tomorrow’s ghost town if you’re not careful. In summary, Anthropic’s Model Context Protocol is a bold and exciting step toward more capable AI agents, but it’s not all sunshine and roses. From technical headaches with stateful connections and context limits, to serious security pitfalls and growing-pains in adoption, MCP has a lot of shortcomings that users must reckon with. It’s a tool with tremendous potential, yet burdened by the baggage of its youth — a double-edged sword that demands both enthusiasm and skepticism. As one might say in IT slang, <em>MCP is awesome, but it ain’t bulletproof</em>. Being aware of these deficiencies is the first step to using the protocol responsibly, or deciding when to hold off until it matures. The MCP train is leaving the station fast, but make sure you know the risks before you jump on board.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2e70bbbca62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get AWS Credentials used by CloudShell]]></title>
            <link>https://mitek99.medium.com/how-to-get-aws-credentials-used-by-cloudshell-eadea5da95bb?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/eadea5da95bb</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security-token]]></category>
            <category><![CDATA[aws-cloudshell]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 11:34:42 GMT</pubDate>
            <atom:updated>2025-06-26T12:25:23.739Z</atom:updated>
            <content:encoded><![CDATA[<pre>curl -H &quot;Authorization: $AWS_CONTAINER_AUTHORIZATION_TOKEN&quot; \<br>&quot;$AWS_CONTAINER_CREDENTIALS_FULL_URI&quot;</pre><p>That’s it. Just run the command above in your CloudShell. It will hit an API and return something like this:</p><pre>{<br>        &quot;Type&quot;: &quot;&quot;,<br>        &quot;AccessKeyId&quot;: &quot;ASIAYredactedBT4OB&quot;,<br>        &quot;SecretAccessKey&quot;: &quot;Xag7IO9redactedUtMAz+GL6S&quot;,<br>        &quot;Token&quot;: &quot;IQoJb3Jredacted/9Pg==&quot;,<br>        &quot;Expiration&quot;: &quot;2025-06-26T11:56:24Z&quot;,<br>        &quot;Code&quot;: &quot;Success&quot;<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eadea5da95bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS SDK v3 + Supabase = fs.readFile is not implemented yet!]]></title>
            <link>https://mitek99.medium.com/aws-sdk-v3-supabase-fs-readfile-is-not-implemented-yet-324e1e057278?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/324e1e057278</guid>
            <category><![CDATA[supabase]]></category>
            <category><![CDATA[deno]]></category>
            <category><![CDATA[aws-sdk-v3]]></category>
            <category><![CDATA[supabase-js]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 08:35:28 GMT</pubDate>
            <atom:updated>2025-06-30T16:10:48.589Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever stumbled upon this error when creating a Supabase Edge Function that is using AWS SDK v3?</p><pre>event loop error: Error: [unenv] fs.readFile is not implemented yet!<br> at n (https://esm.sh/node/chunk-5A4BT3HD.mjs:1:22)<br> at Object.assign.__unenv__ (https://esm.sh/node/chunk-5A4BT3HD.mjs:1:118)<br> at l (https://esm.sh/@smithy/shared-ini-file-loader@4.0.4/es2022/shared-ini-file-loader.mjs:3:2129)<br> at I (https://esm.sh/@smithy/shared-ini-file-loader@4.0.4/es2022/shared-ini-file-loader.mjs:3:2352)<br> at https://esm.sh/@smithy/node-config-provider@4.1.3/es2022/node-config-provider.mjs:3:858<br> at https://esm.sh/@smithy/property-provider@4.0.4/es2022/property-provider.mjs:2:757<br> at async c (https://esm.sh/@smithy/property-provider@4.0.4/es2022/property-provider.mjs:2:910)<br> at async https://esm.sh/@smithy/property-provider@4.0.4/es2022/property-provider.mjs:2:1009<br> at async https://esm.sh/@smithy/util-defaults-mode-node@4.0.19/es2022/util-defaults-mode-node.mjs:3:654<br> at async c (https://esm.sh/@smithy/property-provider@4.0.4/es2022/property-provider.mjs:2:910)</pre><h3>Solution</h3><p>Use <strong>npm</strong> instead of <strong>esm.sh</strong> when importing the SDK:</p><p><strong>Instead of</strong></p><pre>import { EC2Client, DescribeInstancesCommand } from ‘https://esm.sh/@aws-sdk/client-ec2’;</pre><p><strong>Do this:</strong></p><pre>import { EC2Client, DescribeInstancesCommand } from ‘npm:@aws-sdk/client-ec2’;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=324e1e057278" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Mystery of HostBoxUsage: Consuming Your Savings Plan Coverage with 0% Discount]]></title>
            <link>https://mitek99.medium.com/the-mystery-of-hostboxusage-consuming-your-savings-plan-coverage-with-0-discount-7affd78e768b?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7affd78e768b</guid>
            <category><![CDATA[cloud-cost-optimization]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ec2-dedicated-hosts]]></category>
            <category><![CDATA[aws-savings-plan]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 11:55:18 GMT</pubDate>
            <atom:updated>2025-06-09T11:55:18.104Z</atom:updated>
            <content:encoded><![CDATA[<p>In the realm of AWS cost management, <strong>“HostBoxUsage”</strong> is a puzzling line item that can appear when you run Windows instances on <strong>Amazon EC2 Dedicated Hosts</strong>. Many AWS users discover that this <strong>HostBoxUsage</strong> consumes part of their Compute Savings Plans commitment <em>without actually providing any discount</em>. In this article, we’ll demystify what HostBoxUsage means, why it appears on your bill, and how it affects your Savings Plans (SP) coverage. We’ll also point to official AWS documentation and a real-world example for clarity.</p><h3>Windows on Dedicated Hosts: Three Billing Components</h3><p>When you launch a Windows EC2 instance on a Dedicated Host, AWS actually breaks the billing into <strong>three components</strong> in your cost reports. Understanding each component is key to seeing where your Savings Plan is (and isn’t) saving you money:</p><ul><li><strong>Dedicated Host Usage (</strong><strong>HostUsage)</strong> – This is the hourly cost for the physical host itself. AWS charges a fixed hourly rate for the host, <strong>regardless of how many or what size instances you run on it</strong>. For example, an m5 family Dedicated Host might cost about $5.069 per hour on-demand. This host charge <strong>is eligible for Savings Plans discounts</strong>, since it’s essentially the compute cost of the dedicated hardware. If you have a Compute Savings Plan, it will apply to this host usage cost (potentially heavily reducing it, as we’ll see).</li><li><strong>Instance Usage (Instance runtime)</strong> — You will still see usage hours for the individual Windows instance running on the host, but the <strong>instance’s compute usage is billed at $0</strong> in this scenario. All the compute cost is covered by the host charge above. (This is similar to how AWS handles EC2 Mac instances: “the instances are zero cost themselves and you pay for the host”.) Essentially, the instance line item is just a placeholder with no additional charge.</li><li><strong>Windows License Surcharge (</strong><strong>HostBoxUsage)</strong> – This is the <strong>Windows Server licensing fee</strong> for using Amazon’s Windows AMI on a dedicated host. AWS prices this at a flat rate of <strong>$0.046 per hour per vCPU</strong> across all regions. In other words, for each vCPU of Windows running on your host, you incur an extra $0.046/hour. For example, if you run a Windows instance with 2 vCPUs (like an r5.large) on a Dedicated Host, you’ll be billed <strong>$0.092 per hour</strong> for Windows in <strong>addition</strong> to the host’s cost. This Windows fee shows up as a separate usage type – labeled <em>HostBoxUsage</em> – in your billing data. It’s essentially the cost of “Windows on a host.”</li></ul><p>In summary, the Dedicated Host fee covers the hardware (and all the VM’s compute), the instance itself has no direct compute charge, and the Windows license is charged per vCPU via HostBoxUsage. Now, the twist is how Savings Plans treat each of these.</p><h3>Savings Plans: Big Discounts on Hosts, No Discount on HostBoxUsage</h3><p>AWS <strong>Compute Savings Plans</strong> are a great way to get discounts on steady-state compute costs by committing to a certain spend (USD/hour) for 1 or 3 years. They automatically apply to EC2 usage regardless of instance type, region, OS, or tenancy. However, when it comes to Windows on Dedicated Hosts, there’s a catch: <strong>the Savings Plan will not actually discount the Windows license portion</strong> of the cost.</p><p>Here’s how it works in practice, using a real example from AWS and the community:</p><ul><li><strong>Host Cost Discounted:</strong> Your Savings Plan <strong>does</strong> apply to the Dedicated Host’s usage cost. For instance, in a scenario with an m5 Dedicated Host (on-demand $5.069/hour), a Compute Savings Plan might give about a <strong>49% discount on the host</strong> price. This could reduce the host cost to roughly $2.57/hour under the Savings Plan. AWS applies the Savings Plan commitment to cover this host usage first, since it’s eligible for a big discount.</li><li><strong>Windows License Not Discounted:</strong> <strong>The Windows Server surcharge remains at full price</strong> under Savings Plans. AWS does <strong>not</strong> offer any Savings Plan discount on that $0.046/vCPU/hour fee — effectively a <strong>0% discount</strong> on the Windows licensing portion. In our example, a fully populated m5.24xlarge host has 96 vCPUs, which adds about <strong>$4.416/hour</strong> in Windows fees that <strong>stay at the same rate even with a Savings Plan</strong>. This <em>HostBoxUsage</em> cost still counts toward your hourly spend, so it will <strong>consume part of your Savings Plan commitment</strong> in that hour, but you don’t get any cost reduction from it. It’s essentially using up some of your committed spend on a full-price item.</li></ul><p>In other words, your Savings Plan covers the host’s compute charges at a discounted rate, but then the Windows licensing charges eat into the remaining commitment with no savings to show for it. <strong>This is the “mystery” of HostBoxUsage</strong> — it quietly uses up Savings Plan dollars while providing 0% benefit in terms of discount. If you’re not aware of this, you might wonder why your Savings Plan isn’t yielding the expected savings — the Windows fees could be the culprit.</p><h3>Example Impact: Cost with and without SP</h3><p>To make this concrete, let’s compare costs:</p><ul><li><strong>Without Savings Plan:</strong> Our m5 Dedicated Host costs $5.069/hr plus $4.416/hr for Windows (96 vCPUs), totaling about <strong>$9.485 per hour</strong> per host.</li><li><strong>With a Savings Plan:</strong> The host cost might drop ~49% to $2.571/hr, but you still add the $4.416 for Windows, totaling roughly <strong>$6.987 per hour</strong>. You save money overall ($2.50/hr less than on-demand), but notice that the Windows portion ($4.416) did not budge at all — it’s fully paid despite the Savings Plan.</li></ul><p>Over longer periods and multiple hosts, this can be a significant factor. In a daily scenario studied by <strong>Dmitry Degtyarev</strong> (see the Medium article linked), using two Windows Dedicated Hosts during peak hours and one off-peak with a Savings Plan resulted in about <strong>9.7% extra savings</strong> compared to using on-demand instances alone with the same SP commitment. The key was that the Savings Plan was maximized on the discounted host costs during peaks, outweighing the unchanged Windows fees. This demonstrates that you <em>can</em> achieve savings even with the HostBoxUsage overhead — but you need the right workload pattern to take advantage.</p><h3>Key Takeaways and Best Practices</h3><ul><li><strong>Understand HostBoxUsage:</strong> If you see <em>HostBoxUsage</em> in your cost reports, recognize it as the Windows OS licensing charge for instances on Dedicated Hosts. It’s <strong>$0.046 per vCPU-hour</strong> for Windows Server on AWS-provided AMIs, and it will appear whenever you’re not using bring-your-own-license. This fee is separate from the host’s base price.</li><li><strong>Savings Plans Coverage:</strong> Compute Savings Plans <strong>will apply to your Dedicated Host usage first</strong>, heavily reducing the host cost, which is great. However, <strong>they do not reduce the Windows license charges</strong> — those remain at 100% of the on-demand rate. Plan your Savings Plan commitment with this in mind. Some of your committed spend may go toward these undiscounted Windows fees, effectively diluting the overall percentage savings you achieve.</li><li><strong>Consider BYOL for Windows:</strong> If you have existing Windows Server licenses eligible for use on AWS, consider using <strong>Bring Your Own License (BYOL)</strong> on Dedicated Hosts. AWS allows this under certain Microsoft licensing terms, and <strong>there is no additional charge for the Windows software if you bring your own licenses</strong>. This would eliminate the HostBoxUsage cost entirely, so your Savings Plan could purely cover discounted host costs. (Ensure compliance with Microsoft’s rules for BYOL on cloud hardware before opting for this route.)</li><li><strong>Use Case — Spiky Workloads:</strong> The strategy of combining Savings Plans with Windows Dedicated Hosts tends to work best for <strong>spiky or periodic workloads</strong> rather than steady 24/7 usage. During peak times, you can fully utilize your Savings Plan discount on one or more hosts (getting max value from the commitment), and during low-use times you can shut down extra hosts. The example case showed that this approach yielded nearly 10% extra savings for a spiky workload. If your workload is constant 24/7, a Dedicated Host with Windows will still incur the always-on Windows fees, potentially making a standard Reserved Instance or a larger SP commitment for on-demand instances a more straightforward savings approach. Always compare scenarios.</li></ul><p><strong>Conclusion:</strong> AWS Dedicated Hosts can be a cost-effective solution for running Windows workloads, especially when paired with Savings Plans — but the <strong>HostBoxUsage</strong> Windows license fees are a crucial detail to factor in. They will consume Savings Plan capacity while remaining at full price. By understanding this quirk, you can make informed decisions: whether that’s adjusting your Savings Plan size, leveraging your own Windows licenses, or structuring your workloads to get the most out of the discounts that <em>do</em> apply. Always consult official AWS documentation for the latest pricing and policies. Happy optimizing!</p><p><strong>Sources:</strong></p><ul><li>AWS Documentation — <a href="https://aws.amazon.com/ec2/dedicated-hosts/pricing/"><em>EC2 Dedicated Host Pricing (Windows on Dedicated Hosts)</em></a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-billing.html"><em>EC2 User Guide — Dedicated Hosts Pricing &amp; Billing</em></a>, <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/sp-applying.html"><em>AWS Savings Plans User Guide</em></a>.</li><li>D. Degtyarev, <strong>“</strong><a href="https://medium.com/@mitek99/maximizing-aws-compute-savings-plans-with-windows-dedicated-hosts-b2b2824bb62b"><strong>Maximizing AWS Compute Savings Plans with Windows Dedicated Hosts</strong></a><strong>”</strong> (Medium, 2024) — real-world cost analysis and example scenario.</li></ul><p><strong>Promotion:</strong></p><p>What if you could have a Savings Plan that adapts to your exact usage patterns? Imagine starting with a $100/hr commitment, scaling up to $110/hr during business hours, returning to $100/hr at night, and reducing to $80/hr on weekends. And if your overall usage decreases, you could scale it down accordingly. This is precisely what <a href="https://cloudfix.com/rightspend/">CloudFix RightSpend</a> offers.</p><p>The benefits of such flexibility are significant:</p><ol><li>Eliminates the need for complex forecasting or frequent consultations with engineering about usage fluctuations.</li><li>Maximizes discounts on EC2 usage, typically achieving 50% savings or more.</li><li>Removes the risk of unused reservations.</li></ol><p>RightSpend functions as this flexible Savings Plan by leveraging Convertible Reserved Instance (cRI) conversions.</p><p><strong>How it works:</strong> RightSpend adjusts commitment levels hourly in real-time based on the number of currently running EC2 instances. This approach maximizes discounts even for spiky workloads, eliminates forecasting challenges, and mitigates risks of overcommitment.</p><p><strong>Unique in the market:</strong> Unlike other cost optimization tools, RightSpend doesn’t require you to:</p><ul><li>Move accounts in and out of Savings Plans</li><li>Buy or sell Reserved Instances on the marketplace</li><li>Relocate your accounts to a different organization</li></ul><p>The best part? RightSpend provides discounts equivalent to All-Upfront 3-year Compute Savings Plans — without necessitating a large upfront payment. This results in 9% more savings compared to a typical No-Upfront 3-year Compute Savings Plan, effectively offsetting a significant portion of the RightSpend fee.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7affd78e768b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Convertible Reserved Instances: The AWS Discount Tool You Aren’t Supposed to Discover]]></title>
            <link>https://mitek99.medium.com/convertible-reserved-instances-the-aws-discount-tool-you-arent-supposed-to-discover-269db71664ee?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/269db71664ee</guid>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 16:09:07 GMT</pubDate>
            <atom:updated>2025-06-05T16:09:07.304Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>AWS wants you to commit. Deeply, inflexibly, and preferably upfront.</strong> Savings Plans, AWS’s flagship discount vehicle, are deliberately rigid. They offer predictable cost savings but come with hidden liabilities — commitments that tie up your money, limit flexibility, and serve AWS’s balance sheet far better than your own.</p><p><strong>Savings Plans are AWS’s golden cage.</strong> They lock you into rigid hourly spends with limited options to adjust as your workload inevitably changes. That buffer you maintain for unexpected usage swings? It’s effectively AWS’s hidden tax — a quiet admission that you can’t trust your forecasts.</p><p>But there’s an escape hatch AWS doesn’t talk much about: Convertible Reserved Instances (cRIs).</p><h3>The Hidden Cost of “Predictability”</h3><p>Let’s face reality — workloads evolve unpredictably. Migrations, optimizations, seasonal surges: rigid forecasting isn’t just inaccurate; it’s dangerously misleading. The FinOps Foundation reported forecasting variance as high as 70%. That’s not precision; that’s financial roulette.</p><p>Savings Plans seduce organizations with simplicity, yet the simplicity hides the brutal fact of fixed, static commitments.</p><h3>Convertible Reserved Instances: The Strategic Alternative</h3><p>AWS’s Convertible RIs turn that liability into leverage. They’re flexible, adaptable, and economically strategic:</p><ul><li><strong>Scale Down, Not Out</strong>: AWS cleverly hides the fact that cRIs allow you to adjust hourly commitments downward — yes, downward — by merging reservations and extending expiration. This is strategic leverage masked behind AWS’s convoluted exchange mechanics.</li><li><strong>Scale Up with Minimal Commitment</strong>: Why lock in for years when you can scale up using an existing short-term cRI? Simply expand its size while keeping the same brief expiration, maintaining your flexibility without bloating long-term obligations.</li><li><strong>Minimize the Upfront Pain</strong>: A 3-year All-Upfront Savings Plan at $100/hr demands a staggering $2.63 million upfront. Laddered 7-day Convertible RIs with identical savings require just $16,800. That’s a 156x improvement in cash flow flexibility.</li></ul><h3>Laddering: Your Secret Weapon</h3><p>Laddering cRIs — buying small, short-term increments regularly — protects you from future usage drops. You always have a near-expiring reservation. Cash flow remains fluid, available to respond to real-time business opportunities rather than tied to static predictions.</p><h3>Limitations — Transparent and Manageable</h3><p>cRIs aren’t without flaws:</p><ul><li><strong>Regional Lock-In</strong>: Unlike Compute Savings Plans, cRIs are bound to specific AWS regions.</li><li><strong>True-Up Costs</strong>: Exchanges often round up to the nearest instance, slightly increasing costs as the price of flexibility.</li><li><strong>Total Commitment Persistence</strong>: While hourly spend commitments can scale down, the total commitment remains, spread over extended timelines.</li></ul><p>Yet, these limitations pale beside the inflexible prison of Savings Plans.</p><h3>Bottom Line: Flexibility is Power</h3><p>AWS wants predictable revenue at your expense. Convertible Reserved Instances offer something AWS prefers you not fully grasp — real-time financial agility. They dismantle AWS’s hidden taxes and transform rigid commitments into strategic advantage.</p><p>Convertible RIs aren’t just cost optimization — they’re competitive differentiation in a fast-moving cloud market. Break free from AWS’s carefully crafted cage of inflexibility. The choice is yours.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=269db71664ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Region Short Codes Explained: Navigating AWS Regions with Confidence]]></title>
            <link>https://mitek99.medium.com/aws-region-short-codes-explained-navigating-aws-regions-with-confidence-d0b4fcff95c6?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0b4fcff95c6</guid>
            <category><![CDATA[regions]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Thu, 29 May 2025 10:58:39 GMT</pubDate>
            <atom:updated>2025-05-29T11:29:54.159Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with AWS, deciphering region codes like “USE1,” “APN1,” or “EUW2” can be challenging. This guide aims to demystify AWS region short codes, helping you navigate AWS’s global infrastructure with ease.</p><h3>What Are AWS Region Short Codes?</h3><p>AWS region short codes are compact identifiers representing specific AWS data center regions globally. They’re widely used in infrastructure-as-code (IaC) tools, AWS SDKs, CLI commands, and resource management scripts.</p><h3>Why a mapping table is required?</h3><p>Unfortunately, AWS naming turned into a mix of geopolitical fuzziness and non-linear numbering:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YyJ_laH4g_BpFBGH5NEHuA.png" /><figcaption>AWS Illogical Region Code Mapping</figcaption></figure><h3>Decoding AWS Region Short Codes</h3><p>Below is a mapping of common AWS short codes to their corresponding regions:</p><p><strong>North America:</strong></p><ul><li>USE1: us-east-1 (N. Virginia)</li><li>USE2: us-east-2 (Ohio)</li><li>USW1: us-west-1 (N. California)</li><li>USW2: us-west-2 (Oregon)</li><li>CAN1: ca-central-1 (Canada Central)</li><li>CAN2: ca-west-1 (Canada West)</li><li>MXC1: mx-central-1 (Mexico)</li></ul><p><strong>Europe:</strong></p><ul><li>EU: eu-west-1 (Ireland)</li><li>EUC1: eu-central-1 (Frankfurt)</li><li>EUC2: eu-central-2 (Zurich)</li><li>EUW2: eu-west-2 (London)</li><li>EUW3: eu-west-3 (Paris)</li><li>EUN1: eu-north-1 (Stockholm)</li><li>EUS1: eu-south-1 (Milan)</li><li>EUS2: eu-south-2 (Spain)</li><li>ILC1: il-central-1 (Tel Aviv)</li></ul><p><strong>Asia-Pacific:</strong></p><ul><li>APN1: ap-northeast-1 (Tokyo)</li><li>APN2: ap-northeast-2 (Seoul)</li><li>APN3: ap-northeast-3 (Osaka)</li><li>APE1: ap-east-1 (Hong Kong)</li><li>APS1: ap-southeast-1 (Singapore)</li><li>APS2: ap-southeast-2 (Sydney)</li><li>APS3: ap-south-1 (Mumbai)</li><li>APS4: ap-southeast-3 (Jakarta)</li><li>APS5: ap-southeast-4 (Hyderabad)</li><li>APS6: ap-southeast-5 (Melbourne)</li><li>APS7: ap-southeast-6 (Malaysia)</li><li>APS9: ap-southeast-7 (Thailand)</li><li>CNN1: cn-north-1 (Beijing)</li><li>CNW1: cn-northwest-1 (Ningxia)</li></ul><p><strong>Middle East and Africa:</strong></p><ul><li>AFS1: af-south-1 (Cape Town)</li><li>MEC1: me-central-1 (UAE)</li><li>MES1: me-south-1 (Bahrain)</li></ul><p><strong>South America:</strong></p><ul><li>SAE1: sa-east-1 (São Paulo)</li></ul><p><strong>AWS GovCloud (US Government):</strong></p><ul><li>UGW1: us-gov-west-1</li><li>UGE1: us-gov-east-1</li></ul><p>Note: An empty string as a region code defaults to us-east-1.</p><h3>Python Dictionary to Translate Short Codes</h3><pre>REGION_SHORT_CODES_TO_FULL = {<br>    &quot;APE1&quot;: &quot;ap-east-1&quot;,<br>    &quot;APN1&quot;: &quot;ap-northeast-1&quot;,<br>    &quot;APN2&quot;: &quot;ap-northeast-2&quot;,<br>    &quot;APN3&quot;: &quot;ap-northeast-3&quot;,<br>    &quot;APS1&quot;: &quot;ap-southeast-1&quot;,<br>    &quot;APS2&quot;: &quot;ap-southeast-2&quot;,<br>    &quot;APS3&quot;: &quot;ap-south-1&quot;,<br>    &quot;APS4&quot;: &quot;ap-southeast-3&quot;,<br>    &quot;APS5&quot;: &quot;ap-southeast-4&quot;,<br>    &quot;APS6&quot;: &quot;ap-southeast-5&quot;,<br>    &quot;APS7&quot;: &quot;ap-southeast-6&quot;,<br>    &quot;APS9&quot;: &quot;ap-southeast-7&quot;,<br>    &quot;CAN1&quot;: &quot;ca-central-1&quot;,<br>    &quot;CAN2&quot;: &quot;ca-west-1&quot;,<br>    &quot;CNN1&quot;: &quot;cn-north-1&quot;,<br>    &quot;CNW1&quot;: &quot;cn-northwest-1&quot;,<br>    &quot;AFS1&quot;: &quot;af-south-1&quot;,<br>    &quot;EUC2&quot;: &quot;eu-central-2&quot;,<br>    &quot;EUN1&quot;: &quot;eu-north-1&quot;,<br>    &quot;EUS2&quot;: &quot;eu-south-2&quot;,<br>    &quot;EUC1&quot;: &quot;eu-central-1&quot;,<br>    &quot;EU&quot;: &quot;eu-west-1&quot;,<br>    &quot;EUS1&quot;: &quot;eu-south-1&quot;,<br>    &quot;EUW2&quot;: &quot;eu-west-2&quot;,<br>    &quot;EUW3&quot;: &quot;eu-west-3&quot;,<br>    &quot;ILC1&quot;: &quot;il-central-1&quot;,<br>    &quot;MEC1&quot;: &quot;me-central-1&quot;,<br>    &quot;MES1&quot;: &quot;me-south-1&quot;,<br>    &quot;MXC1&quot;: &quot;mx-central-1&quot;,<br>    &quot;SAE1&quot;: &quot;sa-east-1&quot;,<br>    &quot;UGW1&quot;: &quot;us-gov-west-1&quot;,<br>    &quot;UGE1&quot;: &quot;us-gov-east-1&quot;,<br>    &quot;USE1&quot;: &quot;us-east-1&quot;,<br>    &quot;USE2&quot;: &quot;us-east-2&quot;,<br>    &quot;USW1&quot;: &quot;us-west-1&quot;,<br>    &quot;USW2&quot;: &quot;us-west-2&quot;,<br>    &quot;&quot;: &quot;us-east-1&quot;<br>}</pre><h3>Understanding AWS Billing and Usage Reports</h3><p>AWS billing and usage reports, especially for services like Amazon S3, use these region codes to indicate where usage occurred. For example, in usage types, placeholders like region, region1, and region2 are replaced with these abbreviations.</p><p>For instance:</p><pre>region1-region2-AWS-In-ABytes</pre><p>This indicates the amount of accelerated data transferred to region1 from region2.</p><p>Understanding these codes is crucial for interpreting your AWS billing and usage reports accurately.</p><h3>Final Thoughts</h3><p>Grasping AWS region short codes enhances your ability to manage resources efficiently, interpret billing reports accurately, and deploy applications effectively across AWS’s global infrastructure.</p><p>For more detailed information on AWS region codes and their usage in billing reports, refer to the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/aws-usage-report-understand.html">AWS documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0b4fcff95c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Blind Trust to Verified Roles: A Plug-and-Play AWS API Firewall for Vendor Code]]></title>
            <link>https://systemweakness.com/from-blind-trust-to-verified-roles-a-plug-and-play-aws-api-firewall-for-vendor-code-9c7797f2b99e?source=rss-672c6989abd6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c7797f2b99e</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[mitm]]></category>
            <category><![CDATA[go-proxy]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Dmitry Degtyarev]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 06:21:42 GMT</pubDate>
            <atom:updated>2025-04-24T10:55:36.193Z</atom:updated>
            <content:encoded><![CDATA[<p>Still reading? You’ve probably been there:</p><ul><li>Shipped a vendor Lambda layer zipped and unreadable, stuffed with obfuscated code.</li><li>Checked VPC flow logs and realized you can’t trace the AWS identity behind requests.</li><li>Wondered if a “harmless” support plugin was quietly dumping your data to someone else’s S3.</li></ul><p>If that sounds familiar, you’re already living in the blind spot:</p><h4><strong>The Gap AWS Won’t Close for You</strong></h4><ul><li>Security Groups and NACLs stop IPs and ports.</li><li>Code reviews work — if you can read the code.</li><li>IAM helps, but third-party code can still use <strong>other</strong> roles to leak data.</li></ul><p>Point is: once something inside your VPC reaches AWS endpoints, it can exfiltrate data anywhere. You won’t know till you’re breached.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_x3fmwIQPfq1Tr5A8NzEoA.png" /></figure><h3>Data exfil to external S3? Blocked.</h3><p>Meet aws-proxy, a drop-in MITM proxy that intercepts <strong>all</strong> AWS API traffic.</p><h4><strong>Features:</strong></h4><ul><li>Full TLS Intercept</li><li>AWS Account allowlist</li><li>Zero vendor config</li><li>Detailed audit logs</li><li>Response cache built-in</li></ul><blockquote><strong>Net Effect:</strong><br>Everything flows through one inspectable choke point. It’s the kind of control that IAM and firewalls <em>wish</em> they gave you.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L1RHAnYlzKFtDGgKIi7w-Q.png" /></figure><h4><strong>Why Infra Engineers Like It:</strong></h4><ul><li>Adds depth to IAM and network controls</li><li>Language doesn’t matter: works with Python, Java, Node, curl</li><li>OSS: audit it, fork it, tweak it<br> → <a href="https://github.com/ai-1st/aws-proxy">github.com/ai-1st/aws-proxy</a></li></ul><h4><strong>Your Turn</strong></h4><p>Next time legal asks if vendor X touched customer data, you’ll have logs to back it.</p><p>Try <a href="https://github.com/ai-1st/aws-proxy">aws-proxy</a>, star it if it saves your skin, and toss your worst edge case in the issues tab.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c7797f2b99e" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/from-blind-trust-to-verified-roles-a-plug-and-play-aws-api-firewall-for-vendor-code-9c7797f2b99e">From Blind Trust to Verified Roles: A Plug-and-Play AWS API Firewall for Vendor Code</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>