Skip to content

How AWS Lambda logs every flow across thousands of microVMs per host with eBPF and Rust

7.2 relevance
Score Breakdown
technical depth
9
novelty
6
actionability
6
community
6
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Deep technical dive into AWS Lambda's logging architecture using eBPF and Rust, directly relevant to cloud infra and observability.

Cloud thenewstack.io
How AWS Lambda logs every flow across thousands of microVMs per host with eBPF and Rust
Summary

AWS Lambda replaced its aging network flow capture system with a purpose-built pipeline using eBPF and Rust to track every packet across thousands of Firecracker microVMs per host, each with fleeting millisecond lifespans. The old iptables-based approach broke at Lambda's density due to linear rule explosion—over 100,000 rules per worker for 2,000 micro-VMs—creating unbounded per-packet overhead. The new system prioritizes complete attribution (every flow tied to the correct tenant microVM) and near-zero performance overhead, as any extra CPU or RAM at Lambda's scale erodes utilization and operating margin.

Author

Prashant Kumar Singh, Kshitij Gupta, Shivendra Srivastava

More from Prashant Kumar Singh, Kshitij Gupta, Shivendra Srivastava →