Back to the guides

Serverless or Containers for a UK Bank or EMI (2026 Guide)

Put short, event-driven work such as payment notifications, batch AML scoring and data pipelines on serverless, and run the ledger, card authorisation and other stateful, latency-sensitive services as containers on Kubernetes. Most UK banks and EMIs use both. Either way, a cloud service behind an important business service is an FCA outsourcing that needs due diligence, an impact tolerance mapping and a tested exit plan.

Serverless or Containers for a UK Bank or EMI (2026 Guide)

The quick answer for a UK payments or banking team

Decide workload by workload, not by what is fashionable. Functions (AWS Lambda, Google Cloud Functions, Azure Functions) charge per call and shrink to nothing when idle, which suits jobs that wake up on an event and finish quickly. Kubernetes keeps processes alive with steady latency and memory, which is what a ledger posting a Faster Payment or a service answering a card authorisation needs. An EMI with a modern stack nearly always ends up running both.

"Serverless" is really three products. Function-as-a-Service runs one function per event. Serverless containers (Google Cloud Run, AWS Fargate, Azure Container Apps) run an ordinary image with no cluster for you to look after. Serverless databases scale storage and compute separately. In each case you say what to run and the provider decides where.

Use serverless when all three are true: the work is triggered by events and arrives unevenly, a first-call delay of a few hundred milliseconds is fine, and the code keeps no state of its own. If one of those fails, a container that is already warm is normally safer and cheaper.

You pay for use

The bill tracks customer activity, so the quiet hours between midnight and 6am cost almost nothing.

Payday peaks handled

When salaries land on the last Friday of the month, the platform scales out without anyone resizing servers.

Fewer servers to patch

No operating systems to update. Engineers write product code while the provider carries more of the stack.

Neither model is experimental any more. Kubernetes is now the normal way to run containers in production, as the CNCF figures show. For the bigger picture of moving a bank onto public cloud, read our cloud banking guide.

Container users with Kubernetes in production
0255075100%2023 · 66 %20232025 · 82 %2025
Show the data
CategoryRun Kubernetes in production (%)
202366
202582

Source: CNCF Annual Cloud Native Survey (published January 2026). Organisations that use containers, all sectors rather than banking alone.

Let's discuss your project and see how we can launch your digital banking product together

Request demo

Is it an outsourcing? What the FCA and PRA expect first

Before it is an engineering choice, putting payments on Lambda or on a managed Kubernetes cluster is an outsourcing decision. Four sets of rules apply to a UK firm.

  • Cloud guidance. The FCA's FG16/5 applies to every regulated firm using cloud and third-party IT.
  • Outsourcing rules. Banks follow SYSC 8 and PRA SS2/21; payment and e-money firms have outsourcing duties under the PSRs 2017 and EMRs 2011 as well. Tell the FCA before you rely on a material outsourcing.
  • Operational resilience. Under PS21/3 every important business service, such as sending a Faster Payment or approving a card spend, has an impact tolerance and a map of its dependencies, and since 31 March 2025 you must be able to stay within it.
  • Third-party reporting. From 18 March 2027 PS26/2 asks banks, authorised EMIs and authorised PIs, among others, to notify new material third-party arrangements and send the FCA a register of them every year.

Here the compute model matters. A payment journey split across seven provider-specific functions is harder to map, and harder to test against a severe but plausible outage, than one container service with a clear failover. The hyperscalers are now overseen directly too: designations of AWS, Google Cloud, Microsoft and Oracle as the first critical third parties took effect on 13 July 2026, with the Bank of England, PRA and FCA as overseers. That regime sits beside yours; the contract terms and the exit plan are still your job.


Workload by workload: what fits where

Brief, triggered and stateless jobs go to functions. Anything continuous, stateful or on a tight latency budget stays on containers.

Workload Functions? Reasoning
Payment events and push notifications Yes Short, triggered by each payment, scales with spikes
Overnight AML or fraud rescoring Yes Fan out across hundreds of parallel calls and finish sooner
Statements and regulatory reports Yes Busy at month end, quiet otherwise
Data pipelines and Bacs file processing Yes Starts when a file or event lands, no standing compute
AI inference with spiky demand Sometimes Fine for occasional CPU work; GPU models usually live in containers
Ledger and double-entry engine No Stateful, latency-sensitive, needs strict ordering and consistency
Card authorisation No The scheme's response window is tight; a cold start is a risk you do not need
Low-latency trading No Needs latency far below anything serverless promises

This is where most banking microservices teams land: services that move money and hold balances run all the time on containers, and everything around them (notifications, reconciliation jobs, exports, analytics) hangs off events handled by functions. A batch job that goes wrong then cannot take the ledger down with it.

Capital One is the case people quote. It shut its last data centres in 2020, runs on AWS and has talked about serverless-first for new applications while keeping long-running services in containers. The point for a smaller firm: tracing, cost ownership and guardrails matter more than which compute you pick.


Cloud Run, Fargate and Knative: the middle option

Serverless containers give you an ordinary image with serverless billing and scaling. They remove most function limits and still keep operations light, which makes them a sensible default for many banking APIs.

Cloud Run, Fargate and Azure Container Apps all take standard OCI images. You choose the runtime, libraries and language version, requests can run longer than a function allows, and the same image can move to Kubernetes later without a rewrite. Cloud Run and Container Apps scale to zero; Fargate charges per running task.

Knative is the open-source layer that offers the same model on any Kubernetes cluster, in your own data centre or any cloud. Cloud Run implements the Knative API, so a service can move between them with modest changes. For an FCA-regulated firm that is a believable exit route, which is exactly what FG16/5 and SS2/21 ask you to write down.

Option Your part How easily it moves
Functions (Lambda, Functions) The function code Poorly: triggers and event formats belong to the provider
Serverless containers Image and service settings Fairly well: standard images, Knative-compatible on Cloud Run
Managed Kubernetes (EKS, GKE, AKS) Workloads, node pools, add-ons Well: CNCF-standard APIs
Self-run Kubernetes All of it, control plane included Best, at the highest running cost

Designing a Kubernetes platform a supervisor will accept

When a service needs a permanent process, steady latency or control of its runtime, Kubernetes is the norm. In a regulated firm, isolation, audit and recovery have to be designed in on day one.

Nearly everyone now uses a managed control plane (Amazon EKS, Google GKE, Azure AKS), so the provider patches the API server and etcd. These stay with you:

Area What good looks like
Control plane access Private endpoint, OIDC sign-in through your identity provider, no long-lived tokens
Secrets at rest Envelope encryption of Secrets under a KMS key you hold
Separation Namespaces or clusters per environment and, where needed, per client or legal entity
Network Deny by default, mTLS between services, egress only where approved
Recovery Nodes across availability zones in a UK region, tested backups, recovery times that fit your impact tolerances

Client isolation has cost and compliance effects; multi-tenant banking platforms compares the options. The ledger database deserves the same care: stateful sets on Kubernetes work, but many teams keep it on a managed service, as banking database design explains.


Securing the cluster: identity, secrets, logs, change, card data

The controls work only as a set, switched on from the first deployment.

Zero trust inside the cluster. No pod trusts another by default. Bind RBAC to your identity provider over OIDC, enforce Pod Security Admission at the "restricted" level, and write network policies so only services that need to talk can.

Secrets. Not in environment variables, not in plain Kubernetes Secrets. Use HashiCorp Vault or the cloud's secret manager on top of an HSM or KMS, and mount short-lived credentials. Key management covers the HSM part.

Observability. When something breaks, the FCA expects you to spot it, explain it and, for a major incident, report it. So telemetry is a control, not a nice-to-have:

Metrics

Prometheus gathers cluster and app metrics; Grafana boards serve the on-call team and your audit file.

Logs

Structured logs in a central store such as the EFK stack, kept as long as your record-keeping rules say.

Traces

OpenTelemetry or an Istio mesh follows one payment through every service it touches.

Change through Git. Argo CD or Flux applies cluster state from a versioned repository. Each change is a reviewed pull request, giving auditors their approval trail and you a quick rebuild after an incident.

Card data. If card numbers pass through the cluster, PCI DSS v4.0.1 covers the nodes, network and pipelines involved. Put card workloads in their own namespaces or cluster with enforced segmentation so the rest stays out of scope. Short-lived containers help, but you still need image scanning, logs that outlive the container and proof that segmentation holds.


Side by side: functions against Kubernetes

The points that matter in a bank, compared.

Point Serverless (functions / serverless containers) Kubernetes
How you pay Per call and per slice of run time Per node, or per vCPU and memory reserved
First response Cold start from about 100 ms to a few seconds, by runtime and package size Pods already up; you control tail latency
State None in the function; kept in an external store Stateful services through persistent volumes
Run limits 15 minutes per Lambda call; serverless containers allow longer None; long-running services are normal
Who operates it The provider You: upgrades, node pools, add-ons
Exit Hard for functions, easier with containers and Knative Easy: CNCF standard across clouds and on-premises
Best banking use Event handlers, reports, pipelines, back-office jobs Ledger, payments, card processing, API gateways

Rule of thumb: minutes at most, started by an event, happy to wait a moment on the first call? Functions. Running all day, latency-sensitive or holding state? Containers. Where they meet is part of your wider digital banking architecture.

Share of each cloud's customers using serverless
%AWS customersAWS customers · 70 %70Google Cloud customersGoogle Cloud customers · 60 %60Azure customersAzure customers · 49 %49
Show the data
CategoryUse at least one serverless service (%)
AWS customers70
Google Cloud customers60
Azure customers49

Source: Datadog, The State of Serverless (2023). Datadog's own customers across sectors. The AWS figure is given as more than 70%.


Cold starts and the point where serverless costs more

You can live with cold starts. The money is the harder part: serverless wins while traffic is lumpy, and reserved containers usually win once it is steady and high.

Cold starts. An idle function needs a moment to spin up, from about 100 ms for a small runtime to seconds for a heavy Java package. A night batch never notices; a customer waiting for "payment sent" in the app does. Options: provisioned concurrency or minimum instances (paid for while idle), smaller packages, or keeping the critical path on warm containers.

Where the lines cross. No idle cost, but each call costs more than the same work on a busy container. The crossover depends on duration, memory and how evenly calls arrive. Use the providers' calculators with your own month: number of calls and average duration on functions, against the containers you would need for the peak plus headroom, both in the currency you are invoiced in. A service busy around the clock nearly always ends up cheaper in containers; one asleep most of the day nearly always cheaper as functions.

Readiness. Functions scatter logic. Without distributed tracing and central logs, a failed payment that crossed seven functions can take hours to explain to a customer or to the FCA. Put tracing and cost ownership (team budgets, Kubecost or the cloud's own reports) in place before you widen use.

Step 1: back office

Batch and internal jobs first, with tracing and cost reports in place before customers rely on anything.

Step 2: customer features

Event-driven pieces of the app: notifications, onboarding steps, document handling.

Step 3: cost control

Cost per service reviewed monthly; move workloads between models when the figures say so.


An EU entity in the group: DORA and exit plans

A UK licence has not passported into the EU since 2021, so British firms with EU customers usually have an EU-authorised entity. That entity has followed DORA since 17 January 2025: every cloud service supporting a critical or important function goes into its register of information with an exit strategy, whatever the compute model.

Serverless makes that harder. The more you lean on one provider's triggers, queues and identity, the further away a real exit gets. Article 28 expects exit plans you could actually carry out, and the European Supervisory Authorities now oversee designated critical ICT providers, the big clouds among them. DORA for payment institutions covers the register and testing in detail.

The same set-up satisfies the FCA for the UK entity and DORA for the EU one:

  • Ledger and payment services run as containers on standard Kubernetes APIs and can be redeployed elsewhere.
  • Functions sit behind interfaces you own (your message schema, not the provider's event format), so they can be rewritten without touching the core.
  • Backups are in a format you can restore outside the provider, and the restore has been rehearsed.
  • Each register (the FCA one from 2027, the DORA one now) lists every cloud service, the function it supports and the way out.

How Crassula splits its own workloads

We do what this guide suggests: money-critical services on warm containers, the work around them on events.

Crassula Core runs the ledger, accounts, payments and card services continuously with steady latency. Notifications, webhooks, reports and calls to outside providers run asynchronously, so a slow third party never holds up a balance. You use the platform through APIs and do not operate the cluster, which takes most of the work above off your team; your outsourcing file then covers one provider instead of a pile of cloud services. Replacing an older system? Core banking modernisation shows how to move in stages.

To check the fit with your permissions and roadmap, book a demo.


FAQ

When the work is triggered by events, short and stateless: payment notifications, batch AML scoring, statements, Bacs file processing and data pipelines. If a job runs for minutes at most, arrives unevenly and can take a brief cold start, functions usually suit it.

The ledger, card authorisation, low-latency trading and long-running stateful processes. They need steady latency, strict ordering or memory that persists, which per-call platforms do not promise. Run them as containers.

Often, yes, if it supports an important business service such as payments or card authorisation. Follow FG16/5, SYSC 8 (and PRA SS2/21 for banks), do due diligence, agree audit and exit rights, and notify the FCA before relying on a material outsourcing.

No. AWS, Google Cloud, Microsoft and Oracle have been overseen as critical third parties since 13 July 2026, but that complements your own third-party risk management. Your contract, impact tolerances and exit plan remain yours.

Yes, when it is set up and governed well. The provider secures the infrastructure; you own identity and permissions, secrets, encryption, logs and the outsourcing controls. Most incidents trace back to over-broad permissions and missing logs, not the platform.

Yes, widely, for core services, payments and API platforms, mostly on managed services such as EKS, GKE or AKS. Across all sectors the CNCF found 82% of container users running Kubernetes in production in 2025.

Only when traffic is low or lumpy. There is no idle cost, but each call costs more than on a busy container, so an always-busy service is usually cheaper on Kubernetes. Price both with your real call counts and durations.

The pause while a platform starts a fresh instance of an idle function, from about 100 ms to several seconds. Reduce it with provisioned concurrency or minimum instances, smaller packages and lighter runtimes, or keep latency-critical paths on warm containers.

A private control plane with OIDC, deny-by-default network policies and mTLS, the restricted Pod Security profile, secrets in Vault or a cloud secret manager over KMS or HSM, full metrics, logs and traces, GitOps for every change, and card workloads fenced off to keep PCI DSS scope small.

It bans neither model. Each cloud service behind a critical function must be in the register of information with a tested exit strategy. Heavy use of provider-specific functions makes exit harder, so firms keep core services on portable containers and wrap functions behind their own interfaces.

Cloud Run, Fargate or Azure Container Apps run your image with no cluster to manage and bill by use. Kubernetes gives full control of scheduling, networking and stateful work, but you run the cluster. Knative brings the serverless container model to any Kubernetes cluster.

Other Guides

Create a digital bank in a matter of days

Request demo
Companies using Crassula
150+ companies already with us
Top