Skip to content
SD-51 · Back to the write-up

Design a Cloud Data Migration

Inventory everything, copy in small verified tasks over a private link and on shipped appliances, keep up with changes, then cut over each application in minutes.

Follow a request

On-premises
In transit
Cloud
Source storageFiles, objects, DBs
InventoryScanners
Transfer agents40 VMs
Change captureLogs and deltas
Private link2 × 100 Gbps
Appliances30 × 100 TB
Control plane+ catalog
Object storageTarget buckets
Cloud databasesManaged
VerifierChecksums, counts
1agents → control · lease 4 tasksAn agent with free slots asks for work and gets 4 tasks of about 1 GB each, on 10-minute leases.1 / 5

The numbers, at a glance

Days to move 5 PBBy how the bytes travel
What travels on trucks3 of 5 PB is cold data
Cold data ships; anything that changes takes the network.
Small files, small bytes70% of files hold 2% of the bytes
files under 64 KBlarger files

Cutover, in order

Preconditions are checked before the freeze; the freeze lasts under 30 minutes.

Wave owner
Control plane
Source
Change capture
Verifier
Cloud copy
1 POST cutover
2 report signed? delta < 1 TB?
3 yes
4 freeze writes
5 drain final delta
6 last changes
7 lag = 0
8 verify delta
9 switch application
10 reverse sync on
11 cut over, rollback 14 days
RequestResponseAsync, does not block

How the bytes travel

The decision this question is really about.

Network only
36 days
old link 21 days
new link, 3 GB/s cap
5 PB in ≈ 36 days
+ Simple, carries changes too.− Link arrives late; source caps us.
Appliances only
Cold data only
50 devices
load, ship, ingest
active data stale on arrival
+ Starts at once, no network.− Changes still need the network.
Hybrid
Our pick
cold 3 PB → appliancesactive 2 PB → network
one catalog, one verifier
done ≈ day 24
+ Both paths from day 1.− Two paths in one catalog.

How it grows

Add a box only when a number forces you to. Highlighted boxes are new at each stage.

Stage 1 · ≈ 50 TBCopy it
Source
Copy host
Object storage
One sync host over the internet. Fine for a small share.
Stage 2 · ≈ 1 PBPlan and parallelise
SourceInventory
Agents × 40Control plane + catalog
Object storageVerifier
Inventory, catalog, leased tasks, 40 agents, checksums.
Stage 3 · ≈ 5 PBWiden the pipe
SourceInventory
Agents × 40Control plane + catalog
Private linkAppliances
Object storageVerifier
Private link, appliances for cold data, a read budget per source.
Stage 4 · 5 PB + 20 TB/dayCut over
SourceInventoryChange capture
Agents × 40Control plane + catalog
Private linkAppliances
Object storageCloud databasesVerifier
Incremental passes, change capture, verified cutover with rollback.
Was this walkthrough useful?Your vote tells us what to improve next.