Cloud Migration Strategies: Lift-and-Shift vs Re-Architecture
Compare the 6 Rs of cloud migration - rehost, replatform, refactor, repurchase, retain, and retire - to find the right migration strategy for each workload.
Cloud Migration Strategies: Lift-and-Shift vs Re-Architecture
Migrating to the cloud is not a single technical exercise. It is a portfolio of decisions where each application demands its own migration strategy based on business value, technical complexity, and organizational readiness. The organizations that succeed at cloud migration are the ones that resist applying a single approach to every workload.
This guide walks through the major migration strategies, provides a decision framework for matching workloads to strategies, and shares practical lessons from real migration programs.
The 6 Rs of Cloud Migration
AWS popularized the "6 Rs" framework for categorizing migration strategies. Despite the marketing origin, it remains the most practical classification system for migration planning.
Rehost (Lift and Shift). Move workloads to the cloud with minimal changes. An on-premises VM becomes an EC2 instance. The application code, configuration, and architecture stay the same. This is the fastest migration path, typically achievable in days to weeks per workload.
Replatform (Lift and Reshape). Make targeted optimizations during migration without changing core architecture. Replace a self-managed MySQL database with Amazon RDS. Swap a self-managed message queue with Amazon SQS. Move from VMs to containers. Each change reduces operational burden while keeping the application largely intact.
Refactor (Re-Architect). Redesign the application to be cloud-native. Break a monolith into microservices. Replace file-based storage with object storage and CDN. Adopt serverless for event processing. This approach maximizes cloud benefits but requires significant engineering investment.
Repurchase. Replace the application with a SaaS equivalent. Move from a self-hosted CRM to Salesforce, or from a self-managed email server to Google Workspace. This eliminates infrastructure management entirely but may require data migration and workflow changes.
Retain. Keep the workload on-premises, at least for now. Some applications are too tightly coupled to on-premises hardware, have regulatory restrictions, or provide insufficient business value to justify migration effort.
Retire. Decommission the application entirely. Migration assessments frequently discover applications that are no longer needed - redundant systems, legacy tools with three remaining users, or applications replaced by newer solutions.
Decision Framework: Matching Workloads to Strategies
Choosing the right strategy requires evaluating each workload across multiple dimensions.
Business criticality and time pressure. High-value workloads that need cloud benefits immediately justify re-architecture investment. Applications with imminent datacenter lease expirations or compliance deadlines may need the speed of lift-and-shift regardless of long-term optimization potential.
Technical debt and complexity. Applications built on modern frameworks (containerized, stateless, API-driven) are straightforward to replatform or refactor. Legacy applications with deep dependencies on specific OS versions, middleware, or hardware are better candidates for rehosting initially with a planned optimization phase later.
Team expertise. Re-architecture requires cloud-native skills: container orchestration, managed service integration, infrastructure as code. If your team is building these skills, start with simpler migrations (rehost, replatform) to gain experience before tackling complex refactoring.
Cost-benefit analysis. For each workload, estimate the cost of each viable migration strategy against the expected benefits. A rarely-used internal tool does not justify a $200,000 re-architecture project. Lift-and-shift it for $5,000 and move on to higher-value work.
A practical scoring model:
| Factor | Rehost | Replatform | Refactor |
|---|---|---|---|
| Migration speed | Fast (days-weeks) | Medium (weeks-months) | Slow (months-quarters) |
| Cloud optimization | Low | Medium | High |
| Engineering effort | Low | Medium | High |
| Operational improvement | Minimal | Moderate | Maximum |
| Risk | Low | Medium | Higher |
The Case for Lift-and-Shift
Lift-and-shift gets criticized as a strategy that "wastes cloud potential," but it serves important purposes.
Speed to exit the datacenter. When your datacenter lease expires in six months and you have 200 workloads to migrate, re-architecting everything is not an option. Lift-and-shift provides a realistic path to meet the deadline.
Immediate infrastructure savings. Even without cloud optimization, rehosting typically reduces infrastructure costs by 15-25% through right-sizing, eliminating over-provisioned hardware, and moving to reserved pricing.
Foundation for future optimization. Once a workload is in the cloud, it is dramatically easier to refactor incrementally. Replace the database with a managed service. Add autoscaling. Containerize the application. Each step improves the workload without requiring a big-bang re-architecture.
Organizational learning. Early lift-and-shift migrations build team familiarity with cloud operations, networking, security, and tooling. This experience makes subsequent, more complex migrations run smoother.
The key mistake to avoid: Treating lift-and-shift as the end state. Rehosted workloads should have a planned optimization roadmap. Otherwise, you end up running expensive on-premises architectures on even more expensive cloud infrastructure.
The Case for Re-Architecture
Re-architecture delivers the full potential of cloud computing: elastic scalability, pay-per-use pricing, global distribution, and managed service leverage. When justified, it transforms both the application and the team's operational capabilities.
When re-architecture pays off:
- The application is a core business differentiator that will run for years and receive continuous investment.
- Current architecture creates scaling bottlenecks that limit business growth.
- Operational costs (patching, maintenance, incident response) for the current architecture are unsustainable.
- The application needs capabilities that are impractical to bolt onto the existing architecture: multi-region deployment, real-time processing, or massive concurrent user support.
A phased re-architecture approach reduces risk:
Phase 1: Containerize the monolith and deploy it on ECS or EKS. This changes the deployment model without changing the application.
Phase 2: Extract peripheral services first - authentication, notifications, file processing. These have clear boundaries and limited coupling to the core application.
Phase 3: Decompose the core domain into services based on bounded contexts identified through domain modeling. This is the most complex phase and should happen after the team has built confidence from earlier phases.
Phase 4: Adopt managed services for data, messaging, and compute where they reduce operational burden. Replace self-managed Kafka with Amazon MSK, self-managed Redis with ElastiCache, and batch processing with Lambda or Step Functions.
Hybrid Migration: The Practical Reality
Most migration programs use multiple strategies simultaneously. The portfolio approach assigns the right strategy to each workload based on its characteristics.
A typical distribution for a 100-application portfolio:
- 20-30% Retire (applications no longer needed)
- 10-15% Repurchase (replace with SaaS)
- 30-40% Rehost (fast migration, optimize later)
- 15-20% Replatform (targeted optimizations)
- 5-10% Refactor (strategic applications)
- 5-10% Retain (not ready or not suitable for cloud)
Sequencing matters. Start with low-risk, low-complexity workloads to build migration muscle. Development environments, static websites, and stateless applications are ideal early candidates. Save mission-critical databases, tightly coupled enterprise applications, and real-time systems for later waves when your team has process maturity.
Dependency mapping is critical. Applications do not exist in isolation. An application that depends on a shared database, a middleware layer, or a network file system cannot be migrated independently. Map dependencies before planning migration waves to avoid migrating an application whose dependencies are still on-premises with a high-latency WAN connection between them.
Common Migration Pitfalls
Underestimating networking complexity. On-premises applications often assume low-latency, high-bandwidth local networking. In the cloud, cross-AZ and cross-region latency, NAT gateway costs, and VPN throughput limits create issues that surface in production as performance degradation.
Ignoring licensing implications. Many enterprise software licenses (Oracle, SQL Server, SAP) have specific cloud licensing terms that can dramatically increase costs. Evaluate licensing before choosing a migration strategy - sometimes repurchase or open-source alternatives are more economical than rehosting licensed software.
Skipping the assessment phase. Teams eager to start migrating skip thorough application discovery and dependency mapping. This leads to mid-migration surprises: undocumented dependencies, forgotten batch jobs, and hardcoded IP addresses that break after migration.
Insufficient testing. "It works on-premises" does not mean it works in the cloud. Performance testing, failover testing, and user acceptance testing in the cloud environment are essential before cutover. Allocate at least 30% of your migration timeline for testing.