What are Microservices in Insurance?

·

Glossary: Microservices in Insurance

Microservices are a way of building one application as a set of small, separately deployed services, each responsible for one business function and communicating with the others over a network through APIs or messages. In an insurance system, rating, documents, billing and claims might each run as their own service instead of as parts of one large program.

This entry covers where the term comes from, how microservices compare with monolithic and service-oriented architectures, how a request moves through the services, the benefits and costs the main sources describe, the security concerns set out by the US National Institute of Standards and Technology (NIST), how the UK operational resilience rules for insurers bear on architecture, and what survey and research data say about adoption and migration.

Where the term comes from

A 2014 article by James Lewis and Martin Fowler, which the survey by Dragoni and colleagues cites for the origin of the term,1 describes the microservice architectural style as an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API.2 The services, they write, are built around business capabilities, are independently deployable by fully automated deployment machinery, and may be written in different programming languages and use different data storage technologies.2 The article records that the term was discussed at a workshop of software architects near Venice in May 2011, and that in May 2012 the same group decided on “microservices” as the most appropriate name.2

Lewis and Fowler say there is no formal definition of the style, and instead describe nine common characteristics, adding that not all microservice architectures have all of them.2 Among them are componentisation via services, organisation around business capabilities, smart endpoints and dumb pipes, decentralised governance, decentralised data management, infrastructure automation and design for failure.2 Later sources define it more tightly. That survey chapter, by Dragoni and colleagues, defines a microservice as a cohesive, independent process interacting via messages, and a monolith as a software application whose modules cannot be executed independently.1 NIST's SP 800-204 says each microservice typically implements one (rarely more) distinct business process or functionality, and is a mini-application with its own business logic.3

Among the design drivers NIST lists are these: each microservice must be managed, replicated, scaled, upgraded and deployed independently of the others; each must have a single function and operate in a bounded context; and all should be designed for constant failure and recovery, and so be as stateless as possible.3 In a policy administration system built this way, a rating service would hold the rating tables and return premiums, a document service would hold templates and produce documents, and other services would reach them only through their published interfaces.

Monolith, service-oriented architecture and microservices compared

A monolith is built and deployed as one unit. NIST describes it as one huge artefact that must be deployed in its entirety, where any change to one function involves recompiling, and in some instances retesting, the whole application before it is deployed again.3 Service-oriented architecture (SOA), the earlier approach of building systems from services, shares three technical concepts with microservices according to NIST: services, interoperability and loose coupling.3 NIST records three lines of technical opinion on how the two relate (a separate style, one SOA pattern, or a refined SOA) and says the most prevalent opinion is that the differences lie in concrete realisation, such as development and deployment technologies, rather than in the architectural style.3

FeatureMonolithService-oriented architectureMicroservices
How parts call each otherLanguage-level calls, such as a method or function, inside one program3Through artifacts such as an enterprise service bus (ESB)3Remote procedure calls or messaging across a network, each service typically a process on its own network node3
Finding other servicesNot set out in the sources; API calls are local3Service discovery implemented as part of the centralised ESB3A service registry, because instances are added, removed and moved dynamically3
Changing one partChange to a small part requires redeployment of the entire application3Loose coupling: a change in one service should not require a change in another (shared with microservices)3Only the modified services need to be redeployed3
ScalingResources are allocated to the application as a whole3Not set out in the sourcesEach service can be scaled up selectively3
DataA single logical database for persistent data is preferred2Lewis and Fowler say SOA means too many different things to characterise; the versions they met often focused on ESBs used to integrate monolithic applications2Each service manages its own database2
Monolithic, service-oriented and microservices architectures compared, as described by NIST SP 800-204 (2019) and by Lewis and Fowler (2014)32

There is a middle position. NIST notes that some monoliths are built modularly, from many components and libraries, and may specify APIs much as a microservices system does; the difference it draws is that in a microservices application each API is exposed on the network and so is independently callable and reusable.3 Fowler writes that it is perfectly possible to have firm module boundaries in a monolith, but that it requires discipline.4

How a request moves through microservices

NIST describes two main ways in which microservices interact. In request-reply, one service asks another for information or for an action and waits for the response, which creates a strong runtime dependency: the caller can complete its function only when the other service is available.3 In publish-subscribe, services subscribe to business events published to a message broker, and the sender does not typically wait for a response; NIST gives the propagation of data updates to several services as one use case.3 Clients often reach the services through an API gateway, which NIST calls a popular architectural framework, able to expose one endpoint that makes all the calls needed for a business transaction and returns a single, aggregated response.3

An illustrative quote and bind passing through a microservices system

1
A broker's system asks for a quote
The request goes to the API gateway, which checks who is calling and routes it. The broker's system never calls the internal services directly.
2
The quote service calls the rating service
This is request-reply: the quote service waits for the premium and cannot finish if the rating service is unavailable.
3
The gateway returns the price
The gateway combines the results of the internal calls into one response to the broker.
4
The policy service records the bind and publishes an event
A “policy bound” event goes to a message broker. The policy service does not wait for anyone to reply.
5
Subscribed services act on the event
Billing sets up the instalment plan, the document service issues the schedule and a reporting service adds the policy to the next bordereau, each independently.
Source: Illustrative sequence. Interaction patterns and gateway features as described in NIST SP 800-204, sections 2.5 to 2.7.

The final step is what Fowler calls event notification: a system sends event messages to notify other systems of a change in its domain, and often does not expect any answer at all.5 He writes that the pattern implies a low level of coupling and is simple to set up, but that a logical flow running over several notifications can be hard to see, because it is not explicit in any program text and often can only be worked out by monitoring a live system.5 In the example, the reporting service that feeds the bordereau can be added without changing the policy service at all, and the price of that freedom is that nobody reading the policy service's code can see everything that happens after a bind.

Benefits and costs, as the sources state them

The table sets the benefits each source states against the costs it states.

SourceStated benefitsStated costs
NIST SP 800-2043Independent teams can each choose their own platform and tools; components scale independently; an implementation can change without disruption while its interface stays the same; smaller codebases allow quicker updates; an outage can be contained to one service; with asynchronous events, an outage's impact is temporaryMany components must be monitored instead of one application; any component may cease functioning at any time; versions must be managed for different clients; secure API management is needed for every API; the practice of defence in depth can break down
Martin Fowler, 20154Strong module boundaries; independent deployment; technology diversityDistribution, since remote calls are slow and always at risk of failure; eventual consistency; operational complexity, needing a mature operations team
CNCF Cloud Native Glossary6Easier to deploy, update and scale each part independently; different teams can work on small parts of a bigger application at the same timeOperational overhead: the things to deploy and keep track of increase by an order of magnitude
Benefits and costs of microservices as stated by three sources: NIST SP 800-204 (2019), Fowler's Microservice Trade-Offs (2015) and the CNCF Cloud Native Glossary346

On when the costs are worth paying, Fowler describes a “microservice premium”, the cost of managing a suite of services, which he says slows a team down and favours a monolith for simpler applications.7 He reports that almost all the successful microservice stories he had heard started with a monolith that got too big and was broken up, while almost all the systems he had heard of that were built as microservices from scratch ended up in serious trouble; he adds that this view is not unanimous among his contacts.7 Lewis and Fowler themselves wrote in 2014 that not enough time had passed to make a full judgement on whether microservices are the future direction for software architecture.2

Security concerns described by NIST

NIST's SP 800-204 states the core security problem in its executive summary: every transaction in a microservices system involves sending messages across a network, so network security, reliability and latency are critical factors, and the presence of many microservices exposes a large attack surface.3 It also warns that microservices remain susceptible to most attacks on web applications, such as injection and cross-site scripting, and that developers should not assume an API gateway or service mesh provides all the security a service needs.3 The table sets out the concerns it treats as specific to microservices, with the strategies it recommends.

ConcernWhat NIST describesStrategy NIST recommends
AuthenticationMicroservices are packaged as APIs, so the initial form of authentication involves API keysAPIs with access to sensitive data should not rely on API keys alone, but on signed or verified tokens, some single-use or short-lived (MS-SS-1)
Access controlThe number of services calls for central provisioning of access policiesCoarse-grained policies at the API gateway, fine-grained ones close to the service, and mutual authentication so nothing can bypass the gateway with anonymous connections (MS-SS-2)
Service discoveryMalicious nodes registered in the system, or a corrupted service registry, can redirect requestsSecure communication with the registry, checks that only legitimate services register, and registration by a third party after a health check (MS-SS-3)
Internet-based attacksA microservices system almost always exposes a larger set of network-addressable interfaces than a monolith, and downstream components can be reached directly, skipping upstream controlsClients point to a single gateway URL; client to gateway and service to service traffic is mutually authenticated and encrypted, for example with mutual TLS (MS-SS-4)
Cascading failureIf a service upstream in a transaction fails, services depending on it may become unresponsive tooCircuit breakers that stop sending requests to a failing service, deployed in a proxy, alongside load balancing and rate limiting (MS-SS-6 to MS-SS-8)
MonitoringMany services run on different servers and platforms, and any meaningful transaction involves two or more of themMonitoring at gateway and service level, a central dashboard, and a baseline of normal behaviour against which deviations are detected (MS-SS-5)
Microservices security concerns and the strategies NIST recommends, from SP 800-204 (August 2019); MS-SS numbers are NIST's own labels3

NIST also explains why the style can weaken layered defences. In many traditional designs an exposed web server talks to a hardened backend service, which alone talks to the database; a microservices design tends to collapse those layers into services that may be more exposed, which can leave fewer layers of protection between a caller and sensitive data.3 A later NIST publication, SP 800-204A, gives deployment guidance for a service mesh, which it describes as the best-known approach for applying authentication, encryption, resilience and monitoring requirements uniformly without changing each microservice's code.8 The series has since grown to cover attribute-based access control in a service mesh (SP 800-204B, August 2021)9 and software supply chain security in build and deployment pipelines (SP 800-204D, February 2024),10 while the security of the containers that microservices often run in has its own guide, SP 800-190.11

The UK's National Cyber Security Centre (NCSC) makes a related point about redundancy in its secure design principles. If 10 identical load-balanced servers each have a 1 in 10 chance of random failure, the chance of all failing at once is 1 in 10,000,000,000, but if they share the same vulnerability, an attacker can make all 10 fail with very little extra work.12 Running many copies of a service protects against random failure; it does not by itself protect against a flaw common to every copy.12

Operational resilience rules and architecture

UK insurers' architecture choices sit inside the operational resilience rules of the Prudential Regulation Authority (PRA) and the Financial Conduct Authority (FCA). Neither the PRA's SS1/21 nor the FCA's PS21/3 mentions microservices; both set expectations in terms of services, the resources behind them and the time a disruption may last.1314 SS1/21 sets out the PRA's expectations; the binding rules are the Operational Resilience Parts of the PRA Rulebook.13

PointPRA SS1/21FCA PS21/3
Who it covers, among othersUK Solvency II firms, the Society of Lloyd's and its managing agents13Insurers, banks, building societies, enhanced scope SM&CR firms and payment and e-money firms; the rules name Solvency II firms14
Important business serviceA service which, if disrupted, could pose a risk to the firm's safety and soundness or, for some firms, UK financial stability; insurers must also consider policyholder protection13A service provided by a firm, or by another person on its behalf, to clients which, if disrupted, could cause intolerable levels of harm to clients or pose a risk to the UK financial system or orderly markets14
Impact toleranceThe maximum tolerable level of disruption, measured by a length of time in addition to any other relevant metrics; a time-based metric is required13The maximum tolerable level of disruption, measured by a length of time in addition to any other relevant metrics14
MappingIdentify and document the people, processes, technology, facilities and information behind each service; update at least annually13Map the same resources; the FCA's mapping guidance describes technology as the underlying systems and architecture that support the service14
TimingIn effect from 31 March 2022; able to remain within impact tolerances no later than 31 March 202513In force from 31 March 2022; able to stay within impact tolerances by 31 March 202514
How the UK operational resilience rules frame an insurer's systems: PRA SS1/21 (March 2022 version) and FCA PS21/3 (March 2021)1314

Two features of the rules connect directly with how software is built. First, the PRA expects scenario testing to consider the entire chain of activities identified as the important business service, and the severity of a scenario can be raised by increasing the number or type of resources unavailable.13 In a microservices system that chain runs across many services, each a resource that can fail; NIST notes that because many business transactions require several services in sequence, an upstream failure can make the services that depend on it unresponsive.3 Second, the PRA observes that firms may outsource to cloud computing providers operating in a number of countries, which it says can improve resilience but also gives rise to new risks that firms must manage.13 Where a platform is supplied as software as a service, the services that make it up sit with the provider, and the PRA expects firms to map the resources behind each important business service whether or not a third party provides them.13 The NCSC's cloud security principles, written to help organisations choose a provider, apply to software as a service as well as to cloud platforms.15

What the survey and research data show

Direct data on microservices adoption is scarce, and none of the sources found is specific to insurance. The Cloud Native Computing Foundation (CNCF), part of the Linux Foundation, runs an annual survey of its community that measures container and Kubernetes use rather than microservices as such; its 2024 report describes cloud native computing as deploying applications as microservices, each component packaged in its own container.16 Its 2025 edition was a web survey run by Linux Foundation Research and its partners, so the results describe the organisations that responded, not the market as a whole.17

CNCF Annual Cloud Native Survey, fielded September 2025

628
respondents across industries, company sizes and regions
98%
of organisations use cloud native techniques in at least some capacity
56%
use containers for most or all production applications, up from 41% in 2023
82%
of container users run Kubernetes in production
10%
of end-user organisations are just beginning or not yet using cloud native, down from 13% in 2023
47%
of end-user organisations cite cultural changes with the development team among their container challenges, the most-cited (more than one answer allowed)
Source: Cloud Native Computing Foundation, The CNCF Annual Cloud Native Survey, January 2026. Percentages are of end-user organisations (351 to 386 answering each question), not all 628.

Research on moving existing systems is mostly qualitative. Fritzsch and colleagues interviewed 16 software professionals at 10 companies, all based in Germany, about 14 microservices-based systems, most of them migrations from existing systems; one company was in financial services and most were software and IT services firms.18 They found maintainability and scalability to be the main drivers, and that most companies preferred to rewrite their systems with current technologies rather than split up the existing code, often because no suitable decomposition approach was available.18

TypeAspectSystems (of 14)
ReasonMaintainability10
ReasonScalability7
ReasonTime to market for new features4
ReasonCompany-wide strategy prescribed microservices3
StrategyRewrite of the existing application9
StrategyStrangler pattern: gradual replacement of the old system7
ChallengeFinding the right decomposition into services8
ChallengeLack of expertise8
ChallengeOrganisational mindset change9
Reasons, strategies and challenges named for 14 microservices-based systems, most of them migrations from existing systems, from interviews with 16 professionals at 10 companies in Germany (Fritzsch and others, 2019); more than one could apply to each system18

The gradual route in the table has support in NIST's account of the API gateway, which can keep clients connected to the gateway while a monolithic application is progressively split into microservices behind it.3 Where each new service has its own database, existing data has to be moved, which is a data migration project in its own right. Simply moving an old system to the cloud unchanged, known as lift and shift, is an approach the NCSC recommends avoiding where possible.19

Show References Hide References
  1. Nicola Dragoni and others. Microservices: yesterday, today, and tomorrow. Survey chapter, arXiv:1606.04036v4, April 2017.
  2. James Lewis and Martin Fowler. Microservices. 25 March 2014.
  3. National Institute of Standards and Technology. SP 800-204: Security Strategies for Microservices-based Application Systems. R. Chandramouli, August 2019.
  4. Martin Fowler. Microservice Trade-Offs. 1 July 2015.
  5. Martin Fowler. What do you mean by “Event-Driven”?. 7 February 2017.
  6. Cloud Native Computing Foundation. Cloud Native Glossary: Microservices Architecture. Page last modified 10 June 2024, read 10 November 2026.
  7. Martin Fowler. MonolithFirst. 3 June 2015.
  8. National Institute of Standards and Technology. SP 800-204A: Building Secure Microservices-based Applications Using Service-Mesh Architecture. R. Chandramouli and Z. Butcher, May 2020.
  9. National Institute of Standards and Technology. SP 800-204B: Attribute-based Access Control for Microservices-based Applications Using a Service Mesh. August 2021.
  10. National Institute of Standards and Technology. SP 800-204D: Strategies for the Integration of Software Supply Chain Security in DevSecOps CI/CD Pipelines. February 2024.
  11. National Institute of Standards and Technology. SP 800-190: Application Container Security Guide. M. Souppaya, J. Morello and K. Scarfone, September 2017.
  12. National Cyber Security Centre. Secure design principles: 3. Make disruption difficult. Published 21 May 2019.
  13. Prudential Regulation Authority. SS1/21: Operational resilience: Impact tolerances for important business services. March 2022, updating March 2021.
  14. Financial Conduct Authority. PS21/3: Building operational resilience, Feedback to CP19/32 and final rules. March 2021.
  15. National Cyber Security Centre. The cloud security principles. Read 10 November 2026.
  16. Cloud Native Computing Foundation. Cloud Native 2024: Approaching a Decade of Code, Cloud, and Change. Published 1 April 2025.
  17. Cloud Native Computing Foundation. The CNCF Annual Cloud Native Survey: The Infrastructure of AI’s Future. Linux Foundation Research, published 20 January 2026.
  18. Jonas Fritzsch, Justus Bogner, Stefan Wagner and Alfred Zimmermann. Microservices Migration in Industry: Intentions, Strategies, and Challenges. 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME); arXiv:1906.04702.
  19. National Cyber Security Centre. How to ‘lift and shift’ successfully. Version 2.1, published 28 November 2023.

Frequently Asked Questions

Are microservices the same as containers or cloud native?

No, although the two are closely linked. NIST's SP 800-204 says a microservice instance may run as a process in an application server, in a virtual machine or in a container, and that a microservices application can be implemented purely as an enterprise application rather than as a cloud service, even though it is often identified as a cloud-native application. NIST's container security guide, SP 800-190, describes containers as a form of operating system virtualisation combined with application software packaging. Its glossary defines a microservice more narrowly than SP 800-204 does, as a set of containers that work together to compose an application.

The container guide explains why they are paired. Containers are meant to be immutable: a running container is not changed but destroyed and replaced by a new one carrying the update, which NIST says can take an organisation from deploying a new version of an application every quarter to deploying new components weekly or daily. It also names the cost, that there are many more objects to manage and secure, which may cause problems for management and security tools. The CNCF's survey describes Kubernetes as the de facto platform for orchestrating containers.

How are microservices tested before release?

Each service can be tested on its own. The survey chapter by Dragoni and colleagues notes that this lets the scope of testing be adjusted to the size of a change, while integration testing can become very tricky. NIST's SP 800-204 lists among the disadvantages that an integration test is more difficult to run, because it needs an environment in which all components are working and communicating with each other. Releases can also be staged. NIST describes blue/green deployments, where an API gateway aware of both versions redirects requests to the new one, and canary releases, where only a limited amount of traffic goes to a new version until enough is known about how it behaves.

Testing for failure is part of the work. The NCSC's secure design principles suggest identifying bottlenecks such as an essential microservice that calls a third party service, and simulating denial of service attacks by purposefully terminating certain microservices or infrastructure elements in pre-production environments. For insurers within the operational resilience rules, the PRA's SS1/21 adds that scenario testing should not pose a material risk of creating a disruption, so a firm that judges live-systems testing most appropriate should first assess the risk that the test itself disrupts an important business service. The PRA also expects firms to test their recovery plans for integrity as well as availability, proportionate to their size and complexity.

How do microservices keep policy, billing and claims data consistent?

Each service owns its data: Lewis and Fowler write that microservices prefer letting each service manage its own database. Because distributed transactions are notoriously difficult to implement, they write, microservice architectures emphasise transactionless coordination between services, recognising that consistency may only be eventual and that problems are dealt with by compensating operations. As an illustration, if a bind succeeds but the billing service cannot create the instalment plan, a compensating step reverses or flags the bind, instead of one database transaction rolling everything back.

NIST's SP 800-204 warns that where interaction between services requires a distributed transaction, it may affect the integrity of the databases if it is not designed properly. Two patterns from Fowler's article on event-driven systems bear on this. In event-carried state transfer, a service keeps its own copy of another service's data, updated by events, gaining resilience and lower latency at the cost of more copies and more complexity in the receiver. In event sourcing, every change of state is recorded as an event, so the state can be rebuilt by reprocessing the events, which also leaves a complete history of changes. The PRA treats integrity as part of resilience: a service that continues to be provided but has insufficient integrity is not within its impact tolerance.

How can an insurer assess the security of a microservices-based SaaS platform?

In the UK, the NCSC's cloud security principles are designed to help organisations choose a cloud provider that meets their security needs. There are 14 of them: data in transit protection, asset protection and resilience, separation between customers, governance framework, operational security, personnel security, secure development, supply chain security, secure user management, identity and authentication, external interface protection, secure service administration, audit information and alerting for customers, and secure use of the service. The NCSC suggests analysing both the service and the company that runs it against the goals of each principle, and notes that different approaches carry different risks.

For a regulated insurer, the PRA's SS1/21 says firms may ask third parties to provide mapping as part of their assurance, but that this is not required in all cases, particularly where other assurance mechanisms are effective and more proportionate.

How long does it take to move from a monolith to microservices?

Published data is thin. In the interview study by Fritzsch and colleagues, the time frames for the migrations they examined ranged from 1.5 to over 3 years, based on finished migrations or expected dates, and only three of the 14 systems had finished their migration activities. Some companies assembled large teams for the initial development to shorten the work, one forming teams of up to 40 people, and in five cases the old and new systems were operated in parallel. Before migration, a major change to one system could take up to six months to go into production; three participants confirmed faster decisions and a significantly shorter time to market.

The route chosen shapes the timeline. Fowler describes peeling microservices off the edges of a monolith, which can leave a substantial monolith at the heart; replacing the monolith entirely; and starting with a couple of coarse-grained services that are split as boundaries stabilise. He cautions that most systems acquire too many dependencies between their modules to be sensibly broken apart.

We'd rather show you than tell you.

We'll start by getting to know your business. Then we'll show you exactly how Genasys handles it.

Insurance People

Zero Fluff

Tailored to You