Ask ten architects how to migrate an application to the cloud and most will reach for a model built from a single letter: R. The model has grown over fifteen years from five options to seven, and the growth itself tells a useful story about how cloud migration thinking has matured.
Where the model came from
Gartner introduced the original five options in 2010: rehost, refactor, revise, rebuild and replace, as a way to help organisations classify applications before a migration project rather than treating every application the same way. As cloud adoption matured, a sixth option, retire, was added to acknowledge that not every application earns a place in the new environment at all. A seventh, relocate, followed later to cover a narrower case: moving infrastructure into the cloud with almost no change to the application itself.
The seven options in practice
- Retire. Decommission the application. If nobody would miss it, the cheapest migration is the one you do not do.
- Retain. Leave the workload where it is for now, and revisit the decision later as conditions change, rather than forcing every application onto the same timeline.
- Rehost. Move the application to the cloud with little or no change, commonly called lift and shift. Fast, but it carries the original design, including its inefficiencies, into the new environment unchanged.
- Relocate. Move the underlying infrastructure into the cloud with minimal disruption, often used for virtualised workloads that can shift platform without touching the application layer at all.
- Replatform. Make a small number of targeted changes, such as moving to a managed database, while leaving the core application architecture intact. Sometimes called lift, tinker and shift.
- Repurchase. Replace the application with a different product entirely, often moving from a self managed system to a commercial, subscription based equivalent. Sometimes called drop and shop.
- Refactor. Re architect the application to take advantage of cloud native capabilities. The most transformative option, and the most expensive and time consuming one.
A rule that is easy to forget under deadline pressure
For a migration covering many applications at once, the common and recommended strategies are rehost, replatform, relocate and retire. Refactoring is usually discouraged for large scale migrations, for a simple reason: it modernises the application during the migration itself, which combines two different kinds of risk, moving a workload and changing its architecture, into one project with one deadline. When both go wrong at the same time, it becomes very hard to tell which decision caused the failure.
Decide before you move, not while you move
The most useful part of the R model is not the labels. It is the discipline of classifying every application in the portfolio before migration work starts, rather than deciding strategy application by application as deadlines approach. In my seven layer framework, this classification sits at the governance layer: a portfolio decision made deliberately, with a named owner, before the technology work begins, not an afterthought discovered during a late project review.
Further reading
- AWS Prescriptive Guidance, “About the migration strategies”
- IBM, “The 7 R’s of cloud migration”