AWS announced on November 25, 2026, a developer preview that lets Lambda durable functions orchestrate AWS Lambda MicroVMs. Developers can use a durable function to start MicroVM work, track its progress, retry failed tasks, and manage a MicroVM session from a Lambda workflow in AWS Regions where both services are available.

Key takeaways

  • The new MicroVM extension is a developer preview for the AWS Durable Execution SDKs for TypeScript and Python.

  • A durable function can run one task in a MicroVM or keep a MicroVM session alive so tasks share files and memory.

  • A single durable function can coordinate multiple MicroVMs in parallel and can start from Amazon SQS or Amazon EventBridge events.

  • AWS says durable functions can run multi-step workflows for up to one year, while an individual MicroVM can run for up to 8 hours.

  • AWS says preview features can change and should not be used for production workloads.

What AWS announced

The new extension joins two Lambda capabilities. Lambda durable functions are for long-running, multi-step application workflows. Lambda MicroVMs are isolated serverless environments intended for code that needs a separate machine-like sandbox, including user-generated code and AI-generated code.

Before this preview, a developer could use each capability separately. The new extension puts MicroVM lifecycle work into a durable function. That means the workflow can launch a MicroVM, submit work to it, receive a result, and handle failures without building all of the state tracking and retry logic from scratch.

For a beginner, think of the durable function as the coordinator and the MicroVM as the isolated worker. The coordinator remembers what has already happened. The worker runs the task in its own environment.

How durable MicroVM orchestration works

A durable function breaks a workflow into operations. AWS checkpoints progress around those operations, so an interrupted workflow can continue from saved state instead of starting all work again. The new MicroVM operations apply that model to creating, running, and managing MicroVM work.

AWS says the extension can refresh MicroVM tokens when needed, retry failed tasks, and run several MicroVMs in parallel. You can also trigger the durable function with an event source such as Amazon SQS or Amazon EventBridge. This fits a queue-driven design where every incoming job needs its own isolated runtime.

Option

What it does

When it fits

Individual task

Runs one unit of work in a MicroVM.

A scan, build step, test run, or one-off agent tool call.

MicroVM session

Keeps one MicroVM available for multiple tasks that share files and memory.

A workflow where later tasks need artifacts or in-memory state from earlier tasks.

Parallel MicroVMs

Coordinates more than one isolated worker from one durable function.

Processing several independent jobs at the same time.

The session option matters when work has context. For example, a CI job may download source files in one task, build them in another, and run tests after that. A session can let those tasks use the same file system and memory instead of passing every intermediate artifact through another service.

Why this matters for AI agents, scanners, and CI/CD

AWS lists software factories, security scanners, and CI/CD jobs that run untrusted or agent-generated code as intended use cases. Those workloads often need isolation because the code is created by a user, pulled from a repository, or generated by an AI system. A MicroVM gives that work a separate execution environment.

Durable functions add workflow recovery around that environment. If a later step fails, the application has checkpoint data and retry behavior rather than a custom database table and a set of hand-written status checks. That can reduce the amount of orchestration code a team needs to maintain.

There is still a limit to plan for. AWS documents a maximum execution duration of 8 hours for a MicroVM. A durable function can run much longer because it can wait and resume across Lambda invocations, but a single MicroVM is not an all-year machine. Design long workflows so each MicroVM task or session fits within that 8-hour maximum.

What developers need to install

The preview is available through the AWS Durable Execution SDK for TypeScript and Python. AWS says developers need to add the extensions package alongside the Durable Execution SDK in the Lambda function. They also need to add the MicroVM worker library to the MicroVM image.

The worker library is optional in the sense that it is a library component, but it provides the connection between the MicroVM and the durable workflow. AWS says the worker can receive tasks, send heartbeats, and report results. Heartbeats help the coordinator know that a task is still running.

The JavaScript SDK repository lists the MicroVM operation as experimental. It also explains an important durable-function rule: code outside durable steps can run again during replay, while completed steps return their saved result. Developers should keep changing operations, such as generating a random ID or calling an external API, inside durable steps where the result can be recorded.

What is available now and what is not

This is a developer preview, not a production release. AWS explicitly says preview features may change and that developers should not use the MicroVM extension for production workloads. Teams can use it for prototypes, internal experiments, and test environments, then wait for AWS to publish production guidance.

AWS announced the preview for TypeScript and Python. It did not announce a MicroVM orchestration extension for the .NET Durable Execution SDK in this release. Developers using C# can follow the Durable Execution SDK and Lambda release notes, but should not assume this specific extension is available for .NET.

AWS also did not publish pricing details in the November 25 announcement. Before a production rollout, teams will need to check current Lambda durable execution and MicroVM pricing, regional availability, IAM permissions, image requirements, concurrency quotas, and security controls for the code they plan to run.

When to use durable functions instead of Step Functions

AWS positions durable functions for workflows that are mainly Lambda application logic written in standard programming languages. Step Functions remains the better fit when a team wants a visual workflow, broad native integrations across AWS services, or a workflow that non-developers need to inspect.

The two services can also work together. AWS documentation describes a pattern where durable functions handle detailed application logic inside Lambda, while Step Functions coordinates broader, cross-service processes. For this preview, start with durable functions if the MicroVM work is part of a Lambda-centered application and your team wants to keep the flow in TypeScript or Python code.

Based on reporting by Amazon Web Services, Inc., Amazon Web Services, GitHub, AWS and AWS API Changes.