Skip to main content

Migration Strategies and Tools

Docs: Migration to Google Cloud

Migration Strategies (The 4Rs)​

StrategyWhat It MeansWhen to Use
Rehost (Lift and Shift)Move workloads to GCP with no changes β€” same OS, same app, same configSpeed 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 SQLReduce ops overhead without rewriting the app
Refactor / Re-architectRedesign the app for cloud-native patterns β€” containers, microservices, serverlessLong-term cost and scalability benefits; requires significant investment
Retire / ReplaceDecommission the workload or replace with a SaaS productNo 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
  1. Assess β€” discover and inventory workloads; evaluate dependencies, licensing, and TCO
  2. Plan β€” define migration waves, network topology, identity federation, landing zone
  3. Migrate β€” execute migrations service by service; validate in parallel
  4. 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

Docs: Migration Center overview

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

Docs: Migrate for Compute Engine

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

Docs: Database Migration Service

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

Docs: BigQuery Migration Service

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.

Docs: Migrate to Containers overview

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

Official Documentation​