AWS’s MicroVM orchestration preview: test how AI code recovers from failure
Running generated code is only part of an AI workflow. AWS’s new developer preview makes recovery worth examining: interrupted tasks, repeated outputs and the cost of unfinished work.
What AWS announced on 25 November
AWS announced a developer preview that connects Lambda durable functions with Lambda MicroVMs. The extension coordinates jobs in isolated execution environments, including work involving AI-generated code. It supports individual tasks and sessions in which tasks share files and memory, with checkpointing and retries managed by the durable workflow.
The extension is available for the TypeScript and Python Durable Execution SDKs, in regions supporting both underlying services. AWS explicitly says developer preview features should not be used for production workloads. This is a development option for engineering teams, rather than a new feature that ordinary office users can switch on.
Why a business owner should care about recovery
Consider an illustrative institutional workflow: an assistant prepares a script to transform a test spreadsheet into a departmental report. The script finishes its calculation, but the surrounding process loses contact before confirming that the output was saved. Should the system run the calculation again, recover the existing output or ask a person to investigate?
Our recommendation is to make that question part of the buying brief for AI automation. A successful demonstration shows that a task can run. A useful recovery demonstration shows what staff will see when only part of it succeeds. That distinction matters to a small team without someone available to investigate every interrupted job.
Start with disposable sample data and an output folder used only for the trial. Keep the experiment separate from invoice creation, student records and other live changes. The purpose is to observe recovery behaviour without creating a business problem while testing it.
Build a repeatable failure exercise
Give each trial a unique job reference, known input and expected output. Ask the team to interrupt work at several points: before processing, during calculation and after saving the result but before reporting completion. Record which steps run again and which output the user eventually receives.
For any step that writes outside the execution environment, require a design that recognises a repeated request. For example, the test application could associate its output with the job reference and check whether that output already exists. This is an editorial design recommendation, not a claim that the AWS extension automatically prevents duplicate business transactions.
Include an invalid input as well as an interruption. Repeating a malformed request may never make it succeed. Agree when the system stops, how it explains the problem and which person owns resolution. A readable failure record is often more useful to an administrator than a long technical log.
Check the engineering limits and cost boundaries
The SDK’s README labels its APIs experimental and warns they can change without a major version bump. It recommends heartbeat timeouts for jobs and distinguishes launch, delivery, job and timeout failures. Those details give developers concrete cases to demonstrate.
The same README warns that missing termination permission can leave a MicroVM running and billable until its maximum duration. It also says the function invocation ends while the MicroVM works, so function compute is not billed during that wait. That narrow statement does not establish a free end-to-end workflow.
For a pilot, ask for measured resource usage and the applicable regional charges before discussing savings. Include failed attempts and cleanup in the estimate. No fixed price or cost reduction is asserted here. Check the selected region, SDK version and service terms again when planning any later implementation.
Turn the experiment into a clear software requirement
The most useful result is a short acceptance record: what failed, what resumed, whether anything was duplicated and how the operator knew the final state. Compare that evidence with the simpler workflow you already use before deciding whether additional orchestration is justified.
VistaAI builds custom software and workflow automation. If you are defining an AI-assisted process, discuss the recovery demonstration alongside the normal user journey. Explore VistaAI with a specific task and its failure cases; this article does not announce an AWS integration in a VistaAI product.
Questions and answers
Is this AWS extension ready for production?
No. AWS describes the 25 November release as a developer preview and explicitly advises against production use.
Does isolated execution prove the generated result is correct?
No. Our recommendation is to check outputs against known answers and separately test interruptions, repeated work and operator recovery.
What should a nontechnical manager request first?
Ask for one controlled failure demonstration showing the final output, any repeated changes and the message the user receives.