CASE 03 · HEXA · 2025
A real-time pipeline that paid for itself in six weeks.
A healthcare data company was running a near-real-time pipeline on six always-on EC2 instances behind an Application Load Balancer, processing roughly 40 events a second at peak. The bill was $8,200 a month. We rebuilt it serverless and brought it to $640.
Healthcare data
COST
2025
RESULTS
What changed, by the numbers.
COMPUTE BILL
−92%
p95 LATENCY
−60%
ON-CALL PAGES
−85%
ROI
6w
HOW IT WENT
The instances were sized for peak: a 7am batch from a partner that processed ~3,000 events in 90 seconds, twice the rest-of-day throughput. The other 23 hours, the fleet ran at 8% utilisation.
We replaced the pipeline with EventBridge fanning out to Lambda consumers, with Kinesis Data Streams in front for the burst-tolerant path and Step Functions orchestrating the multi-step records. DynamoDB on-demand replaced the hot Postgres tables; the cold ones moved to S3 with Athena.
The team kept their old Postgres for reporting (it cost $400/mo to leave running, and nobody had time to rewrite the dashboards). The migration ran shadow for two weeks before the cutover. No data loss, no on-call wake-ups, no surprised invoices.
RELATED · SAME DOMAIN
Other engagements in this space.
READY WHEN YOU ARE
Let's get your AWS bill (and architecture) in order.
The discovery call is free. You walk away with at least one concrete idea — even if we never work together.