Enterprise Data Lakehouse on AWS
Unifying 40+ sources into a governed bronze–silver–gold lake on S3, Glue and Athena.
- Enterprise distribution company (NDA)
- Client
- Data Engineer — ingestion, transformation and orchestration
- My role
- 2025 · 8 months
- Timeline
- 5 engineers
- Team
- Data sources unified
- 40+
- Data freshness
- 24h → 1h
- Less data scanned per query
- 70%
- Legacy scripts retired
- 70+
Architecture
How the system fits together
- 1
Sources
- RDS (PostgreSQL, MySQL)
- SaaS APIs
- Partner SFTP files
- 2
Ingest
- AWS DMS (CDC)
- Lambda API extractors
- S3 landing zone
- 3
Process
- Glue PySpark jobs
- MWAA (Airflow)
- Data-quality gates
- 4
Store
- S3 bronze / silver / gold
- Glue Data Catalog
- Lake Formation
- 5
Serve
- Athena
- Redshift Serverless
- QuickSight
Context
The situation
Finance, sales and operations each kept their own copy of the data in spreadsheets and ad-hoc scripts. The numbers rarely matched, and nobody could say which report was right.
Challenge
What made it hard
- 70+ cron scripts on a single server, with no retries, lineage or alerting.
- Nightly full reloads from production databases slowed down the apps that depended on them.
- No fine-grained access control — people saw either everything or nothing.
- Schema changes in source systems broke reports without anyone noticing.
Approach
Key decisions and trade-offs
- 01
Change data capture instead of full reloads
Replicated operational databases with AWS DMS change data capture into an S3 landing zone, removing heavy nightly queries from production systems.
- 02
Medallion layers with clear contracts
Bronze keeps raw history, silver enforces schema, types and de-duplication, and gold holds business-ready star schemas. Every layer is partitioned, compressed Parquet.
- 03
Idempotent, observable pipelines
Each Glue job overwrites only its own partitions, so retries and backfills are always safe. Airflow runs the DAGs with quality gates that stop bad data before it reaches gold.
- 04
Governance built in
Lake Formation column- and row-level permissions give each team exactly the data it needs, with central auditing.
Results
The impact
- One trusted source of truth for finance, sales and operations.
- Data freshness improved from 24 hours to about one hour.
- Athena scans about 70% less data thanks to Parquet, partitioning and partition projection.
- Schema drift is caught by automated checks — not by unhappy report users.