Leaving a PaaS is rarely just a hosting change. It means untangling code, data, working habits, and contracts at the same time. How hard that becomes depends less on how long the application has existed than on how deeply those four dependencies have spread. A portable application is only a start toward a low-cost exit.
Why leaving a PaaS is four separate problems, not one
The data can be exported, but the application cannot use it elsewhere without changes. Or the application runs on the new platform, but the team is not ready to operate it. Leaving costs more than the first estimate suggested. That estimate covered only part of the job.
Technical, data, operational, and contractual lock-in are separate problems, and each can block an exit on its own. Technical lock-in lives in the code and service interfaces. Data lock-in comes from the formats records use and the work it takes to move them while keeping services live. Operational lock-in comes from the team's skills and workflows, while contractual lock-in comes from the commitments it has made and the exit terms it has agreed to. Asking only whether data can be exported leaves most of that picture out.
These dependencies build gradually, through choices that initially save time. What saves time becomes something the team depends on, which makes changes harder when requirements change. A proprietary managed database shows how quickly the types overlap. Its API shapes how the application works, its format shapes how the data is stored, and its tools shape how the team works. One service can deepen several dependencies before anyone considers leaving.
Technical lock-in: when the platform is baked into the code
Technical lock-in is especially dangerous because it reaches into the application itself. Technical lock-in depends on which APIs the code calls. Software written against proprietary runtimes, SDKs, or managed-service APIs needs rewriting before it can run elsewhere. The platform has become part of the application's design.
Serverless functions make that dependency easy to see. A function may contain business logic that could run anywhere, yet depend on a provider-specific event trigger that cannot. The trigger needs replacing, even if the business logic does not. Platform-specific triggers, proprietary serverless functions, and vendor-managed API gateways are common sources of this problem.
In one migration described in the notes, the API gateway configuration could not be exported, the serverless triggers required complete rewriting, and the managed database had no direct equivalent at the destination. The original estimate was six months. The migration took over two years at three times the original budget. Those were not three unrelated delays, because the application depended on all three services working together.
Containers do not dissolve that dependency. A container image may be portable while the queues, authentication layer, and database API it calls remain tied to the provider. That is the gap in the familiar Docker argument. Technical lock-in follows the number of proprietary services the application touches in production. Packaging the code solves one transport problem within an architecture that still needs addressing.
Data lock-in: the asset that is hardest to move and easiest to underestimate
Even after the application runs elsewhere, moving its data can remain the slower job. Compute can be redeployed in hours, but moving data at scale while keeping services live is a different task. An export alone is not a finished migration. The destination must be able to use what arrives, and a proprietary data model can make that much harder than the transfer itself.
Moving PostgreSQL between providers is a well-understood problem with mature tooling. Moving a proprietary NoSQL store may also require changes to schemas and client software. In that case, data migration reaches back into application development. Successfully porting the runtime does not finish the data work.
The inventory can be larger than the production database suggests. Test environments, temporary backups, and duplicate storage accumulate without staying visible in migration plans. These assets need accounting for too. Otherwise, the estimate covers only the data the team remembers. Egress fees add a separate cost, but that pricing barrier is distinct from the work of finding, converting, and moving data.
For future-proofing, open formats reduce dependence on a particular query engine. Apache Iceberg and Delta Lake on top of Parquet add ACID semantics and schema evolution without tying analytics data to one engine. That provides a way to judge whether today's storage choice leaves room for a later change. Removing a transfer fee cannot provide that freedom if the format and integrations remain proprietary.
Operational lock-in: the human cost that never appears in migration estimates
Once the code and data have moved, the people still have to run the system. Operational lock-in makes that transition longer than a deployment checklist suggests. The team's knowledge is partly knowledge of the old platform. It includes why configurations are there, which failures need a closer look, and how the team dealt with past incidents. New tooling does not automatically preserve that understanding.
Over time, runbooks, alerts, and on-call playbooks encode more platform-specific assumptions. That makes the old environment easier to operate and the new one harder to learn. The same familiarity that saves time today creates retraining work later. Rebuilding those practices is a required part of migration execution. Yet it tends to enter planning late, after the technical tasks have taken most of the budget.
The reverse migration shows why staying also has a cost. A team moving away from a hyperscaler saw engineering time spent on pipeline maintenance, log investigation, IAM permissions, and ad-hoc incidents fall sharply. Its application had relatively few proprietary dependencies. That condition is important, because a deeply entangled team faces retraining whichever direction it moves.
Healthcare products add a distinct compliance workload to that transition. For a migration, the team must re-certify the destination platform, negotiate new Business Associate Agreements, and re-map controls. Before ePHI is transferred, the team must check the security practices, incident-notification terms, and data locations of every subcontractor and migration partner in the data path. Technical readiness is not enough on its own.
Contractual lock-in: the layer teams have the most leverage over before they sign
Contractual lock-in is the dimension a team can largely address before writing code. Multi-year reserved-instance pricing and enterprise discounts make it easy to miss that chance. The savings are real while the arrangement fits. When leaving means losing those discounts, however, a cost-saving decision becomes an exit constraint.
The AT&T/VMware dispute after the Broadcom acquisition shows how severe that constraint can become. AT&T faced a proposed price increase of 1,050 percent and estimated migration costs in the tens of millions of dollars, with a multi-year timeline. Leaving was not a quick negotiating option. Without a pre-negotiated exit path, the pricing dispute became a long operational constraint. A credible alternative depends on more than identifying another supplier.
For a team negotiating a PaaS agreement, three exit terms deserve attention before signing. They are data egress fees waived when the contract ends, standard formats named in the contract for data export, and reasonable dates for the contract to end without auto-renewal traps. These terms address distinct obstacles. A fee waiver does not ensure that the team can use the export, and an export it can use does not end its spending commitment. Each needs its own place in the agreement.
Ofcom's survey found that roughly half of respondents cited a lack of interoperability between IaaS and PaaS services as a key concern. That concern has a contractual side because interoperability commitments are enforceable only if they appear in the agreement. Regulation will remove one barrier, but not every barrier. The European Commission's Data Act explainer states that switching charges, including data egress charges, will be entirely removed from 12 January 2027. Proprietary formats and integration dependencies still require technical work.
How the four dimensions compound: why the total exit cost surprises almost every team
A proprietary managed database can bind all four dimensions together. The application uses its API, the records use its data model, the team knows its tools, and a reserved-instance discount ties what the team spends to it. Replacing that database is therefore not one task. It changes what developers must rewrite, what data must be transformed, what operators must learn, and what the business must pay.
A new data model can require application changes, while those changes give operators new behavior to understand. Contract terms can make the necessary period of parallel operation more expensive. In general, the schedule depends on how the work connects. An estimate for code conversion alone cannot capture the disruption of operating both environments during the transition.
This is why counting proprietary services is more useful than treating each as a fixed migration charge. A team using five proprietary services for three years does not necessarily face five times the work of a team using one. It may face far more. Each service can deepen dependencies across the same application and operating practices. The cost grows with the connections as well as the components.
For a startup, designing an elaborate exit program may sound like work that can wait. The practical response is narrower than that. Most of the recommended ways to guard against lock-in are choices about how to build the system, including open data formats, thin wrappers around proprietary serverless calls, and the three specific contract terms. None requires a dedicated platform engineering team. Their purpose is to keep a convenient service from becoming inseparable from the rest of the system.
What a low-lock-in PaaS architecture looks like in practice
For teams choosing those protections, the goal is manageable dependency. A low-lock-in architecture keeps individual dimensions addressable in weeks rather than months and prevents one proprietary service from spreading through the full stack. That remains a design target. Even a relatively portable application can contain dependencies that become visible only during an exit.
At the technical layer, the recommended building blocks are OCI containers, standard open-source databases such as PostgreSQL and Redis, REST or GraphQL APIs, and S3-compatible object storage. Proprietary serverless functions should be thin wrappers around portable business logic. The boundary does the useful work here. It limits how much of the application depends directly on the provider-specific function rather than pretending that the dependency has disappeared.
At the data layer, regular exports in open formats should sit outside the provider. For analytics workloads, Apache Iceberg or Delta Lake on Parquet can keep the data independent of a specific query engine. Operational preparation needs a similar separation. Runbooks should describe the work in platform-agnostic terms, and at least one team member should have operated the destination environment before an exit becomes necessary. Teams that must meet compliance rules should keep BAAs and SOC 2 Type II documentation for that destination up to date so re-certification does not block the move.
Those preparations need matching contractual terms. Egress waivers on termination, open export formats written into the agreement, and an explicit exit window for auto-renewing multi-year commitments protect different parts of the route out. Account ownership offers another useful boundary. Deploying into a customer's own AWS, GCP, or Azure account can keep data under that customer's control while a management layer handles orchestration without proprietary application APIs. The platform can still handle cluster upgrades, CVE patches, and autoscaling without tying ownership of the underlying account to that platform.
That model still depends on the application choices above it. The team that moved away from a hyperscaler had relatively few proprietary dependencies, yet its Lambda functions still needed refactoring into services, adding complexity that had not been fully anticipated. The useful test is therefore not whether a platform promises an easy exit, but whether code, data, operating knowledge, and contract terms each leave a workable route to one.