Decide how to split your customers before you split your code
When a bank wants its data kept apart and updates only once a quarter, but retail chains want features now, deployment stamps matter more than microservices.

In brief
- Microservices make an application more fault tolerant, but they do nothing for per-customer demands such as separate data or slower updates.
- Packing many tasks into one compute unit is cheap, but those tasks then share a release cadence, a fault domain and a security context.
- Deployment stamps separate customers into groups, at the cost of much more infrastructure and tenants that are hard to move between stamps, so infrastructure as code is needed from day one.
Seven customers, one solution: a bank and six mid-sized retail chains. The bank does not want its data sitting alongside anyone else’s and will accept updates only once a quarter. The retail chains want new features as soon as possible. Take a team handing over to exactly that mix, and the usual first question, monolith or microservices, turns out to be the wrong one.
For a forward deployed engineer, the question that matters more is how to split the customers: which ones share infrastructure, which ones get their own copy, and which ones receive updates when.
Microservices split code; deployment stamps split customers. Confuse the two and the result is an expensive system that still fails to satisfy the most demanding client.
Microservices solve a different problem
AWS presents microservices with a clear benefit: because the services are independent of one another, the application tolerates faults better. The benefit is real, but it has a price. As early as 2014, Martin Fowler pointed out that distributed transactions are notoriously difficult to implement.
Fowler’s advice was practical too: start with a monolith, keep it modular, and split it into microservices only once that monolith starts causing problems. The approach suits FDEs, who usually have few people, little time and a client environment to get running before anyone can discuss whether the architecture is elegant.
The opposite case comes with a frequently cited number. An internal Amazon case study, reported by DevClass in May 2023, described how the Prime Video team responsible for audio and video quality monitoring merged its distributed components into a single process and cut infrastructure costs by more than 90%.
That result holds only for that team’s situation, but it is a reminder that splitting things up is never free.
Back to the bank. Breaking the system into 12 services meets neither of its two demands.
With 12 services, the bank still shares a database and a release schedule with every other customer.
Consolidated compute is cheap, but everything is bound together
The Azure Architecture Center has a pattern close to the monolith’s “pack it together to save money” spirit: Compute Resource Consolidation, which shares compute across many tasks to cut costs. The pattern concerns how tasks run on infrastructure rather than how code is organized, but it shows plainly what consolidation costs.
According to that documentation, updating one task means stopping, redeploying and restarting every other task in the same compute unit; consolidated tasks also share a fault domain and a security context.
The same documentation states that tasks handling highly sensitive or private data should not be consolidated, because they need their own security context. Applied to deployments serving many customers, this exposes the limit of running every client in one block: it works until the first customer demands data isolation.
Even with a monolith, one mistake is worth avoiding from the outset. Microsoft lists putting all data into a single data store as an antipattern, because it causes resource contention and degrades performance. The recommendation is to separate data according to how it is used.
A monolith at the code level does not require a single database for everything.
Stamps: split by customer, not by function
Deployment stamps come at the problem from another direction. Instead of dividing the application into parts, you deploy several independent copies of the whole application, each with its own data store. In a multitenant environment, each stamp serves a predefined set of tenants.
Microsoft describes a scenario very close to FDE work: some large customers may need dedicated instances, while smaller customers share a multitenant deployment. Stamps also deal with update cadence.
Some customers accept frequent updates; others are risk-averse and want them rarely, so each stamp can follow a different deployment ring.
Applied to the seven customers: stamp A serves only the bank, with its own data and security context. Stamp B is shared by the six retail chains.
Each new release goes to stamp B first, runs cleanly for a few weeks and only then reaches stamp A. The code remains a modular monolith; only the deployment changes.
| Criterion | Consolidated compute (Compute Resource Consolidation) | Microservices | Deployment stamps |
|---|---|---|---|
| Axis of division | None; many tasks run in one compute unit | Code split by function | Customers split into tenant groups |
| Release cadence | Changing one task means redeploying the whole unit | No per-customer cadence | Each customer group has its own ring and cadence |
| Isolating sensitive data | Shared security context, unsuitable | Not solved per customer | Large customers can have their own stamp |
| Main cost | Shared fault domain | Distributed transactions are hard | Much more infrastructure, tenants hard to move |
| Choose when | Tasks need no separate security context | The monolith is genuinely causing problems | Customers differ on isolation or update cadence |
The table invites reading as three mutually exclusive options, which is a misreading. Stamps are a way of deploying, while monolith or microservices is a way of organizing code, so a modular monolith can run on several stamps, as in the bank and retail example above.
Every copy costs money
Microsoft is also clear about the price: deploying multiple copies of infrastructure significantly raises operating costs. Moving a tenant from one stamp to another is difficult as well. That is why the decision about which customer goes on which stamp should be made carefully during customer discovery, not after the customer is already running in production.
Operating several stamps requires infrastructure as code and drift control. Without them, stamps diverge a little more every time someone makes a manual change in a client’s environment. Microsoft also advises deploying at least two stamps, because with only one it is easy to hard-code assumptions that hold only when there is a single instance.
Stamps are not the default choice, either. According to Microsoft, the pattern should not be used if the solution is simple, does not need to scale much, or a single instance can handle the load. With only one customer, or with customers who all accept sharing, a modular monolith with sensibly separated data is enough.
When the customer wants data kept in a particular region
There is one more option: geodes, where every instance can serve any user rather than a single group of customers, as stamps do. Microsoft says geodes are typically much more complex to design and build, and suit cloud-native platforms with no constraints on data location.
So before considering geodes, ask the customer at the outset whether they have data location requirements. Microsoft states that geodes are a poor fit when there are data residency requirements, or when the application must hold temporary state for a session.
In that case, Microsoft recommends stamps combined with a global routing layer that sends each request to the right stamp.
If a customer requires that data never leave a given region, as banks, hospitals and government agencies often do, the answer is almost ready-made: one stamp per region, with a routing layer in front. It is neither the cleverest nor the most theoretical option, but it is one you can explain to the client’s compliance team.
For developers who want to become FDEs
When reading a job description for an FDE or solutions engineer role, look for terms such as multi-tenant, single-tenant deployment, dedicated instance and infrastructure as code. They signal that the company is dealing with precisely this problem of splitting customers, and that it needs people who understand both axes of architecture.
On a CV, do not just write “migrated the system to microservices”. Spell out how you decided to deploy and why: which customer got its own instance and for what reason, how release cadence was divided, and what you did to stop environments drifting.
An account of a decision that weighed trade-offs is far more persuasive than a list of technologies.
In an interview, if asked “monolith or microservices?”, a good answer usually begins with a question back: how many customers are there, and how do they differ? In an FDE role, how you split customers often decides a project’s fate more than how you split code.
Was this article useful?
Thanks for the feedback!
7 sources
- Deployment Stamps Pattern - Azure Architecture Center | Microsoft Learn · 2026-04-28
- Geode pattern - Azure Architecture Center | Microsoft Learn · 2024-03-18
- Compute Resource Consolidation Pattern - Azure Architecture Center | Microsoft Learn · 2026-04-08
- Monolithic Persistence Antipattern - Azure Architecture Center | Microsoft Learn · 2017-06-05
- Microservices · 2014-03-25
- Introduction to Microservices (AWS)
- Reduce costs by 90% by moving from microservices to monolith: Amazon internal case study raises eyebrows · 2023-05-05