Design a Hybrid-Cloud Data Pipeline
Move batch and streaming data across on-premises and multiple cloud environments while preserving lineage, schema, replay, and residency guarantees. Compare concrete AWS, Azure, and local tool choices.
Problem statement
For this exercise, assume an enterprise analytics platform receives operational events and files from on-premises systems and two public-cloud environments. Producers publish independently and network links may be slow or unavailable.
The platform must validate and durably ingest data near its source, transfer eligible records across environment boundaries, transform them into curated datasets, and expose freshness, lineage, and quality status to downstream analytics teams.
Some datasets may remain in their origin environment for residency reasons, so compute or derived aggregates sometimes move instead of raw records. Every accepted source record must have a stable identity and reproducible transformation history; replays and backfills must not silently duplicate outputs.
Design the control plane, regional or site data planes, schema and catalog boundaries, transfer protocol, storage layout, orchestration, replay, security, and recovery. Compare the same logical design on AWS and Azure, including tool choices and the boundary between local and cloud components.
Concrete tools are design choices for this exercise; no particular service is required. Business analytics, report authoring, and detailed vendor setup are outside scope.
What to build
- Sites and cloud environments can durably ingest versioned events and files locally while disconnected from the central control plane.
- Eligible data or approved derived aggregates move across environment boundaries with encryption, integrity, lineage, and residency enforcement.
- Versioned transformations produce discoverable curated datasets with watermarks, quality results, and reproducible input lineage.
- Operators can inspect lag and failures, quarantine bad input, backfill bounded ranges, and reconcile missing or duplicate outputs.
At scale
- For this exercise, assume 200 TB of batch data per day plus a peak of two million streaming events per second across twelve sites and three cloud regions.
- Make ordinary streaming records visible in their permitted curated dataset within five minutes at p95 and finish daily batch datasets within two hours.
- Assume inter-environment links can be unavailable for up to six hours; local ingestion must continue within reserved capacity and preserve accepted data.
- Target no acknowledged-data loss after a single local-replica or cloud availability-zone failure, and support idempotent 30-day replays without changing already correct output versions. A complete site loss while all off-site links are unavailable can lose data not yet replicated off site; expose that recovery gap explicitly.