AWS introduced Lambda MicroVMs on June 22 as a managed execution option for user-supplied and AI-generated code. The service uses Firecracker virtualization and can preserve execution state across suspension and resumption.
A compute environment per session
The launch announcement describes building an image from a Dockerfile, launching a MicroVM, and connecting through a dedicated HTTPS endpoint. It lists suspension and resumption for up to eight hours and initial availability in five Regions.
For teams building coding environments or interactive analytics, this creates a service to evaluate for the boundary between one user’s execution and another’s. AWS presents isolation and state retention as core capabilities; the application still determines what a session is allowed to reach.
Our analysis: the execution boundary and the authority boundary need separate designs. An isolated process with broad credentials or unrestricted access to internal services can still perform actions the product did not intend.
Specify what survives suspension
Document which files, credentials, and application state a session may hold when it pauses. Decide what happens if the user’s access changes before it resumes, and define when the environment must be discarded rather than reused.
Test the experience around disconnects, resume failures, and abandoned sessions. A retained environment should have a clear owner and a visible expiration policy, particularly when it contains customer material.
Measure launch and resume behavior using the actual image and initialization workload rather than adopting a general speed claim as a service objective. Begin with a constrained execution task, restricted destinations, and an explicit cleanup check. Expand only after the product can explain both what the MicroVM isolates and what the application authorizes.
- AWS introduces Lambda MicroVMs for isolated execution of user and AI-generated code
AWS · Jun 22, 2026
See the original announcement for availability and release details.