Cloud migration

Move clouds without a migration team.

Dave maps everything on the old cloud, rebuilds it as code on the new one, and moves traffic over in waves you approve.

01Map

First, a map of everything that runs.

Dave reads the old cloud and records every service, database, network and permission, and how they connect.

  • Sized from real usage, not the old instance types
  • Read-only: nothing changes while it maps

Source estate · aws/prod-us-east-1

8 of 214 resources
ALBpubliccheckout-apiEKS · 12 podsorder-workerEKS · 4 podsorders-dbRDS PostgressessionsElastiCacheorders-queueSQSreceiptsS3 · 2.1 TBIAM roles14 in use
Illustrative example, not customer data

02Twin

Then the same setup, written for the new cloud.

Each resource gets its closest match on the new cloud, written as Terraform you review.

  • Flags what has no direct match, so your code can change first
  • AWS, Google Cloud, Azure or on-prem, in any direction
SourceDigital twin
  • EKS · prodGKE Autopilot · prodMapped
  • RDS Postgres 15Cloud SQL Postgres 15Mapped
  • ElastiCache RedisMemorystore RedisMapped
  • SQS orders-queuePub/Sub ordersCode change
migration/gcp · PR #42 · opened by Dave
resource "google_sql_database_instance" "orders" {+  database_version = "POSTGRES_15"+  tier             = "db-custom-4-16384"  # sized from 30d RDS load}
Illustrative example, not customer data

03Cut over

Cut over in waves you approve.

Data copies over first. Then traffic moves a slice at a time, and each wave starts only when you approve it.

  • Any wave rolls back in one step

Cutover plan · aws → gcp

3 waves
  1. Wave 1Storage and queues, dual-write onTue
  2. Wave 2orders-db replicated, lag under 1sThu
  3. Wave 3checkout-api traffic 10% → 100%Mon
  4. ApprovalEach wave approved by your reviewer
  5. RollbackDNS weight back to AWS in one step
Illustrative example, not customer data

04Verify

Done when the numbers match.

Dave compares latency, errors and data between old and new before it closes a wave.

  • The old setup is switched off last, after you sign off

Parity · checkout

source vs. twin
AWSGCP
  • p95 latency182 ms176 ms
  • Error rate0.21%0.19%
  • Row count · orders48.2M48.2M
  • Objects · receipts1.94M1.94M
Rollback kept warm for 7 daysWave 3 verified
Illustrative example, not customer data

The result

You approve the waves. You don't staff the project.

Every phase is visible, and every change is code you can read.

Migration · aws → gcp

example
  1. Map214 resources, 61 dependencies
  2. TwinTerraform for the target, reviewed
  3. 3Cut overWave 3 of 3, in progress
  4. 4DecommissionAfter the rollback window

Tell us what you want to move.

We'll show you Dave mapping it and writing it for the new cloud.