Moving off a PaaS in production can take a weekend or demand a near-rewrite. The difference is not how long the application has been there. It is how deeply the code depends on services only that platform provides.
Why the question "how hard is a PaaS migration?" has no single answer
The application is in production, and something has changed. The bill has grown, a customer has new compliance requirements, or the platform no longer fits the workload. Moving could address the change, but the team needs to know whether it is feasible before committing. Assessing feasibility starts with identifying what must change to run elsewhere.
Two variables shape that answer. The first is how proprietary the application’s building blocks are and how deeply they reach into its logic. The second is how much time the team has to prepare before it needs to leave. Years on a platform do not automatically create deep lock-in, but repeated convenience-driven choices can. A team can keep using portable components for years, while another quickly embeds platform-native services throughout its application.
What actually creates hard lock-in: the primitive spectrum from portable to proprietary
A primitive is a building block the application relies on, such as compute, storage, or caching. Some are easy to replace with the same thing elsewhere. Others are not. Stateless services packaged in standard containers and configured through environment variables sit near the portable end because moving them usually requires minimal changes. CI/CD pipelines defined as code in a standard format also leave less hidden in a platform’s interface.
Standard relational databases are near that portable end too. PostgreSQL and MySQL accessed over their native wire protocols use an established way for applications to talk to the database. Moving between RDS, Cloud SQL, Azure Database for PostgreSQL, or self-managed instances is a well-understood problem with mature tooling. The team is solving a known migration problem that can still require effort while preserving the database’s basic contract with the application.
Think of the same application built in two ways. One version uses standard containers and PostgreSQL over its native protocol. Another embeds a proprietary edge cache directly into its application logic. The first needs a new home for familiar components, while the second needs replacement behavior and changes to the code that depends on it. Both versions might look the same to their users.
Platform-specific services sit at the harder end of this spectrum. Vercel ISR, Vercel Global Config (formerly Edge Config), Cloudflare Durable Objects, and Workers KV have no portable equivalent and require rewriting dependent code to replace them. Provider-specific APIs and custom configurations cause the same problem when they are built into business logic. Those choices may have delivered real development speed. Migration exposes the deferred cost of that speed.
Why databases concentrate almost all the genuine migration complexity
Stateless compute is usually the straightforward part of leaving. State is where the work concentrates because the application’s data must remain intact while its home changes. A container can be portable without making the whole system easy to move. If the database is hard to extract or replace, moving the compute does not remove the main obstacle.
Diagnosing the migration requires checking whether the database uses a standard engine over its native protocol or depends on a proprietary managed service. PostgreSQL-to-PostgreSQL moves across providers share the same wire protocol and have mature tooling. A proprietary store such as DynamoDB presents a different problem. Moving off it requires format conversion before replication can begin, so the team must assess more than the destination’s ability to hold the data.
A near-zero-downtime move generally involves provisioning the target, setting up replication, and keeping both instances in sync while validating data integrity. Cutover follows, using a brief maintenance window or a logical-replication approach intended to avoid downtime. The old instance stays in place until the validation period is over. These are not interchangeable tasks that disappear because both ends run PostgreSQL.
With a standard engine, the team knows how the migration works, but it still needs to protect data and manage the cutover. A proprietary interface adds conversion or replacement work to that process. For an assessment, the useful result is knowing which kind of problem exists before drafting a detailed migration procedure.
Three production triggers that force migrations before teams are ready
Cost laddering is one common forcing function. PaaS charges can accumulate per service rather than per unit of compute, so the bill may grow faster than the underlying workload. By contrast, adding nodes can produce a roughly linear cost increase. The team may face that pressure before it has a plan to leave. At that point, the team’s ability to respond depends on whether it can relocate components or must first untangle application code.
Compliance and data residency can set a different deadline. Taking on customers in healthcare or finance, or EU-domiciled customers, can bring requirements that a shared-tenant PaaS cannot meet. This is not simply a preference for more control. A platform may lack the access-log detail or residency controls a particular obligation requires, making the existing arrangement untenable regardless of whether the application otherwise runs well.
Vendor decisions can force a move too. Fly.io’s GPU Machines shutdown makes July 31, 2026 the last day the machines will run, and they will be unavailable from August 1, 2026. That creates a fixed endpoint for affected AI/ML compute workloads. Teams facing such a change must assess where their current platform is genuinely necessary and where it has become the default. The platform decision makes that assessment unavoidable.
These triggers differ, but each compresses the time available. Rising costs can make it expensive to wait through a long rewrite, while compliance or a service shutdown can set a firmer deadline. PaaS can still be the right choice despite these triggers. They show why teams with shallow dependencies can respond in days, while those with deep dependencies need months of work they had not planned.
How to honestly assess where your application actually sits on the lock-in spectrum
For a team assessing its own system, the practical next step is a focused review of four questions, in sequence. Start with the compute boundary. Are services packaged as standard containers and configured through environment variables, or do they require platform-specific build systems, runtime extensions, or edge execution models? The former points to portable compute. The latter shows what needs to change before the service can run elsewhere, even if its main language runs on many platforms.
Next, find out which database engine and protocol the application uses. The product label alone is not enough. Standard PostgreSQL or MySQL over its native protocol is a portable choice wherever it runs. A managed service that wraps a standard engine but exposes only a proprietary API is not equivalent.
Then search the codebase for direct SDK calls to platform-specific storage, caching, edge, and queue services. Each call marks a migration work item. Keeping calls behind an interface layer isolates the dependency, so the application-facing interface can stay the same when the service behind it changes. When calls are spread through business logic, that logic needs to change.
Finally, find out what the team must do to meet its compliance obligations. If HIPAA, SOC 2, or GDPR data residency requirements are involved, the question extends beyond whether migration is technically possible. Does the current platform provide the controls the team needs? A gap in access logs or residency controls can make present compliance the immediate issue. This review should leave the team with named portable components, named replacement work, and any deadline that changes the order of priorities.
What the landing zone looks like and why managed Kubernetes is not automatically the right answer
Portable containers make managed Kubernetes a plausible destination. EKS, GKE, and AKS remove the control-plane burden while preserving flexibility over the underlying compute. A team already running containerized services is close to that deployment model. The attraction is clear enough. Assessing whether operating the resulting platform costs less than the problem the team is leaving is harder.
AI tooling has lowered the operational burden enough for a small engineering team with good tools to operate a production cluster that previously would have needed a larger dedicated platform team. That changes the calculation, but does not eliminate it. Production Kubernetes platforms have long needed several engineers who work on them full time. Their labor cost can exceed the savings from leaving a PaaS, particularly below the scale that justifies a dedicated platform function.
Convox frames the DIY Kubernetes tradeoff as control in exchange for rebuilding the PaaS experience. That work includes cluster management, CI/CD, observability, secrets management, autoscaling, and service mesh. Replicating the full experience can become a months-long project before an application deploys. Managed Kubernetes is therefore not the same as managed application operations.
A sovereign PaaS offers another landing zone. It runs entirely within the customer’s own AWS, GCP, or Azure account while retaining the developer experience of a traditional PaaS. Convox describes this model as providing the customer’s own VPC, an RDS instance with customer-controlled encryption keys, complete audit trails, and cost transparency. The platform takes care of cluster management, CI/CD, and autoscaling. This separates the need for infrastructure ownership from the decision to build an internal platform.
For a team choosing a destination, the lesson is to count operating work as well as migration work. A technically straightforward move can still create an expensive permanent responsibility. Paying for a platform can still make sense when it takes work off the team’s hands that the team does not want to do. The new home should solve the problem that prompted the move, without tying more control over infrastructure to taking on every task needed to run it.
Provisions worth negotiating before the migration becomes urgent
Teams that are not yet under pressure have leverage at initial signing or contract renewal. Teams should negotiate two provisions then, starting with a data export SLA that specifies export capability within a defined window and at defined costs. Without those commitments, the provider can set timelines and fees when delay is hardest to absorb. The agreement should make export an obligation.
The second is an egress fee waiver for migration. Such waivers can be negotiable for accounts above a meaningful spend threshold, with the strongest leverage available before signing. Related deconversion clauses can require help with data transfer and workload migration. These provisions address the commercial barriers to leaving. They can prevent fees and export delays from compounding the technical work.
The EU Data Act adds a basis in law for lowering those barriers. It is applicable from September 12, 2025, with the switching-charge phase-out from January 12, 2027 under Article 29. For covered EU-regulated workloads, this makes protection against certain exit charges a legal requirement. It does not replace architectural preparation. The teams with an easier exit are those that chose portable components early and kept the route out visible, while harder exits arise when convenience accumulates into dependency through small decisions that compound.