Digital Building Blocks
By the end of this module you will be able to:
- Distinguish IaaS, PaaS, and SaaS using the NIST shared responsibility model and real examples
- Explain why microservices, APIs, and DevOps practices are interdependent building blocks, not independent choices
- Apply the building blocks framework to explain how an organisation achieves high deployment frequency
- Identify common misconceptions about cloud computing and DevOps in practitioner contexts

GOV.UK Notify
One shared platform, 5,000+ government services
Before GOV.UK Notify launched in 2016, every UK government department that needed to send emails or text messages to citizens built its own notification system. Each procurement was separate, each implementation was different, and the combined cost across Whitehall was estimated in the tens of millions of pounds. The technical building block - a secure, compliant notification service - was being rebuilt from scratch dozens of times.
GOV.UK Notify is a shared platform built by the Government Digital Service using cloud infrastructure, a simple API, and a standardised email and SMS delivery pipeline. Any government service can integrate in hours rather than months. By 2024, over 5,000 services were using it to send more than 10 billion messages annually. The underlying building blocks - cloud hosting, API contracts, automated delivery pipelines - were assembled once and reused everywhere.
This module examines those building blocks: cloud service models, microservices architecture, APIs, IoT, mobile-first design, and DevOps practices. Each is well understood in isolation; their power comes from their combination. GOV.UK Notify demonstrates that the same architecture that powers Spotify's playlist recommendations also powers government services, because the building blocks are the same.
Why did building a shared platform reduce duplication across government services?
With the learning outcomes established, this module begins by examining cloud computing - infrastructure as a service model in depth.
3.1 Cloud computing - infrastructure as a service model
Cloud computing, as formally defined by NIST Special Publication 800-145, delivers on-demand access to a shared pool of configurable computing resources (networks, servers, storage, applications, and services) over a network with minimal management effort or service provider interaction. The definition establishes five essential characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service.
The three service models partition responsibility between provider and consumer. Infrastructure as a Service (IaaS) - exemplified by AWS EC2, Azure Virtual Machines, and Google Compute Engine - delivers virtualised compute, storage, and networking. The provider manages the physical hardware; the organisation manages the operating system upward. Platform as a Service (PaaS) - Google App Engine, Heroku, Azure App Service - adds runtime and middleware to the provider's scope. The organisation manages only the application and data. Software as a Service (SaaS) - Salesforce, Microsoft 365, Workday - delivers complete applications; the organisation configures but does not manage the stack.
The economic logic of cloud is elasticity and unit cost reduction. AWS S3 storage costs fell approximately 90% between 2008 and 2023. On-demand compute means organisations pay for what they use rather than provisioning for peak load. For organisations with variable demand - a retailer with a Black Friday spike, a tax software provider with an April filing deadline - this economics shift alone justifies migration.
“Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.”
NIST Special Publication 800-145 (2011). The NIST Definition of Cloud Computing. - Section 2: Definition
NIST SP 800-145 is the authoritative technical definition of cloud computing, published by the US National Institute of Standards and Technology. Its five essential characteristics and three service model taxonomy (IaaS, PaaS, SaaS) are the baseline reference across government, academic, and industry contexts internationally.
Common misconception
“Cloud means SaaS - if we use Microsoft 365 or Salesforce, we are in the cloud.”
SaaS is one of three cloud service models, and using SaaS does not mean the organisation has cloud infrastructure capability. IaaS and PaaS are the models relevant to building and hosting applications. An organisation that uses Microsoft 365 but runs its own applications on physical servers in a data centre is a SaaS consumer but not a cloud infrastructure operator. The distinction matters when discussing digital building blocks because IaaS and PaaS enable the deployment patterns that microservices and DevOps require.
Cloud provides the elastic infrastructure. The next section examines how microservices architecture structures the applications that run on top of it.
3.2 Microservices - decomposing the monolith
A microservices architecture structures an application as a collection of small, independently deployable services. Each service owns its own data store, exposes its functionality through a defined API, and can be developed, deployed, and scaled independently of other services. The contrast is with a monolithic architecture: a single deployable unit where all application logic is compiled and deployed together.
Jeff Bezos's API mandate at Amazon, issued in approximately 2002, is one of the most cited origin points for microservices thinking in practice. The mandate required all Amazon teams to expose their data and functionality through service interfaces with no exceptions. Teams that needed each other's data had to access it through those interfaces. Direct database access, shared memory, or any other coupling mechanism was prohibited. The mandate enforced the separation of concerns that microservices architecture depends on.
The Twelve-Factor App methodology, published by Heroku engineers in 2011, formalised the operational requirements for cloud-native microservices: explicit dependency declaration, configuration via environment variables, disposable processes, stateless services, and log streams as event streams. These twelve factors describe what a service must be to be independently deployable, scalable, and operable without manual intervention.
“All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions. Anyone who doesn't do this will be fired.”
Jeff Bezos, Amazon API Mandate (c. 2002) - Internal memo, widely cited
The Bezos mandate is notable for its absolutism: no exceptions, enforced with termination. This severity reflects the architectural reality that partial interface adoption - where some teams expose APIs and others share databases directly - negates the independence benefits of microservices. The mandate created the organisational forcing function that the technical architecture required.
Microservices need well-defined contracts to communicate without coupling. Those contracts are APIs - and how an API is designed determines how maintainable the whole system will be.
3.3 APIs - the contracts between services
An Application Programming Interface (API) is a defined contract through which one software component exposes its capabilities to another. In a microservices architecture, APIs are the mechanism by which independently deployable services communicate without coupling to each other's internal implementation. The API defines what a service does; the implementation is invisible to callers.
OpenAPI 3.1, maintained by the OpenAPI Initiative and based on the Swagger specification, is the dominant standard for describing RESTful HTTP APIs. An OpenAPI document specifies every endpoint, the inputs each endpoint accepts, the outputs it produces, and the error conditions it signals. This machine-readable contract enables automated testing, client code generation, and documentation - all without the API provider and consumer teams needing to coordinate on every change.
The UK Government Digital Service (GDS) published API technical and data standards requiring government services to use RESTful APIs with OpenAPI specifications. The NHS Digital API platform, processing hundreds of millions of transactions annually by 2023, is built on these standards. The GDS standards reflect a policy recognition that API interoperability is as much a governance challenge as a technical one: without standards, organisations build APIs that only their own systems can consume.
APIs connect services over the network. The next section examines IoT and edge computing, which extend that connectivity to the physical world.
3.4 IoT and edge computing
The Internet of Things (IoT) extends digital sensing and connectivity to physical assets: machines, vehicles, buildings, and infrastructure. Edge computing processes data at or near the point of collection rather than transmitting it to a central cloud. Together, they create the data layer that enables digitalisation of physical processes that were previously analogue.
Network Rail committed to deploying over 100,000 sensors across the UK rail network by 2022 under its digital railway programme. Sensors monitor track geometry, overhead line condition, switch position, and signal state in real time. Edge processing units on each section of track analyse sensor data locally, triggering alerts before faults cause service disruption. The latency requirements - milliseconds for safety-critical signals - make central cloud processing impractical. Edge compute is not an alternative to cloud; it is a complement that handles the subset of decisions that cannot tolerate network round-trip delays.
IoT and edge address data at the physical layer. Mobile-first design addresses the primary interface through which most users experience digital services.
3.5 Mobile-first design
UK mobile internet traffic exceeded desktop traffic for the first time in 2016, according to Ofcom data. For most consumer-facing digital services, the mobile device is now the primary interaction channel. Mobile-first design is the practice of designing for the most constrained context - small screen, touch interaction, variable connectivity, and battery limits - before designing for desktop. The result is interfaces that work well everywhere rather than desktop interfaces degraded for mobile.
GDS applied mobile-first principles to all UK government digital services, most visibly in the GOV.UK design system. The system mandates progressive enhancement: core functionality delivered in HTML that works without JavaScript, enhanced by CSS and JavaScript where available. This ensures that services remain accessible on low-end devices and in areas with limited connectivity - a genuine equity concern in a country where 7% of adults remain offline and many more have low-end devices.
Mobile-first design determines how users interact with digital services. DevOps determines how those services are built, deployed, and kept running reliably.
3.6 DevOps - the practice that connects the building blocks
DevOps is the combination of cultural practices, organisational structures, and tooling that enable organisations to deliver software changes rapidly and reliably. The name signals the integration of development and operations functions that were historically separate: developers who wrote code and operations engineers who ran production systems. In organisations with mature DevOps practice, the team that builds a service is also responsible for running it - creating a direct feedback loop between code quality and operational stability.
Netflix is the most cited high-watermark for DevOps at scale: thousands of production deployments per day, with automated testing and progressive rollout mechanisms ensuring that a bad deployment is detected and rolled back within minutes rather than causing sustained customer impact. Monzo, the UK digital bank, operates a similar model: new features are deployed to production multiple times per day, using feature flags to control exposure and automated circuit breakers to prevent cascading failures.
The building blocks in this module are interdependent. Microservices require APIs to communicate without coupling. APIs require consistent standards (OpenAPI) to be interoperable. Independent deployment of microservices requires cloud infrastructure for elastic provisioning. And delivering that deployment safely, at speed, requires DevOps practices: automated testing, continuous integration, and deployment pipelines that can roll back in seconds. None of these building blocks achieves its purpose in isolation.
Common misconception
“DevOps is a job title - hiring a DevOps engineer means the organisation has DevOps.”
DevOps is an organisational practice, not a role. A single engineer with 'DevOps' in their title, sitting between a separate development team and a separate operations team, has not changed the organisational structure that DevOps is designed to eliminate. DevOps requires the team that writes code to own that code in production: shared responsibility, shared tooling, and shared accountability for reliability. The title without the structural change delivers none of the outcomes.
A company uses Salesforce for its CRM, Microsoft 365 for email and collaboration, and Workday for HR. Its own customer-facing application runs on a physical server in a co-location facility. Which statement best describes this company's cloud posture?
Jeff Bezos's API mandate at Amazon (c. 2002) required all teams to expose their data and functionality through service interfaces with no exceptions. What architectural problem was this mandate designed to solve?
Monzo deploys new features to production multiple times per day. Which combination of building blocks makes this deployment frequency safe for a live banking service?
Key takeaways
- NIST SP 800-145 defines three cloud service models: IaaS (provider manages hardware), PaaS (adds OS and runtime), and SaaS (provider manages entire stack). These are distinct levels of shared responsibility, not synonyms.
- Microservices architecture decomposes applications into independently deployable units, each with its own data store and API contract. Amazon's 2002 API mandate enforced the interface boundaries this requires.
- APIs are the contracts between services - OpenAPI 3.1 is the dominant standard for RESTful HTTP APIs. GDS mandates OpenAPI for all UK government services.
- IoT and edge computing extend digitalisation to physical assets. Network Rail's 100,000+ sensors process safety-critical data at the edge because latency requirements rule out central cloud processing.
- DevOps is an organisational practice (shared ownership of build and run), not a job title. Netflix's thousands of daily deployments and Monzo's continuous delivery are products of DevOps culture supported by automated pipelines.
- The building blocks are interdependent: microservices need APIs to communicate without coupling; independent deployment needs cloud for elastic provisioning; high-frequency safe deployment needs DevOps practices.
Standards and sources cited in this module
Section 2: Definition
Authoritative technical definition of cloud computing, including the five essential characteristics and three service model taxonomy (IaaS, PaaS, SaaS) used throughout Section 3.1.
Wiggins, A. (2011). The Twelve-Factor App. Heroku Engineering
All twelve factors
Foundational methodology for cloud-native application design cited in Section 3.2. Defines the operational requirements for independently deployable microservices.
GDS (2021). API technical and data standards. Government Digital Service.
RESTful API standards
Source for UK government API standards and the mandate for OpenAPI specifications cited in Section 3.3.
Network Rail (2022). Digital Railway Programme. Annual update.
Sensor deployment targets
Source for the 100,000 sensors figure cited in Section 3.4 and the use case for edge computing in safety-critical railway applications.
Chapters 1-4
Research-backed analysis of DevOps practices and their measurable impact on deployment frequency, lead time, and organisational performance. Directly supports the DevOps discussion in Section 3.6.
GOV.UK Notify. Government Digital Service, 2016 to present.
Usage statistics and technical documentation
Primary source for the GOV.UK Notify case study in the opening story. Documents the 5,000+ services and 10 billion messages figures.
The building blocks are in place. The next module examines the data standards and formats that determine whether those building blocks can actually exchange information - and what happens when they cannot.
Module 3 of 15 in Foundations
