Lock-in builds up gradually: data ends up in a closed format, code accumulates calls to someone else’s API, the team gets used to one platform, and licences are bought years ahead. Each step looks reasonable on its own, yet together they determine how much switching vendors will cost — in money, time and risk.
Where lock-in comes from
- Data in a closed format or with proprietary extensions: export is incomplete, slow or paid
- Code tied to a closed API and vendor-specific constructs instead of standard facilities
- Infrastructure: templates, roles and automation written for the services of a single cloud
- The team’s skills and certifications — tied to one technology
- Contracts: licences paid years ahead, with exit terms never spelled out
What the switching cost is made of
Economics describes this price as switching costs: the money, time and effort a client spends to change vendors. The higher they are, the harder it is to bargain and the more any change of course costs. When a migration between clouds is already being planned, lock-in is weighed alongside data transfer speed and downtime risks.
| Component | What makes leaving hard |
|---|---|
| Data | export goes in batches, each one needs an integrity check; 100 TB over a 1 Gbit/s link is about ten days of continuous transfer |
| Code | vendor-specific constructs have to be rewritten: a query with the Oracle extension ROWNUM will not work in another DBMS |
| Infrastructure | automation templates, roles and network settings are written in one vendor’s terms |
| People | retraining the team takes months, and development speed drops for that period |
| Contracts | early exit from licences and subscriptions costs money and is not always possible |
How the risk is reduced
- Keep data in open formats and check periodically that export actually works
- Isolate closed capabilities at the system boundary: a wrapper around someone else’s API instead of calls scattered across the code
- Keep the application portable: configuration outside the code, containers, declarative infrastructure — this is what the “twelve-factor” methodology is built on
- Choose products that have open standards and several compatible implementations
- Discuss the exit before signing: the term and cost of switching, data export, the vendor’s help with migration
Lock-in cannot be avoided entirely: every system depends on something — a language, a DBMS, a cloud. The architect’s task is to see where a dependence arises, to estimate the cost of leaving in advance and to decide deliberately where it is justified. That is why the exit price is assessed at the selection stage, not after the contract is signed.
Sources
the term is written from these pagesVerified 8 Nov