Xoxoftware - XOXO Creative Studio | Web & Mobile App Development | Fred Cheung | Hong Kong
Concepts

Migration Strategies

The 7 Rs of cloud migration — a decision framework for moving workloads to AWS, from simple rehosting to complete retirement.

Overview

Cloud migration strategies — commonly known as the 7 Rs (originally 6 Rs from AWS, with Relocate added later) — provide a decision framework for determining how each workload should move to the cloud, ranging from simple lift-and-shift to full re-architecture.


The 7 Rs

StrategyAlso CalledDescriptionEffortCloud Benefit
RetireDecommissionTurn off applications that are no longer neededLowestN/A
RetainRevisit / Do nothingKeep in current environment; not ready or not worth migratingLowestNone
RelocateHypervisor-level liftMove VMware workloads to VMware Cloud on AWS without modificationLowLow
RehostLift and shiftMove to cloud with no code changes (EC2, same OS, same stack)LowLow–Medium
ReplatformLift, tinker, shiftMake minor optimisations during migration (e.g., RDS instead of self-managed DB)MediumMedium
RepurchaseDrop and shopMove to a different product, typically SaaS (e.g., on-prem CRM → Salesforce)MediumVaries
RefactorRe-architectRedesign using cloud-native services (Lambda, DynamoDB, containers)HighestHighest

Decision Flow

Start: Assess each application

    ├── Still needed? ──No──→ RETIRE

    ├── Ready to migrate? ──No──→ RETAIN (revisit later)

    ├── Running on VMware? ──Yes──→ RELOCATE (VMware Cloud on AWS)

    ├── Need to change platform?
    │     ├── No changes needed ──→ REHOST (lift and shift)
    │     ├── Minor optimisations ──→ REPLATFORM (managed DB, containers)
    │     └── Replace with SaaS ──→ REPURCHASE (drop and shop)

    └── Need cloud-native benefits? ──Yes──→ REFACTOR (re-architect)

Strategy Deep Dive

Retire

  • Identify and decommission applications that have no business value or active users
  • Reduces cost, complexity, and security surface before migration
  • Typically 10–20% of an application portfolio can be retired

Retain

  • Applications with recent upgrades, complex dependencies, or unresolved compliance issues
  • Plan to revisit after the initial migration wave
  • Not a permanent strategy — reassess on a regular cadence

Relocate

  • Move VMware-based workloads to VMware Cloud on AWS without conversion
  • Same VMware tools, same vSphere management, now running on AWS infrastructure
  • Fastest path for VMware-heavy environments

Rehost (Lift and Shift)

  • Migrate servers as-is using AWS Application Migration Service (MGN) or VM Import/Export
  • No application code changes — same OS, same configuration
  • Fastest migration path; optimise later in a second phase
  • Common first step for large-scale data center exits

Replatform (Lift, Tinker, Shift)

  • Make targeted optimisations without changing core architecture
  • Examples: self-managed MySQL → Amazon RDS, Apache → Elastic Beanstalk, on-prem storage → S3
  • Moderate effort with meaningful operational improvements

Repurchase (Drop and Shop)

  • Replace existing application with a SaaS or marketplace equivalent
  • Examples: on-prem email → Amazon WorkMail or Microsoft 365, on-prem CRM → Salesforce
  • May require data migration and user retraining

Refactor (Re-Architect)

  • Redesign application to be cloud-native using serverless, containers, event-driven patterns
  • Highest effort but greatest long-term benefit (scalability, cost efficiency, agility)
  • Typically reserved for strategic applications that need new capabilities
  • Examples: monolith → microservices, scheduled batch → event-driven Lambda

Quick Reference

StrategyCode ChangesInfrastructure ChangesAWS Tools / Services
RetireNoneDecommissionAWS Migration Hub (discovery + tracking)
RetainNoneNoneN/A
RelocateNoneVMware migrationVMware Cloud on AWS
RehostNoneEC2, same OSApplication Migration Service (MGN), VM Import
ReplatformMinimalManaged servicesRDS, Elastic Beanstalk, ECS
RepurchaseN/ASaaS adoptionAWS Marketplace
RefactorSignificantCloud-native servicesLambda, DynamoDB, API Gateway, Step Functions

AWS Implementation Options

Migration PhaseAWS ServicePurpose
DiscoveryAWS Application Discovery Service / Migration HubInventory servers, dependencies, utilisation
PlanningAWS Migration Hub (Strategy Recommendations)Recommend R strategy per application
Server migrationAWS Application Migration Service (MGN)Automated rehost (VM → EC2)
Database migrationAWS DMS + SCTMigrate databases with minimal downtime
Data transferAWS DataSync / Snow FamilyOnline and offline data transfer
VMware migrationVMware Cloud on AWSRelocate strategy
ModernisationAWS App2Container, Microservice Extractor for .NETContainerise or decompose applications

SAA/SAP Exam Tips

SAA Tip: "Migrate to AWS with minimal changes and fastest timeline" → Rehost (lift and shift) using Application Migration Service. "Reduce operational overhead during migration" → Replatform (e.g., self-managed DB → RDS).

SAP Tip: The exam tests understanding of WHICH strategy to recommend for a given scenario. Key signals: "no code changes" → Rehost. "Reduce licensing costs" → Replatform or Refactor. "Move to SaaS" → Repurchase. "Decommission" → Retire.

SAP Tip: AWS Application Migration Service (MGN) is the recommended tool for rehost migrations — it replaces the older Server Migration Service (SMS). Know this distinction for the exam.


Built by Fred Cheung @CookedRicer · Powered by Fumadocs & Github Copilot

On this page