Skip to content
Home
Cloud Migration: Strategies and Execution Guide

Cloud Migration: Strategies and Execution Guide

Cloud Computing Cloud Computing 8 min read 1608 words Beginner ExcellentWiki Editorial Team

Migrating existing applications to the cloud is fundamentally different from building cloud-native applications from scratch. You must assess complex existing systems, understand interdependencies, sequence migrations to minimize business disruption, and handle the human side — team training, organizational change, and new operational processes. According to the 2024 Gartner Cloud Migration Report, enterprises that follow a structured migration methodology complete their migrations 40% faster and with 55% fewer incidents than those using ad-hoc approaches.

The 6 Rs of Migration

The 6 Rs framework, originally defined by Gartner and adopted by all major cloud providers, classifies migration strategies by the level of change required:

Rehost (Lift and Shift)

Move applications to cloud VMs with minimal changes. This is the fastest migration path with the lowest technical risk:

  • Speed: Fastest path — weeks, not months
  • Effort: Minimal — migrate the OS and application to a cloud VM image
  • Optimization: None — you carry existing architecture and operational patterns
  • Cost: Highest long-term cost (no cloud optimization benefits)

Best for: Legacy applications nearing end-of-life, data center lease expirations, urgency to exit colocation facilities

Tooling:

  • AWS Application Migration Service (MGN) — automated rehosting with continuous replication
  • Azure Migrate — discovery, assessment, and migration for Windows Server and SQL Server
  • GCP Migrate for Compute Engine — VM migration from on-premises, AWS, or Azure
# AWS MGN: Start replication from source server
aws mgn start-replication --source-server-id s-1234567890abcdef0

# After test cutover, finalize
aws mgn finalize-cutover --source-server-id s-1234567890abcdef0

Replatform (Lift and Reshape)

Make targeted cloud optimizations without changing core application architecture. Common replatforming changes:

  • Self-managed database → managed database (RDS, Cloud SQL, Azure SQL)
  • Physical server → container (Docker on EC2, ECS, or GKE)
  • Application server → managed runtime (Elastic Beanstalk, App Engine, App Service)
  • File server → managed file storage (EFS, Filestore, Azure Files)

Effort-to-benefit ratio: Moderate effort, significant operational savings. Managed databases alone eliminate patching, backup management, and failover engineering.

Refactor (Re-Architect)

Redesign applications to use cloud-native services — breaking monoliths into microservices, adopting event-driven architectures, using managed services aggressively.

When to refactor:

  • The application has high maintenance costs in its current form
  • You need elasticity the current architecture cannot provide
  • You plan to invest in the application for the next 5+ years

Effort: Highest — may require 6-18 months of engineering work Benefit: Maximum — 40-60% lower TCO, improved developer productivity, elastic scalability

Repurchase

Replace custom software with SaaS alternatives. A homegrown CRM → Salesforce, custom ticketing → Zendesk, in-house HR system → Workday.

Best for: Non-differentiating business functions. If your company is not a ticketing company, do not build a ticketing system.

Retire

Decommission applications that are no longer needed. Migration discovery often reveals 10-20% of workloads have no active users or can be consolidated into other systems.

Benefit: Immediate cost savings — no migration effort, no cloud hosting costs, reduced license and maintenance fees.

Retain

Keep certain applications on-premises due to compliance (data residency regulations), latency requirements (real-time trading systems), technical debt (COBOL on mainframes with no path to modernize), or pending replacement decisions.

The Migration Process

Phase 1: Assess

Inventory every application, server, database, and dependency in your environment:

  • Application discovery — document application portfolio, business criticality, compliance requirements
  • Dependency mapping — identify inter-application communication, database connections, shared filesystems, authentication flows
  • Resource utilization — collect CPU, memory, disk I/O, and network utilization over 30 days for right-sizing

Use automated discovery tools: AWS Application Discovery Service, Google StratoZone, Azure Migrate. These tools install agents on servers and build dependency maps without manual documentation.

Output: A migration scorecard for each application — recommended 6 Rs strategy, estimated effort, risk level, dependencies.

Phase 2: Plan

Group applications into migration waves (logical groups of 5-15 applications per wave):

Wave 0 (Weeks 1-4): Foundational — IAM, networking, logging, monitoring
Wave 1 (Weeks 5-8): Quick wins — dev/test environments, low-risk internal tools
Wave 2 (Weeks 9-16): Medium complexity — internal business applications
Wave 3 (Weeks 17-28): Critical — customer-facing applications, production databases
Wave 4 (Weeks 29-52): Legacy and complex — mainframe, COBOL, specialized hardware

Each wave includes:

  • Pre-migration: finalize architecture, prepare target environment
  • Migration: execute cutover (including data synchronization)
  • Validation: functional testing, performance verification
  • Cutover: switch traffic to cloud environment
  • Post-migration: decommission source (after observation period)

Phase 3: Migrate

Execute each wave using automated tooling:

# Example: Automated migration workflow using boto3
import boto3

mgn = boto3.client('mgn')

def migrate_server(source_server_id):
    """Execute automated server migration."""
    # Start replication
    mgn.start_replication(sourceServerID=source_server_id)
    
    # Wait for replication to complete
    waiter = mgn.get_waiter('replication_ready')
    waiter.wait(sourceServerID=source_server_id)
    
    # Launch test instance
    test_response = mgn.start_test(sourceServerIDs=[source_server_id])
    
    # After test validation, finalize launch
    mgn.start_cutover(sourceServerIDs=[source_server_id])
    
    return f"Migration complete for {source_server_id}"

Database migration: Use AWS DMS (Database Migration Service), GCP Database Migration Service, or Azure Database Migration Service. These tools support continuous replication with minimal downtime — replicate the database while the source remains active, then switch in minutes.

Phase 4: Optimize

After migration, optimize the cloud environment:

  • Right-size resources based on actual utilization (AWS Compute Optimizer, GCP Rightsizing Recommendations)
  • Implement auto-scaling for variable workloads
  • Apply reserved instances for baseline capacity
  • Enable S3 lifecycle policies for storage optimization
  • Monitor and adjust — cost optimization is ongoing

Common Migration Challenges

Dependency mapping blind spots — undocumented connections between applications cause migration failures. Mitigation: run network traffic analysis for 30+ days before migration, use agent-based dependency mapping tools, and always migrate test environments first.

Data transfer bottlenecks — moving 10+ TB of data over the internet takes weeks. Mitigation: use physical transfer appliances (AWS Snowball, GCP Transfer Appliance, Azure Data Box) for datasets over 5 TB. For persistent replication, use AWS Direct Connect or Azure ExpressRoute (dedicated connections).

Compliance re-validation — SOC 2, HIPAA, and PCI DSS certifications need re-validation in the cloud environment. Mitigation: begin compliance review in parallel with migration planning. Most providers offer pre-configured compliant baselines (AWS Config managed rules, Azure Policy Blueprints).

Team skill gaps — operations teams trained on on-premises hardware need cloud training. Mitigation: dedicate 10-15% of migration budget to training and certification. Pair on-premises engineers with cloud architects during migration.

Cost surprises — on-premises costs are fully predictable (electricity, hardware depreciation, lease payments). Cloud costs vary with usage. Mitigation: build a TCO model comparing on-premises vs. projected cloud costs, include egress and data transfer, and implement budgets and alerts from day one.

Migration Tools Comparison

ToolPurposeAWSGCPAzure
Discovery & assessmentApplication inventoryApplication Discovery ServiceStratoZoneAzure Migrate
Server migrationVM rehostingMGNMigrate for Compute EngineAzure Migrate
Database migrationMinimal downtime DB migrationDMSDatabase Migration ServiceAzure DMS
Data transfer (online)Continuous file syncDataSyncStorage Transfer ServiceAzCopy
Data transfer (offline)Physical applianceSnowball / SnowmobileTransfer ApplianceData Box

Post-Migration

Decommission old infrastructure after a 30-90 day observation period. Running both environments doubles costs. Verify the cloud environment is stable, then power down and remove source systems.

Measure success against baseline KPIs:

  • Application response time (equal or better)
  • Infrastructure cost (target: 20-40% reduction vs. on-premises TCO)
  • Deployment frequency (target: 2x improvement)
  • Mean time to recover from incidents (target: 50% reduction)

FAQ

How long does an enterprise cloud migration take? Typically 12-24 months for enterprises with 200-500 applications. The first wave (foundational) takes 4-8 weeks. Subsequent waves accelerate as the team gains experience. A complex mainframe migration may add 6-12 months.

What is the biggest mistake organizations make in cloud migration? Not investing in the assessment phase. Rushing into migration without understanding dependencies, resource utilization, and compliance requirements leads to failed cutovers, cost overruns, and performance degradation in the cloud.

Should I migrate databases before or after applications? After careful dependency analysis, migrate the database first (or application and database simultaneously). Applications that depend on the database cannot function if the database is migrating. Use Database Migration Service for near-zero-downtime replication.

How do I handle licensing in the cloud? Microsoft SQL Server and Windows Server licenses can be brought to Azure via Azure Hybrid Benefit (up to 40% savings). AWS and GCP charge per-hour licensing for Windows and SQL. Consider license mobility for Oracle, IBM, and SAP workloads.

What percentage of applications should be rehosted vs refactored? A common distribution: 50-60% rehost, 20-30% replatform, 10-15% refactor, 5-10% retain, 5-10% retire. Refactor only when the business case clearly justifies the investment.

Cloud Computing OverviewCloud Architecture PatternsCloud Cost Optimization

Related Concepts and Further Reading

Understanding cloud migration requires familiarity with several interconnected ideas and principles that together form a complete picture. Exploring these related concepts deepens your knowledge and provides context that makes the core material more meaningful and applicable. Each concept builds on the others, creating a web of understanding that supports deeper learning and practical application. Taking time to explore how these elements connect reveals patterns that accelerate comprehension and retention of new information.

The relationship between cloud migration and adjacent fields is worth particular attention. Many of the most important insights emerge at the boundaries between disciplines, where ideas from different areas combine to create new approaches and solutions that neither field could produce alone. Exploring these connections pays dividends in both breadth and depth of understanding, revealing patterns and principles that might otherwise remain hidden from view. Cross-disciplinary knowledge is increasingly valued as problems become more complex and interconnected.

For those looking to go beyond introductory material, several excellent resources provide deeper treatment of specific aspects of cloud migration. Academic journals, industry publications, authoritative reference works, and online courses each offer different perspectives and levels of detail. The key is to match your reading to your current learning goals and build knowledge progressively, focusing on quality over quantity in your study materials. A well-chosen resource that matches your current level is worth more than dozens of resources that are too basic or too advanced.

Section: Cloud Computing 1608 words 8 min read Beginner 756 articles in section Report inaccuracy Back to top