Migration Strategies and Tools
Migration Strategies (The 4Rs)β
| Strategy | What It Means | When to Use |
|---|---|---|
| Rehost (Lift and Shift) | Move workloads to GCP with no changes β same OS, same app, same config | Speed is the priority; modernisation can come later |
| Replatform (Lift and Reshape) | Minor changes to take advantage of managed services β e.g. move from self-managed MySQL to Cloud SQL | Reduce ops overhead without rewriting the app |
| Refactor / Re-architect | Redesign the app for cloud-native patterns β containers, microservices, serverless | Long-term cost and scalability benefits; requires significant investment |
| Retire / Replace | Decommission the workload or replace with a SaaS product | No longer needed, or a better SaaS alternative exists |
Exam signal: "Minimise migration effort / time" β Rehost. "Reduce long-term ops overhead" β Replatform. "Scale globally / modernise architecture" β Refactor.
Migration Phasesβ
Assess β Plan β Migrate β Optimise
- Assess β discover and inventory workloads; evaluate dependencies, licensing, and TCO
- Plan β define migration waves, network topology, identity federation, landing zone
- Migrate β execute migrations service by service; validate in parallel
- Optimise β right-size, apply CUDs, implement monitoring, improve architecture
Migration Toolsβ
Google Cloud Migration Centerβ
Centralised platform for discovering, assessing, and planning migrations. Collects inventory from on-premises systems and provides:
- Dependency mapping between workloads
- Fit assessment for GCP (suitability for different migration strategies)
- TCO and cost estimates for GCP alternatives
Migrate for Compute Engine (formerly Velostrata)β
Migrates VMware, physical, and cloud VMs to Compute Engine with minimal downtime. Supports:
- Test clones β spin up a GCE copy of the VM for testing without cutting over
- Cutover β switch production traffic to GCE; the source VM is the fallback
Database Migration Service (DMS)β
Managed, minimal-downtime database migrations to Cloud SQL and AlloyDB. Supports:
- MySQL β Cloud SQL for MySQL
- Postgres β Cloud SQL for Postgres / AlloyDB
- SQL Server β Cloud SQL for SQL Server
- Uses CDC (Change Data Capture) to keep source and destination in sync during migration; cutover when lag is near zero
BigQuery Migration Serviceβ
Migrates data warehouse workloads to BigQuery:
- Schema and data migration from Teradata, Redshift, Snowflake, Hive
- SQL translation β converts Teradata SQL, HiveQL, or Redshift SQL to BigQuery SQL syntax
Migrate to Containers (Migrate for Anthos)β
Converts existing VMs (VMware, GCE, AWS, Azure) into containers running on GKE. Extracts the app layer from the VM without rewriting code.
Landing Zoneβ
A landing zone is a pre-configured GCP environment (org structure, networking, IAM, billing) that workloads migrate into. Defined using Terraform (often using the Cloud Foundation Fabric or Terraform Example Foundation).
Key decisions in a landing zone:
- Resource hierarchy (folders for environments, BUs, or both)
- Shared VPC topology
- Identity and federation (Cloud Identity, Workload Identity Federation)
- Logging and monitoring setup
Exam Tipsβ
- "Minimal downtime database migration" β Database Migration Service (CDC-based cutover)
- "Assess dependencies before migrating" β Migration Center
- "Migrate VMs to GCE with testing" β Migrate for Compute Engine
- "Move VMs to containers" β Migrate to Containers
- Questions about migration strategy almost always have a "rehost first, modernise later" correct answer when time is constrained