Skip to content
intermediate Phase 16 · Cloud Migration

Migration Strategies (6 Rs)

Evaluate the 6 migration strategies: Rehost, Replatform, Refactor, Repurchase, Retire, and Retain for each workload.

55m
0 problems
Topic Progress 0%

Introduction to the 6 Rs Framework

The 6 Rs framework, originally developed by Gartner and popularized by AWS, provides a structured approach to classifying migration strategies for applications moving to the cloud. Understanding these strategies is essential for any cloud engineer involved in migration projects, as selecting the wrong strategy can lead to cost overruns, performance issues, or failed migrations.

Rehost (Lift-and-Shift) involves moving applications to the cloud without modifications. This is the most straightforward strategy where you essentially replicate your on-premises environment in the cloud. For example, migrating a physical web server to an EC2 instance with the same operating system and configuration. While this approach is fast and minimizes risk, it may not realize cloud-native benefits like auto-scaling or managed services. A financial services company might rehost their legacy trading platform to maintain compliance requirements while gaining infrastructure elasticity.

Replatform (Lift-Tinker-and-Drop) involves making targeted optimizations during migration without changing the core architecture. You might migrate a MySQL database to Amazon RDS, or move a web application to use Elastic Beanstalk. The application's fundamental design remains unchanged, but you leverage cloud-managed services to reduce operational overhead. A retail company could replatform their e-commerce backend by moving from self-managed Oracle to Amazon Aurora, gaining automated backups and multi-AZ deployment without rewriting application code.

Refactor/Re-architect fundamentally redesigns applications to be cloud-native. This might involve breaking a monolithic application into microservices, adopting serverless architectures like Lambda, or implementing containerization with ECS or EKS. While this strategy offers the greatest cloud benefits, it requires significant development effort and carries higher risk. A media streaming company might refactor their video processing pipeline from batch jobs to an event-driven serverless architecture using Step Functions and Lambda.

Repurchase (Drop-and-Shop) involves moving to a different product, typically a SaaS solution. Instead of migrating and maintaining your email server, you might adopt Microsoft 365 or Google Workspace. This strategy eliminates infrastructure management but requires user training and data migration. Organizations often repurchase CRM systems to Salesforce, HR systems to Workday, or development tools to cloud-based alternatives.

Retire identifies applications that are no longer needed and can be decommissioned. Legacy systems with low usage, duplicate functionality, or outdated technology that provides no business value should be retired rather than migrated. This reduces migration effort and eliminates ongoing costs. A manufacturing company might retire a legacy inventory system that has been superseded by an ERP platform.

Retain applies to applications that should remain on-premises due to regulatory requirements, latency constraints, or strategic decisions. Some workloads are not suitable for cloud migration, such as specialized hardware-dependent applications or data sovereignty requirements. Retain is a valid strategy that should be explicitly documented rather than being the default for difficult workloads.

Portfolio Assessment and Workload Classification

Portfolio assessment is the systematic process of evaluating your application estate to determine the appropriate migration strategy for each workload. This assessment forms the foundation of a successful migration program and requires both technical and business analysis.

The assessment begins with application discovery and inventory. Using tools like AWS Application Discovery Service, you catalog all applications, their dependencies, infrastructure requirements, and performance characteristics. This discovery phase maps the current state, identifying which applications communicate with each other, what databases they use, and what external dependencies exist. For example, you might discover that your order processing system depends on three databases and communicates with five other services.

Business criticality analysis evaluates each application's importance to the organization. Consider revenue impact, user base, compliance requirements, and strategic alignment. High-criticality applications require more careful migration planning, extensive testing, and robust rollback procedures. A healthcare provider might classify patient portal applications as mission-critical while categorizing internal reporting tools as lower priority.

Technical complexity assessment examines factors like application architecture, technology stack, dependencies, and data sensitivity. Applications with complex interdependencies might need to be migrated together as a group. Legacy applications with outdated technologies may require refactoring before migration. Assess the current infrastructure: CPU utilization, memory usage, network patterns, and storage requirements.

Workload classification maps each application to one of the 6 Rs strategies. Create decision trees based on business value, technical complexity, and migration readiness. Applications with high business value and low technical complexity might be rehosted for quick wins. Low business value with high complexity applications might be candidates for retirement or retention. AWS provides migration assessment tools that automatically suggest strategies based on discovered data.

The migration wave planning groups applications into logical migration waves based on dependencies, complexity, and business priority. Early waves typically include low-risk, high-value applications that build organizational confidence. Later waves tackle more complex, mission-critical workloads. A typical enterprise might execute 5-10 migration waves over 12-18 months, starting with development and testing environments before moving to production workloads.

TCO analysis compares the total cost of ownership between on-premises and cloud environments. Factor in infrastructure costs, licensing, operational overhead, staffing, and opportunity costs. AWS TCO Calculator provides frameworks for these analyses. Remember that cloud migration often shifts costs from capital expenditure to operational expenditure, which impacts budgeting and financial planning. Include hidden costs like data transfer, training, and temporary parallel running during transition periods.

Quiz

1. Which migration strategy involves moving an application to the cloud with minimal changes while leveraging managed services?

Question 1 options

2. A company wants to decommission a legacy HR system replaced by a cloud SaaS solution. Which 6 Rs strategy applies?

Question 2 options

3. What is the primary advantage of the Rehost (lift-and-shift) strategy?

Question 3 options

4. When should an application be classified as Retain in the 6 Rs framework?

Question 4 options

Flashcards

Question

What are the 6 Rs of cloud migration?

Answer

Rehost (lift-and-shift), Replatform (lift-tinker-drop), Refactor/re-architect, Repurchase (SaaS), Retire, and Retain.

Question

What is the difference between Rehost and Replatform?

Answer

Rehost moves applications without changes. Replatform makes targeted optimizations like using managed services while keeping the core architecture the same.

Question

When would you choose Repurchase over Refactor?

Answer

When a suitable SaaS alternative exists and the organization wants to eliminate infrastructure management entirely, accepting the change management costs.

Question

What factors drive migration wave planning?

Answer

Dependencies between applications, technical complexity, business priority, risk tolerance, and available resources and skills.

Revision Notes

Key Takeaways

  • 1. The 6 Rs provide a systematic framework for classifying migration strategies for every workload
  • 2. Rehost is fastest but offers least cloud benefit; Refactor offers most benefit but requires most effort
  • 3. Portfolio assessment combines technical discovery with business criticality analysis
  • 4. Migration waves should be planned based on dependencies, risk, and business priority

Interview Tips

  • Be able to explain each of the 6 Rs with real-world examples from your experience
  • Discuss how you would approach a portfolio assessment for a mid-size company
  • Explain when you would recommend Retain versus Rehost for a specific workload
  • Describe how migration wave planning reduces risk in large-scale migrations

Cheat Sheet

6 Rs: Rehost (lift-and-shift, fastest), Replatform (optimize with managed services), Refactor (cloud-native redesign, highest benefit), Repurchase (switch to SaaS), Retire (decommission unused), Retain (keep on-premises). Assessment combines technical discovery, business criticality, and TCO analysis into migration waves.