Design a Cloud Data Migration
Design a system that moves a company’s data out of its own data centre into a cloud provider. The data is 5 PB in all: file shares and an on-premises object store with about 4 billion files, a data lake, and 300 TB in a few hundred running databases. Teams move application by application over the coming months, and each move ends with a short cutover, after which the application reads and writes only in the cloud.
The hard parts are physics and change. At the 10 Gbps internet link the company already has, 5 PB takes more than 3 months even if nothing else uses it. A faster link takes weeks to install, and reading too fast from the source storage slows the production systems that still run on it. Meanwhile the data keeps changing, about 20 TB a day, the databases take thousands of writes a second, and at 4 billion objects even a 1-in-10-million copy error means hundreds of silently broken files.
Good questions to ask first
Decide what you would assume for each before you look at ours.
- 1How much data and what kind?
- 2How many files, and how big?
- 3What is the deadline?
- 4How much downtime may an application have?
- 5What network do we have?
- 6How hard can we read the source?
- 7How sure must we be the copy is right?
- 8Do we transform the data on the way?
How to spend the 45 minutes
- 5minPart 1: Requirements: size, deadline, downtime, network
- 8minPart 2: Estimates: link, source cap, appliances
- 4minPart 3: API: waves, tasks, cutover
- 13minPart 4: Architecture, from one copy host to cutover
- 15minPart 5: Deep dives: transport, integrity, change, cutover