NHS App Playbooks

Tenant compute: Options and tensions


Supports the technical playbook, section 3.1


The question

Section 3.1 of the Playbook lists standardised Kubernetes (k8s) compute within the NHS Azure tenant as a platform-provided capability, and §3.2 mandates that all services run within that tenant. This document explores whether that is the right position, or whether there is a coherent case for tenant teams running their own compute — for backend services, for micro-frontend bundle hosting, or for both.

This is not a resolved question. The current Playbook defaults to centralised NHS Azure compute because that is the simplest model from a security and governance standpoint. But “simplest” is not always “best”, and the tension between platform control and genuine tenant autonomy is real.


Three compute models

Model A — All compute within NHS Azure (current Playbook position)

All tenant backend services and micro-frontend hosting run on NHS App-provisioned k8s clusters within the NHS Azure tenant. The NHS App team provides, configures, and maintains the compute infrastructure.

What this gives you:

What this costs you:


Model B — Tenant-owned compute, all within NHS Azure

Tenant teams provision and operate their own k8s clusters (or other compute) within the NHS Azure tenant. The NHS App team provides guardrails — approved Azure subscription configuration, network policies, and tagging standards — but does not operate the compute itself.

What this gives you:

What this costs you:


Model C — Tenant-owned compute, outside NHS Azure

Tenant teams run backend services (and potentially micro-frontend hosting) on their own existing infrastructure, outside the NHS Azure tenant entirely. The BFF remains inside NHS Azure and acts as the boundary between the NHS App and the tenant’s external services.

What this gives you:

What this costs you:


The micro-frontend hosting case

Micro-frontend bundles (once the Playbook’s target web architecture is reached — see Micro-frontends: Direction of Travel) are static JS assets, not data-processing services. They do not handle patient data directly. The IG argument for keeping them within NHS Azure is weaker than for backend services.

The most natural compute for static JS bundles is a CDN, not k8s. This points toward either:

This is a sufficiently distinct question from backend compute that it may warrant a separate decision.


Key dependencies of the compute decision

The choice of compute model has direct knock-on effects on the following:

Area Impact
IG and data governance Cross-boundary data flows require per-flow IG review under Model C; Model B within NHS Azure is lower friction
BFF architecture Model C changes the BFF’s threat model — outbound calls to external services are fundamentally different from internal NHS Azure service-to-service calls
Observability Models B and C require explicit log/metric forwarding into shared Splunk; a broken forwarding pipeline creates an observability gap during incidents
Platform pen testing Models B and C partially or fully remove tenant infrastructure from platform pen testing scope
Tenant team capability requirements Models B and C require infrastructure and platform engineering skills that not all tenant teams will have
Cost attribution Model B makes cost attribution natural and clean; Model A requires internal chargeback or allocation
Onboarding speed Model A requires NHS App team provisioning; Models B and C allow tenants to start sooner if they have their own infrastructure ready
CSP and supply-chain risk Model C micro-frontend hosting from external origins widens the shell’s CSP and introduces a supply-chain vector

Open question

This decision needs to be made deliberately before the first external tenant cohort onboards. See Appendix A, item A10 in the Playbook for the formal open question.