Amos Bunde

Home / Projects / Case study

One data platform for hospitals, research, and wearables — across two countries

Building Aga Khan University's enterprise data foundation from the first clinical repository to a governed lakehouse with real-time streaming, disaster recovery, and a sovereignty-preserving RAG platform — serving teams in Kenya, Pakistan, and NIH-funded consortium partners.

Aga Khan University · Global Data & Innovation 2022 — present Kenya · Pakistan · consortium partners Role: architect, then function lead

When I joined Aga Khan University, clinical records going back to 2008 lived in operational systems that research and analytics teams could not safely or systematically use. Three years later, the same institution runs a governed lakehouse with real-time wearable streaming, SLA-managed data products, and an enterprise RAG platform — operated by a distributed engineering team across Kenya and Pakistan.

The problem

AKU is simultaneously a hospital network, a research university, and a partner in international consortia like the NIH-funded Uzima-DS study. Each of those constituencies needs the same underlying data — but with different freshness, governance, and access requirements, in an environment where healthcare compliance and data sovereignty are hard constraints. There was no platform: every research question started with a bespoke extraction, and nothing had an SLA.

Constraints

What we built

The foundation: a clinical data repository and multi-country ingestion

The first deliverable was the university's first enterprise clinical data repository, consolidating records from 2008 to the present. Around it grew multi-country ingestion pipelines — including a real-time stream of Fitbit physiological data from 615 healthcare workers in Kenya for the Uzima-DS research programme, built on Kafka and orchestrated with Airflow and Azure Data Factory into Delta Lake.

The platform: a governed lakehouse with SLOs

As usage grew, we standardised on lakehouse architectures with Delta and Iceberg formats across Azure Synapse, Databricks, and PostgreSQL. Partition optimisation and format standardisation cut ETL costs by 20%, and BI workloads now run against p99 data-freshness SLOs — data products with published, measured guarantees rather than informal expectations.

The ground it stands on: landing zone, DR, and operations

We rebuilt the infrastructure underneath as an Azure Landing Zone in Terraform with private endpoints throughout — eliminating public egress for database workloads and cutting environment provisioning time by 60%. Mission-critical databases got automated backups, disaster-recovery strategies, and multi-region replication. Just as importantly, we established the operational culture: on-call rotations, postmortems, capacity planning, and SLO/SLA definitions that reduced MTTR by 40% and eliminated recurring outages.

The AI layer: RAG with sovereignty

On top of the platform we designed a conversational RAG system on Azure OpenAI, PgVector, and Azure AI Search — architected so that all data and retrieval stay inside the university's own cloud boundary. The same foundation later carried Afya Gemma into production.

SOURCES Hospital systems records since 2008 Research studies Kenya · Pakistan Fitbit wearables 615 participants, real time Consortium partners NIH Uzima-DS Ingestion Kafka · streaming ADF · Airflow · batch Lakehouse Delta · Iceberg p99 freshness SLOs BI & analytics Synapse · Databricks Research data products governed, SLA-managed RAG platform Azure OpenAI · PgVector GOVERNANCE · DATA QUALITY · OBSERVABILITY · ON-CALL / POSTMORTEMS · MTTR −40% AZURE LANDING ZONE · TERRAFORM · PRIVATE ENDPOINTS · MULTI-REGION DR

Sources flow through streaming and batch ingestion into a governed lakehouse; governance and the Terraform landing zone span every layer.

Design decision

We treated the landing zone and the operational practices as part of the platform, not as afterthoughts. Private endpoints and Terraform made sovereignty and repeatability structural properties of the system — every new environment inherits them — rather than things individual engineers have to remember.

Impact

99.9%+
Uptime for critical healthcare systems serving multiple countries
20%
ETL cost reduction from lakehouse standardisation and partition optimisation
615
Healthcare workers streaming real-time physiological data
60%
Faster environment provisioning via the Terraform landing zone
40%
MTTR reduction from incident-response and postmortem practice
2008→ now
Years of clinical records consolidated into one governed repository

The platform now underpins hospital analytics, multiple international research programmes, and AKU's production AI systems — with a distributed team, defined SLAs, and an operating culture built to last.