Skip to content
MarsLab

Legacy Migration Partner vs Re-platforming Firm

What rehost, replatform, refactor and rebuild mean, what each kind of partner does, and how to tell which one your project needs.

8 min readPublished Nov 2026

A legacy system migration partner moves an existing system to new infrastructure or a newer stack and proves it behaves the same. A re-platforming firm changes the platform underneath the system, or rebuilds it, and accepts that behavior will change. Which you need depends on whether the problem is where the system runs or what it cannot do.

What do rehost, replatform, refactor and rebuild mean?

They are strategies for each application in a move, defined by how much of the application changes. Rehost changes nothing, replatform changes a little, refactor changes the code or architecture, and rebuild replaces the application. AWS and Microsoft publish their own lists, and the two differ slightly.

AWS’s migration strategies guide lists seven, which it calls the 7 Rs: retire, retain, rehost, relocate, repurchase, replatform, and refactor or re-architect. Microsoft’s Cloud Adoption Framework says each workload can be retired, retained, rehosted, replatformed, refactored, rearchitected, rebuilt or replaced.

What is the difference between rehosting and replatforming?

Rehosting moves an application to a new environment without changing it, which AWS also calls lift and shift. Replatforming moves it and makes some changes on the way to run it more cheaply or use the new platform, such as moving a Microsoft SQL Server database to a managed service like Amazon RDS. AWS calls that lift, tinker and shift. Rehosting is quicker and carries the old system’s flaws across. Replatforming takes longer and gains some of the new platform’s benefits.

  • Rehost: AWS describes it as lift and shift, moving applications from the source environment to the cloud without making any changes to the application.
  • Replatform: AWS says you move the application and introduce some level of optimization, for example moving a Microsoft SQL Server database to Amazon RDS for SQL Server. Microsoft describes the driver as needing PaaS solutions and minimal code changes.
  • Refactor: Microsoft frames it as code changes to reduce technical debt or optimize code for the cloud. AWS groups it with re-architecting, where you modify the architecture to take full advantage of cloud-native features.
  • Rebuild: Microsoft’s term for a new cloud-native solution, used when the legacy system is too outdated or inflexible. AWS’s list has no rebuild entry.

Vendors use re-platforming loosely. In AWS’s definition it is a light-touch step. In sales conversations the word often stretches to cover a full rebuild, and MarsLab’s own service page pairs re-platforming with rebuild. Ask any partner which meaning they intend before you compare proposals.

What does a legacy system migration partner do?

It moves a working system to a new home with as few changes as possible and shows that nothing was lost on the way. The work is mostly inventory, data movement, cutover planning and testing against the old system’s behavior.

  • Inventory: servers, databases, scheduled jobs, integrations and the people who depend on them.
  • Data migration: replication, so the old system keeps serving users until cutover.
  • Parity testing: the same inputs through old and new, with every difference explained.
  • Cutover and rollback plans, written before cutover day.
  • Security and access set up for the new environment.

AWS notes that with rehost your application continues to serve users while the workloads are being migrated, which minimizes disruption and downtime, and that the downtime depends on your cutover strategy. MarsLab’s legacy system migration page describes its own method: using AI agents to read old code, stored procedures, business rules, exceptions and historical behavior, then rebuilding on a modern stack and proving parity before cutover.

What does a re-platforming firm do?

It changes the technology under the application, and sometimes the application itself, so the system can do things the old one could not. The range runs from swapping a database for a managed service to a full rebuild running beside the live system.

At the light end, AWS gives examples such as moving virtual machines into containers without code changes, or porting .NET Framework applications to .NET Core. At the heavy end, the firm designs a new architecture, builds it, and runs it in parallel until the old one can be switched off.

MarsLab’s platform rebuild page describes the heavy end: rebuilding aging platforms in parallel with the live system so teams can modernize architecture without freezing the product roadmap, using agent-assisted code archaeology and continuous parity testing.

How do the two kinds of partner differ in practice?

A migration partner is judged on whether the new system matches the old one. A re-platforming firm is judged on whether the new system meets requirements the old one could not, while keeping the behavior you chose to keep.

  • Goal: migration keeps behavior and changes location. Re-platforming changes capability.
  • Scope of change: migration touches infrastructure, data and configuration. Re-platforming touches architecture and application code.
  • Success test: migration passes when results match the old system. Re-platforming passes when the new requirements are met and the retained behavior still holds.
  • Predictability: migration is usually shorter and easier to estimate. A rebuild has more unknowns.
  • Skills: migration leans on infrastructure, data movement and cutover. Re-platforming leans on architecture, application engineering and product decisions.
  • Main risk: migration can copy problems forward. Re-platforming can lose behavior nobody wrote down.

How do you tell which one a project needs?

Start with the reason for the project. If the reason is where the system runs, you need migration. If the reason is what the system can no longer do, you need re-platforming or a rebuild. If nobody can say what the system does, you need discovery first.

  • Hosting cost, end-of-life hardware, a data center exit or a compliance requirement to change provider points to migration, with some replatforming where a managed service helps.
  • Slow releases, a language few people know, or an architecture that blocks a capability points to refactor, rearchitect or rebuild. Microsoft lists a legacy system that is too outdated or inflexible as the indicator for rebuild.
  • A commodity function points to replacing it with a SaaS product. Microsoft lists little need for customization as an indicator.
  • An application with no business value points to retiring it. Microsoft lists a stable, compliant workload with low return from migration as an indicator for retaining it.
  • No one can describe the business rules in the system, so start with a discovery stage, such as an AI discovery and ROI roadmap, before choosing a strategy.

AWS recommends against refactoring during a large migration, because it involves modernizing the application during the migration and is the most complex strategy. It advises rehosting, relocating or replatforming first and modernizing afterward.

What are the risks of a migration?

The main risks are carrying existing problems into the new environment and breaking something nobody listed. A migration that matches the old system exactly also matches its flaws.

  • Carrying problems forward: AWS says rehost does not implement the cloud optimizations that could save time or money, so inefficiencies and their cost move with the system.
  • Hidden dependencies: a scheduled job or integration missing from the inventory stops working after cutover.
  • Cutover: downtime depends on the strategy, so ask for the rollback plan in writing.
  • Undocumented rules: behavior that depended on the old environment, such as a time zone or a file path.

What are the risks of re-platforming or a rebuild?

The main risks are lost behavior and a project that runs long. Old code often encodes exceptions that no document records, and a rebuild that omits them fails in ways users notice first.

  • Lost behavior: the control is parity testing against the old system, with every difference reviewed.
  • Scope growth: new features added mid-rebuild move the date.
  • Long parallel running: two systems to maintain, and sometimes a frozen product roadmap.
  • Operating knowledge: a new stack needs people who can run it, so handover and documentation are part of the scope.

What does a migration look like when it goes well?

The live system stays up, the data moves with checks, and the client ends with an environment it owns. MarsLab’s example is LegalCare, a legal technology client whose platform could not go dark.

LegalCare provides secure case management and compliance tools to law firms. MarsLab moved it from AWS to Azure using Azure Migrate and Azure Site Recovery, moved databases from AWS RDS to Azure SQL with replication for near-zero downtime, and moved storage from S3 to Azure Blob. Identity and compliance were rebuilt on Azure AD with role-based access control and multi-factor authentication. Infrastructure cost fell 30 percent. The details are in the LegalCare case study.

By the AWS definitions above, the database and identity changes go beyond a pure rehost. The case study does not use those labels, so that classification is ours, and it describes infrastructure work, not an old code base being read and rebuilt. The platform rebuild page also cites the StudyBuddy case study, where seven departments passed work to each other by hand until MarsLab built one AI-native ERP across them.

Can you migrate first and re-platform later?

Yes, and for large estates AWS recommends it. Move first with minimal change, then modernize once the system is stable in its new home.

AWS gives a reason: applications are easier to optimize or re-architect when they are already running in the cloud, because it is easier to integrate with its services and manage the workloads. The cost is paying twice for some work. The benefit is that each step can be tested against the one before it.

What questions should you ask a partner?

Ask which strategy they propose for each application and how they will prove the new system behaves like the old one. The answers show whether the firm has done this before.

  • Which of rehost, replatform, refactor and rebuild do you propose for each application, and why?
  • How will you prove the new system behaves like the old one, and who writes the parity tests?
  • How will you find business rules that nobody wrote down?
  • What is the cutover plan, and what is the rollback?
  • What runs in parallel, and for how long?
  • Who owns the code, the cloud accounts and the data in the new environment? If you can’t export it, you don’t own it gives a checklist.
  • What documentation will my team have at handover, and could another firm operate the system from it?
  • What happens if discovery shows the project is not worth doing?

When should you talk to MarsLab?

Talk to us if you have a system you cannot move, change or explain, and want to know whether it needs a migration, a re-platform or neither. Describe the system and the reason for the project on the contact page, and we will tell you if there is no real gain to be had in eight weeks.

We want your hardest problems.

We collaborate with ambitious organisations ready to move beyond AI experimentation. If you’re looking to transform how your business operates, we’d love to build with you.

Book an intro call (opens in a new tab)

Thirty minutes with an engineer, not a sales sequence. Pick a slot that suits you.