The safest way to migrate from a monolith to microservices is to do it gradually. Assess your readiness first, pick service boundaries around business capabilities, route traffic through a proxy with the strangler pattern, and move each service's data with it. Replacing everything at once is the riskiest option. This guide walks through that sequence, the points where migrations usually go wrong, and how the same logic applies when an ERP sits in the middle of your systems.
It is written for business owners, startup founders and product teams who need to decide how to modernize a working application without stopping the business. If that is you, the aim is a plan you can brief a technical team on.
TL;DR
- Assess team, DevOps maturity, infrastructure and data ownership before touching code. Most early failures are operational, not coding problems.
- Draw service boundaries around business capabilities and their data, not around the folders in your codebase.
- Use the strangler pattern: put a proxy in front of the monolith and move one capability at a time, keeping a fast route back.
- Move data with each service, and plan for temporary duplication and eventual consistency.
- Treat ERP integration the same way: an API layer, phased cutover and parallel running instead of a big-bang switch.
Table of Contents
- Why migrate at all, and when not to rush
- Step 1: Assess readiness before you plan
- Step 2: Find service boundaries
- Step 3: Use the strangler pattern
- Step 4: Handle data, testing and deployment
- The risks to plan for
- ERP integration during a migration
- What a first 90 days can look like
- Where Requestum fits
- Our perspective
- FAQ
- Sources
Why migrate at all, and when not to rush
Moving to microservices buys independent scaling and independent deployment. It also costs you a distributed system: more moving parts to monitor, secure and test. A migration is justified when a monolith slows releases, when one part of the product needs to scale far beyond the rest, or when several teams keep blocking each other in one codebase.
It is not a goal in itself. If your application is stable, your team is small and releases are easy, a well-structured monolith may serve you for years. The useful question is not "should we use microservices?" but "which specific constraint are we removing, and how will we know it is gone?" Write that down before anything else. It becomes the success measure for the whole program.
Step 1: Assess readiness before you plan
Microsoft's microservices assessment guidance asks you to review business priorities, team composition, DevOps readiness, infrastructure, data ownership and how the system can be decomposed. For each area, record the current state, the gap, an owner and a timeline for closing it.
In plain terms, check these:
- Team: can small teams own a service from code to production, or does every change still need a central release group?
- Delivery pipeline: the same guidance recommends CI/CD automation, continuous monitoring, feature flags and progressive exposure (releasing to a small share of users first) as readiness practices.
- Infrastructure: can you provision environments quickly and repeatably?
- Data: who owns which tables, and which parts of the application write to them?
The assessment does not need to be long. AWS's modernization readiness review, for example, is laid out as four tasks over two weeks: schedule the meeting, interview stakeholders, analyze a questionnaire, and run a debrief. A structured, time-boxed assessment like that turns opinions into a ranked list of gaps. If you want a template for sequencing the work itself, this step-by-step implementation plan shows how phased rollouts are usually organized for smaller teams.
The most common gap is operational. Teams can write a service in a week, but cannot deploy, observe and roll it back safely. Fix that on a low-risk component before anything business-critical moves.
Step 2: Find service boundaries
Bad boundaries are the main way a migration fails. Researchers writing in Communications of the ACM warn that poorly scoped services turn into mini-monoliths and that data ownership is often harder to split than code. They argue the order of splitting should reflect business value, deployment independence and database constraints, not code structure alone.
A workable approach combines two sources:
- Start from business capabilities. Microsoft's boundary guidance says a microservice should generally fit within one bounded context, meaning one area of the business with its own vocabulary and rules, such as billing, inventory or scheduling. Aggregates (a group of records that always change together, like an order and its line items) are frequent candidates because they are cohesive and loosely coupled.
- Map the code. The Carnegie Mellon Software Engineering Institute eight-step approach is to identify and refactor logical components, map their dependencies, group them, create an API, and migrate groups incrementally.
Then test each proposed boundary. The Microsoft guide suggests asking whether the service has a single responsibility, can be deployed independently, can be owned by a small team, is loosely coupled, avoids chatty calls to other services, and keeps data consistent. If a candidate fails two or three of those, redraw it.
Which service goes first
The SEI article notes that good early candidates are components used by many users, used frequently, with few dependencies, or performing too slowly. For a first extraction, favor the one with few dependencies. You are proving the pipeline, the monitoring and the team's habits as much as the service itself. Leave the deeply embedded core, such as pricing or order logic, for after the routine is established.
Step 3: Use the strangler pattern
The strangler pattern (also called the strangler fig pattern) is the standard answer to "how do we avoid a big-bang rewrite?" AWS describes it in its prescriptive guidance: a proxy sits between callers and the monolith. At first it sends all traffic to the monolith. As each capability is rebuilt as a service, the proxy routes that capability's requests to the new service. When everything has moved, the monolith is retired.
The benefits are concrete:
- Users keep using the product throughout, so business disruption is lower.
- Each step is small enough to review, test and reverse.
- Cost is spread out instead of landing in one rewrite budget.
A 2020 research paper on strangler patterns confirms reduced risk and amortized cost as benefits, and notes that the migration can take a long time before the full benefits of the new architecture appear. Plan the program in quarters, not weeks, and report progress by capabilities moved.
Deploy first, release second
Sam Newman and Leandro Guimarães, writing on InfoQ, make a useful distinction. You can deploy a new service to production and test it there before any user traffic reaches it. Only then does a proxy change switch users over, and the same change lets you roll back quickly. They also caution against deleting the old monolith implementation straight after the switch, so you keep a fast route back until you trust the new service.

One warning from the AWS guidance: the proxy itself can become a single point of failure or a performance bottleneck, so size it and make it resilient from the start.
Step 4: Handle data, testing and deployment
Data
Data is where most of the real effort lives. The ideal end state, per the Microsoft readiness guide, is that each service owns its own database. The same guide accepts that shared databases, databases grouped by domain, materialized views or API wrappers can be pragmatic stepping stones.
AWS describes keeping the monolith's database updated through queue-based synchronization during the transition. The trade-off is explicit: eventual consistency and duplicated data. The strangler research paper adds that replicating data between the service and the monolith adds synchronization complexity and can leave either system with stale data.
Practical rules that follow:
- Move a capability together with its data. Extracting only the interface while the data stays central leaves the coupling in place.
- Decide which system is the source of truth for each record during the overlap, and write it down.
- Before production, the SEI guidance recommends checking test environments for lingering access to migrated data, logging and flagging accesses to old data, and updating access controls.
For a deeper look at planning the movement of records, see our guide to a data migration plan with versioned mappings.
Testing
A migration changes how parts of the system talk to each other, so interface testing matters more than before. Verify that each new service behaves exactly as the monolith did for the same inputs, and that every consumer of its API still works. Capture baseline performance and availability numbers from the monolith first, so you can show the new service is at least as good. Our web app security checklist is a good companion for the access-control and evidence side of this work.
Deployment and operations
Automate builds and releases, add monitoring that follows a request across services, and use feature flags to turn capabilities on gradually. You will also run two architectural styles side by side for a while, which the research paper identifies as an extra operating cost. Budget for it rather than being surprised by it.
The risks to plan for
| Risk | What it looks like | Mitigation |
|---|---|---|
| Unclear boundaries | Services that must change together; mini-monoliths | Validate each boundary against independence, ownership and call volume |
| Data synchronization | Stale or duplicated records between old and new | Name a source of truth; use queue-based sync with eventual consistency |
| Proxy failure | Routing layer becomes a bottleneck | Plan capacity and redundancy early |
| Operational overload | Teams cannot monitor or roll back services | Build pipeline and observability on a low-risk service first |
| Long duration | Benefits arrive late | Report progress by capability; keep the program staged |
ERP integration during a migration
Many companies searching for microservices migration also have an ERP (enterprise resource planning system, the software that runs finance, inventory, orders and similar back-office processes) that every application depends on. The same principles apply.
Put an API layer in front of it. Instead of every application connecting to the ERP directly, expose its business functions, such as "create order" or "get stock level", through a small set of APIs. Downstream services depend on the API, not on the ERP's internals, which is exactly the decoupling a strangler proxy gives you for the monolith.
Migrate in phases and run in parallel. If you are also replacing or upgrading the ERP, move by module, region or business line while the old and new systems operate together, rather than switching everything on one weekend.
Expect these challenges:
- Complex business rules spread across finance, supply chain and HR modules.
- Data format mismatches, such as date formats or code lists, that break integrations quietly.
- Limited or paywalled API documentation for some ERP products.
- Security and access control for sensitive financial data.
Best practices that follow: map and validate data fields before building; build and test integrations early rather than at the end; keep credentials and permissions tightly scoped; and prioritize the integrations that carry the most business value first. Our overview of data integration strategy covers how to align use cases and governance before you connect systems.
What a first 90 days can look like
A realistic opening phase does not move much business logic. It focuses on proof and foundations:
- Weeks 1 to 2: readiness assessment, a ranked list of gaps, and a decision on what you are trying to fix.
- Weeks 3 to 5: boundary mapping, dependency map, and selection of a low-dependency first service.
- Weeks 6 to 9: pipeline, monitoring, proxy and feature flags in place; the first service deployed to production but not yet released.
- Weeks 10 to 12: gradual traffic shift, comparison against baseline, and a written retrospective that sets the plan for the next three capabilities.
Treat the timings as a pattern, not a promise: the size of the monolith and the team's starting point will stretch or shrink them. For a broader view of sequencing waves of change, see our cloud migration strategy guide and our piece on modernizing legacy systems.
Where Requestum fits
A migration is mostly decisions made before code is written: what to extract, in what order, with which data. Requestum offers business analysis and a discovery phase that cover that groundwork, software testing and quality assurance to check that each extracted service behaves like the original, and web development including custom ERP and CRM development. If you need extra engineering capacity for the program, a dedicated team is also available. You can see the full range on our services page.

If you are weighing a migration, bring your current architecture and the constraint you want to remove, and we can help you turn them into a staged plan.
Our perspective
We see the same pattern in modernization work: the technology choice is rarely the hard part. The hard part is agreeing on what the business needs to change and then keeping every release small enough to trust.
That is why we put business analysis and QA at the center of a migration, not at the edges. Analysis decides the boundaries. Testing proves each extracted piece behaves as the original did. Together they let you move one capability at a time while customers keep working.
Our advice is to begin with a discovery phase, pick a low-risk first service, and measure it against a baseline before moving anything critical. Teams that do this build confidence, and confidence is what lets a migration continue through the quarters it takes.
Dmitry
FAQ
How do you migrate from a monolith to microservices?
Assess readiness, identify boundaries around business capabilities, and extract one capability at a time behind a routing proxy. Move each service's data with it, test against the monolith's baseline, and retire old code only after the new service has proven itself.
What is the strangler pattern?
It is an incremental migration approach in which a proxy sits in front of the monolith and gradually routes functionality to new services. When every capability has moved, the monolith can be decommissioned. It reduces transformation risk and business disruption compared with a full rewrite.
Which service should you extract first?
Choose a capability with few dependencies, ideally one that is used often or performs poorly. It lets the team prove deployment, monitoring and rollback on something low-risk before touching core business logic.
What are the biggest risks of microservices migration?
Unclear service boundaries, data synchronization between old and new systems, a proxy that becomes a bottleneck, and the added cost of running two architectural styles at once. Gradual extraction with a clear source of truth for each record keeps these manageable.
How does ERP integration fit into a migration?
Expose the ERP's business functions through an API layer so applications no longer connect to it point to point. Migrate in phases while old and new systems run in parallel, and validate data mappings before cutover.
Sources
- Microservices Assessment and Readiness, Azure Architecture Center
- Identify microservice boundaries, Azure Architecture Center
- Evaluating modernization readiness, AWS Prescriptive Guidance
- Strangler fig pattern, AWS Prescriptive Guidance
- 8 Steps for Migrating Existing Applications to Microservices, CMU SEI
- How to Transition Incrementally to Microservice Architecture, Communications of the ACM
- Strangler Patterns, PLoP 2020
- Migrating Monoliths to Microservices with Decomposition, InfoQ
