AWS Lambda introduces MicroVMs, a new serverless compute primitive that allows running code in isolated, stateful execution environments with virtual machine level isolation and near-instant launch and resume. MicroVMs are powered by Firecracker, a lightweight virtualization technology, and are designed for multi-tenant applications that need to execute user- or AI-generated code. Each MicroVM gives a single end user or session its own isolated environment that launches rapidly and retains memory and disk state for the length of the session. MicroVMs support up to 8 hours of total runtime and can be suspended automatically after a configurable idle window.