The commercial side of vendor lock-in on a public sector website is set by the contract terms agreed at procurement. Point 11 of the Technology Code of Practice, "Define your purchasing strategy", tells you to "be explicit about the ownership of intellectual property involved in the delivery of a technology service", software code included, and about "the ownership of government data".

Some lock-in is worth accepting. The gov.uk guidance on managing technical lock-in in the cloud, updated on 3 September 2026, states that "It's impossible to avoid technical lock-in completely" and that in the cloud "the advantages of being locked-in can often outweigh the disadvantages". The work for a digital or commercial lead is to choose which dependencies the organisation will carry, and to write the terms for leaving them, before a supplier is appointed.

What does vendor lock-in mean for a public sector website?

Vendor lock-in on a public sector website is the point at which moving to another supplier or technology has become, in the words of the gov.uk lock-in guidance, "difficult, time consuming and disproportionately expensive".

The guidance separates two types. Commercial lock-in comes from the contract, and the page says to follow the Government Commercial Agency's contract management standards so that you "retain ownership of intellectual property" and "retain ownership and access to any data held by third parties". Technical lock-in comes from the build, with causes that include "other providers not offering equivalent services" and "technical architecture which relies on doing things a certain way".

On a website the causes of both types are ordinary things: bespoke modules nobody outside the agency has documented, hosting and domain accounts registered to the supplier, analytics properties the buyer sees only as a guest, and a deployment pipeline that runs in the supplier's own tooling and leaves when the contract does.

What does government guidance say about vendor lock in?

Government guidance on vendor lock in asks you to consider how much lock-in you are willing to accept, and to keep ownership of intellectual property and of data held by third parties. In the Technology Code of Practice, the guidance under points 4 and 5 names lock-in, and points 3 and 11 cover open source and the contract terms. The code is "a cross-government agreed standard used for the Cabinet Office spend control process and the Local Digital Declaration".

Point 3, "Be open and use open source", asks you to "Give equal consideration to open source software when you choose technology", and the guidance for point 4, "Make use of open standards", counts the ability to "avoid vendor lock-in" among the benefits. Under point 5, "Use cloud first", the migration guidance asks you to "consider the amount of vendor lock-in and how to manage technical lock-in in the cloud you're willing to accept".

Point 11 carries the contract terms on ownership of code and data and a break clause where economic, and it names "a smoother transition of knowledge and capability once a contract or programme ends" as a benefit. Service Standard point 12, "Make new source code open", adds that an open licence means "you're less likely to get locked in to working with a single supplier".

For councils, the code is guidance they can adopt. The Local Digital Declaration puts the same aim in its own words: "We will 'fix our plumbing' to break our dependence on inflexible and expensive technology that doesn't join up effectively."

Seven assets a website depends on, and who should own each

Service Standard point 12 says to "keep ownership of the intellectual property of new source code that's created as part of the service". The Service Manual guidance on making source code open and reusable applies its publishing advice to "code developed for you by a third party, such as a development agency", and expects published code to sit "in a repository managed by your department". The table applies the same test to each asset.

Asset Who should own it How to verify at handover
Source code and intellectual property The buyer, stated in the contract The IP clause names the code, and a clean build runs from the repository
Code repository and deployment pipeline An organisation account the buyer controls The buyer holds admin rights and the supplier is a removable collaborator
Domains, DNS and SSL certificates The buyer, as registrant and account holder The registrant name, DNS account and certificate account are the buyer's
Hosting and cloud accounts The buyer, or the supplier with a documented transfer route Billing and owner access sit with the buyer, or the transfer route is written and dated
Third-party licences and modules The buyer, or a licence that survives a change of supplier A register lists each licence, its holder and its renewal date
Analytics and search console properties The buyer's account as owner Supplier access is a user the buyer can remove
Content, data and documentation The buyer, under the data ownership clause Exports arrive in open formats and runbooks are delivered and tested

Keys and credentials sit outside all of these. The same Service Manual page says "You must store secret keys and credentials separately, for example with a secret management system, and inject them into the code", so a repository can change hands without exposing live passwords.

Should the site be supplier-hosted or deployed into your own cloud tenancy?

Neither supplier hosting nor deployment into your own cloud tenancy is right for every public sector website. The choice decides who holds security responsibility, who patches, who pays the cloud bill, how support works and what exit involves, so it belongs in the business case before the tender is drafted.

Question Supplier-hosted Your own tenancy
Who holds security responsibility The supplier for the hosting platform, within the scope of its certificates You for the tenancy, its access and configuration; the supplier for what it deploys, as the contract defines
Who patches The supplier, for platform and application, under the support contract Split between your team, the cloud provider and the supplier, so the split must be written down
Who pays the cloud bill The supplier, recovered through the hosting fee You, directly to the cloud provider, with every line visible
What support looks like One supplier answers for the whole stack Two or more parties, with a runbook saying who picks up each type of incident
What exit looks like A move to a new host, so the repository, exports and exit plan carry the risk The infrastructure stays and the supplier changes, provided pipelines and access are already in your name
Skills needed in-house Contract management and content administration Cloud administration, or a contract that buys it

Own tenancy suits a buyer that already runs cloud infrastructure and has people to operate it. An organisation with an established Azure tenant, security monitoring and a platform team can add a website to that estate and keep the infrastructure when the supplier changes. A buyer without those skills inherits patching and incident work it may not have budgeted for. Own tenancy also carries lock-in to the cloud provider, which the point 5 guidance asks you to weigh.

Supplier hosting puts one party in charge of the whole stack, which is simpler to hold to account, and the price is a larger exit because leaving means moving the site as well as changing supplier. Check what a supplier's certificates cover with our guide to supplier ISO 27001 certificate checks.

We offer private cloud hosting, co-located at The Bunker's data centres in Kent and Newbury.

There is ground between the two models, which our post on putting councils back in control with collaborative infrastructure management sets out. Recovery arrangements need their own terms in either case, covered in business continuity and disaster recovery for websites.

What should a knowledge transfer plan include?

A knowledge transfer plan for a website contract should name the documentation, runbooks, pairing sessions and training days the supplier will deliver, and end with a test that your own team can carry out routine tasks without the supplier. Price it as a deliverable with acceptance criteria.

Skills are a lock-in risk in their own right. The gov.uk lock-in guidance says "A common cause of technical lock-in is the availability of skills and knowledge", and a site that only two people at the agency understand is locked in whatever the contract says about ownership.

Administrators and editors need different training. Administrators need user management, configuration, deployments and backups, while editors need publishing workflows and content standards, so set minimum training days for each group. Runbooks should cover deploying a change, restoring from backup, renewing a certificate and escalating an incident.

Close the plan with a witnessed test before sign-off. Your team deploys a small change, restores a backup to a non-production environment, adds and removes a user account, and exports the content in its agreed format, with the supplier watching and not touching the keyboard. Any step that needs the supplier's hands means the plan is unfinished.

Writing the ownership and portability requirement into the tender

Portability has to be written in and scored at procurement, because it is the last point at which every bidder is competing on it. The Sourcing Playbook, aimed primarily at central government departments and arm's-length bodies, asks at the delivery model stage "who will own any assets (including intellectual property)".

Public sector website tenders commonly ask for a site that can move to another hosting provider later, and for a documented handover to a new supplier. Those phrases only score well when the clauses underneath are specific. Ask for:

  • ownership of intellectual property, code and government data, using the wording of point 11
  • a code repository in your organisation's account from the first day of the build, with the supplier as a collaborator
  • domains, DNS, certificates, hosting accounts and analytics properties registered to you, or a dated transfer for each
  • open standards, open source considered on equal terms, and content exports in open formats
  • a register of third-party licences showing which survive a change of supplier
  • a knowledge transfer plan priced as a deliverable and accepted through the handover test
  • an estimate of the cost and time to exit, which the lock-in guidance says hosting plans and business cases "should include"

Test the lift and shift claim at bid stage with evidence. Ask each bidder to describe how the site would be rebuilt from the repository onto a clean environment with a different provider, which steps are manual and when they last ran them. The lock-in guidance notes that "some organisations periodically reevaluate switching-cost estimates by rebuilding or testing critical components in a different cloud provider's environment", and a shortlisted bidder can show you the same thing at presentation.

For platform and infrastructure services, the same guidance suggests "using open source where possible, loosely coupling your components" or infrastructure as code tools. Our post on moving beyond monolithic digital platforms in local government makes the case for separate layers.

A strong answer names each asset, the account it will sit in and the evidence you will receive at handover. It also lists any component the supplier keeps the rights to, with the licence terms that apply after exit. A weak answer sounds like "the client owns everything we build" with no repository or account named, or "our platform is fully portable" with no rebuild ever described. If a move does happen later, the method is covered in website migration SEO for the public sector.

Before you sign the build or hosting contract

Look up the registrant on every domain the organisation uses, and check whose name is on the DNS and certificate accounts. Then list each account your current supplier holds in its own name, with a date to move it.

Write down the lock-in you are choosing to accept, whether that is a supplier's hosting platform or a licensed module, and put the estimated cost and time to exit beside it in the business case. That note gives the tender its ownership clauses and its lift and shift question.

Frequently asked questions

Does using open source software remove vendor lock-in?

Open source software lowers the cost of changing supplier and still leaves exit costs to plan for. The guidance for Technology Code of Practice point 3 warns that "open source software is not completely free, so take into account the total cost of migrating, including exit and transition costs". Custom modules and private forks that one supplier understands create dependence on any platform, and our guide on what to verify before adopting LocalGov Drupal covers code custody on a shared open source platform.

What is software escrow and when is it worth asking for?

Software escrow places a supplier's source materials with a third party, "to be released to the licensee on specified supplier defaults", as the LexisNexis practice note on software escrow in the UK describes it. It exists because "without that information a licensee may be unable to maintain the software if the licensor does not". Escrow is worth considering where the supplier keeps the intellectual property, such as a licensed platform or proprietary module, and adds little when you already own the code in your own repository.

How long should a break clause be in a website contract?

Technology Code of Practice point 11 says that, "where economic", a contract should "include a break clause at a maximum of 2 years which allows you to terminate the contract with minimal exit costs". A break clause is only as useful as the ownership terms behind it, because exit costs stay high while the repository and accounts are still in the supplier's name.