← All case studies
Data EngineeringHealthcareQPharma · 2025

Healthcare Data Lake ETL

AWS Glue ETL and tuned Spark (Scala) jobs on EMR over S3, with schema and HIPAA-aligned validation.

50 GB/dayhealthcare data validated & processed

Context

Downstream analytics and AI features depend on large daily healthcare feeds landing in an S3 data lake.

Challenge

Process around 50 GB a day reliably and cheaply while enforcing schema and HIPAA-aligned validation.

My role

Designed the Glue pipelines and optimised the Spark jobs.

Architecture

How the system fits together

Healthcare Data Lake ETL architecture diagramAWSHealthcare feeds~50 GB/dayS3 raw zoneAWS Glue ETLschema · HIPAA checksSpark on EMRScala · tunedS3 curated zoneAnalytics & AIconsumers
External sourceData storeServiceUser / outputTelemetry / async

Simplified for public sharing; client-specific details are omitted.

Approach

Key engineering decisions

  1. 01

    Layered lake

    Raw data lands in S3, is validated and transformed, and is written to a curated zone that consumers read from.

  2. 02

    Validation at the boundary

    Glue jobs enforce schema and HIPAA-aligned checks before data reaches the curated zone.

  3. 03

    Spark tuning

    Heavy transforms run as Scala Spark jobs on EMR, tuned for partitioning and shuffle to keep runtime and cluster cost down.