Migrations Migrating from Heroku, Render, Hatchbox or Cloud 66? We move your production app within 48 hours →
Vendor lock-in: what it actually costs when you want to leave a PaaS ← Blog Cloud cost teardowns • 7 min read

Vendor lock-in: what it actually costs when you want to leave a PaaS

Almokhtar Bekkour

Almokhtar Bekkour, Founder, Systems Architect

February 28, 2027 · 7 min read

“Vendor lock-in” gets invoked constantly as an abstract risk, which makes it easy to wave off — of course nobody wants to be locked in, and also, probably it won’t matter until it does. The more useful version of this conversation has actual numbers in it: what a provider can legally charge you to take your own data out, what happens when a provider decides a free or supported plan is simply over, and what lawmakers — not vendors — have had to do about the first problem because the market wasn’t solving it on its own. All three have real, documented answers.

The fee that makes leaving expensive: egress pricing

The single most concrete mechanism behind cloud lock-in is data egress pricing — what a provider charges to move data out to the internet, as opposed to storing it or bringing data in, which is typically free or near-free. Amazon’s own EC2 pricing page states the policy directly: AWS customers receive “100 GB of free data transfer out to the internet free each month, aggregated across all AWS Services and Regions,” after which standard rates apply — $0.09 per GB in US and European regions, per AWS’s own published pricing. That rate is asymmetric by design: moving data into AWS costs nothing; moving a large dataset back out, to migrate to a different provider or just to make a local copy, costs real money, scaling linearly with exactly the volume of data a serious migration needs to move.

Cloudflare made this exact mechanism the center of its own R2 object storage launch in September 2021, and its own announcement is unusually blunt about why: egress fees are, in Cloudflare’s own words, “massive egress fees that don’t correspond to any customer value — just a tax developers have grown accustomed to paying,” and “egress bandwidth is often the largest charge for developers utilizing object storage and is also the hardest charge to predict.” Cloudflare’s response was to launch R2 with zero-cost egress entirely, at $0.015 per GB for storage — a direct, structural bet that eliminating the fee that discourages migration would be commercially valuable precisely because customers at other providers were avoiding exactly that fee by not moving data at all. A company doesn’t build its entire storage pricing model around undercutting a specific charge unless that charge is doing real, verifiable work keeping customers in place.

The practical arithmetic: a team with, say, 2 TB of accumulated object storage looking to migrate off a standard-egress provider is looking at roughly $180 in pure egress charges for that one transfer, on top of whatever engineering time the migration itself costs — not a business-ending number for most companies, but a real, deliberate toll that scales with exactly how much of your own data you’ve accumulated on the platform, which is itself a function of how long and how successfully you’ve used it. The fee grows precisely as switching becomes more disruptive to delay.

When the choice gets made for you: Heroku’s free-tier shutdown

Egress fees are a cost you choose to pay when you decide to leave. A sharper version of lock-in risk is not getting to choose the timing at all. Heroku’s own blog post, “Heroku’s Next Chapter,” announced in 2022 that the company was “phasing out our free plan for Heroku Dynos, free plan for Heroku Postgres, and free plan for Heroku Data for Redis®, as well as deleting inactive accounts.” The dates, per Heroku’s own announcement: deletion of accounts inactive over a year began October 26, 2022, and the free dyno, Postgres, and Redis plans themselves were discontinued on November 28, 2022.

Every application and side project sitting on Heroku’s free tier at that point had a fixed window to either start paying — Heroku’s own post names starting prices of $7/month for Dynos, $9/month for Postgres, and $15/month for Data for Redis — or migrate off entirely, on a timeline the company chose, not the customer. This wasn’t a security incident or a company failure; it was a healthy, ongoing company making a unilateral business decision that every free-tier customer had to react to, on short notice, with real engineering hours spent either paying up or packing up. That’s the least dramatic, most common form lock-in risk actually takes: not a dramatic shutdown, just a plan that stops existing on a date you didn’t pick.

The law written specifically because the market didn’t fix this

The clearest evidence that vendor lock-in through egress fees and switching friction is a real, structural problem — not a hypothetical one — is that the European Union passed binding legislation specifically to dismantle it. The EU’s Data Act, which the European Commission’s own policy page confirms became applicable on September 12, 2025, imposes direct obligations on providers of data-processing services: per the Commission’s own explainer, providers must make “open interfaces available” and export customer data in a “commonly used and machine-readable format,” and must remove “obstacles” that prevent a customer from switching providers or running multiple providers at once.

The Data Act’s phase-in on the fee question specifically is a matter of public record with exact dates. From its entry into force on January 11, 2024 through January 12, 2027, providers may still charge switching-related costs, including data egress charges, during what the law designates a transitional period. From January 13, 2027 onward, the law requires providers to “entirely remove switching charges, including charges for data egress” — a complete, permanent ban on charging customers to leave, not a cap or a discount. Lawmakers don’t write a three-year phased elimination of a specific fee because the fee is imaginary; they write it because the fee was large enough, and common enough, to be worth a multi-year legislative transition plan to unwind.

What actually determines how locked in you are

Put together, these three data points describe the real shape of the risk, which is narrower and more specific than “lock-in is bad”: it’s that the cost of leaving a platform is a function of how much of your data that platform holds, in what format, and whether leaving is a cost the platform can charge you for. Egress pricing is the direct, line-item version of that cost. A unilateral plan change, like Heroku’s free-tier shutdown, is the indirect version — the cost isn’t a fee, it’s the engineering time spent migrating on someone else’s deadline. The EU Data Act is a direct acknowledgment, in binding law, that the first mechanism was a market failure serious enough to require regulatory intervention rather than competitive pressure alone fixing it.

None of this is specific to any one villain. AWS, Heroku, and every object-storage and PaaS provider operating this way are running an entirely standard, legal, widely-used business model — egress pricing is not unique to any single company, and a free-tier shutdown is not evidence of bad faith. The point isn’t that any specific company did something wrong; it’s that the economics of most hosted platforms are structured so that staying gets cheaper (relative to leaving) the longer you stay, which is a very different thing from staying being cheap in absolute terms, or leaving being free.

What this means for you

  • Estimate your own egress bill before you need to leave, not after — at $0.09/GB on AWS past the 100GB free tier, a few terabytes of accumulated data is a real, calculable number, and it’s worth knowing before a migration becomes urgent rather than optional.
  • Read what format your data actually comes out in — the EU Data Act’s own standard is “commonly used and machine-readable,” which is a real bar some exports clear and some do not; a proprietary export format is its own, quieter form of lock-in even when there’s no egress fee attached to it.
  • Assume any free or deeply-discounted tier has a horizon you don’t control — Heroku’s free-tier customers had a fixed, company-set deadline with no negotiation; budget migration time as a standing possibility, not a contingency.
  • If you’re in the EU, the Data Act’s protections tighten specifically on January 13, 2027 — a provider operating under EU jurisdiction after that date cannot legally charge you to leave; that’s a concrete date worth knowing if switching costs are part of your own platform risk assessment.

FAQ

What is a data egress fee? A per-gigabyte charge some cloud and storage providers apply to data leaving their network to the internet, as distinct from storing data or bringing it in, which is typically free. AWS’s own pricing is $0.09/GB after a 100GB/month free allowance.

When did Heroku end its free tier, and what did it cost to stay? Per Heroku’s own announcement, free Dynos, Postgres, and Data for Redis plans were discontinued on November 28, 2022, with paid alternatives starting at $7, $9, and $15 per month respectively.

Does the EU Data Act ban egress fees entirely? Not immediately. Providers may still charge switching and egress costs during a transitional period from January 11, 2024 to January 12, 2027. From January 13, 2027, the Data Act requires those charges be entirely removed, per the European Commission’s own explainer.

Is vendor lock-in only about fees? No — the Heroku free-tier shutdown shows the other half: losing access to a plan or service on a provider’s timeline, regardless of any fee, is its own form of lock-in cost, measured in migration time rather than dollars.

Sources

See what owning the server itself changes about this calculus: Railyard’s docs.

A server you can take with you.

See why owning the server removes the biggest lock-in mechanism.

14-day trial on every plan. One flat price per team, your servers at your provider's price.

Theme
Colors