Skip to content
News
SYSTEMS SHIFT:

AWS Lambda MicroVMs Add Stateful Sandboxes For AI-Generated Code

Newsroom brief

AWS has introduced Lambda MicroVMs for isolated, stateful execution environments, giving developers Firecracker-backed sandboxes for user- or AI-generated code with runtime, region and resource limits.

Verified against source materialSource: AWS News Blog
AWS Lambda MicroVMs Add Stateful Sandboxes For AI-Generated Code
Image source: Amazon Web Services

Lambda Gets A Stateful Sandbox Layer

The account comes from an official company announcement by AWS and does not include customer deployments, independent benchmark results or production incident data. AWS has introduced Lambda MicroVMs, a new serverless compute primitive inside AWS Lambda for applications that need isolated execution environments for code generated by users or AI.

The service is aimed at a gap between virtual machines, containers and functions. AWS says virtual machines provide strong isolation but can take minutes to start, while containers launch faster but share a kernel and require hardening when untrusted code is involved. Functions are built for request-response workloads and are not designed for long-running interactive sessions that keep state across user interactions.

Lambda MicroVMs gives each end user or session its own isolated environment. The environment can launch quickly, retain memory and disk state for the session, and pause at a lower idle cost when the user steps away. The product is powered by Firecracker, the lightweight virtualization technology AWS says already supports more than 15 trillion monthly Lambda function invocations.

For developers building AI coding assistants, interactive code tools, data analytics platforms, vulnerability scanners or game servers with user scripts, the product reduces the need to operate custom virtualization infrastructure. The service still leaves application teams responsible for packaging code, setting identity roles and deciding where untrusted code belongs in their workflow.

Firecracker Snapshots Replace Cold Starts

The operating model is image-then-launch. Developers create a MicroVM Image by providing a Dockerfile and code packaged as a zip artifact in Amazon S3. Lambda runs the Dockerfile, initializes the application and takes a Firecracker snapshot of the running memory and disk state.

Later environments start from the prepared snapshot rather than a cold boot. AWS says this is intended to provide near-instant launch and resume for interactive sessions, including sessions large enough to involve multi-gigabyte working environments.

The service also has a distinct API surface from Lambda Functions. AWS says Lambda Functions remain the right fit for event-driven request-response workloads, while Lambda MicroVMs is for multi-tenant applications that need a dedicated environment for each user or session.

The product does not replace conventional functions. A company could keep Lambda Functions as an event backbone and use Lambda MicroVMs only for steps that execute untrusted code in isolation.

Lifecycle Controls Define The Cost Boundary

AWS describes lifecycle control as one of the product's main differences. A running MicroVM can retain memory, disk and active processes during a session. During idle periods, it can be suspended with memory and disk state preserved, then resumed when traffic arrives.

In the example described by AWS, an idle policy auto-suspended the environment after 15 minutes of inactivity and auto-resumed it on the next incoming request. AWS also gives each MicroVM a maximum total runtime of 8 hours, with automatic suspension available after a configurable idle window.

Those controls are important for applications where users step away but expect their environment to come back with packages, loaded models and working files still available. The trade-off is that teams need to design around session length, idle policy, authentication and state recovery rather than treating serverless as only stateless execution.

Regions And Limits Set The Rollout Shape

Lambda MicroVMs is available today in US East in N. Virginia and Ohio, US West in Oregon, Europe in Ireland and Asia Pacific in Tokyo. The service runs on ARM64 architecture. AWS lists a ceiling of 16 vCPUs per MicroVM, with memory and disk each capped at 32 GB.

AWS says the service is available first in named regions on ARM64 architecture, while teams outside those regions still need to evaluate latency, data-location requirements and compatibility before moving untrusted-code workloads onto the new primitive.

The public record still lacks customer deployments, independent benchmark results, production incident data or adoption counts for Lambda MicroVMs; the announcement also leaves teams to compare the available regions, ARM64 requirement, 8-hour runtime ceiling and 32 GB memory and disk limits against their own AI coding, analytics or security workloads.

Share this article
inXf

Related articles

More
AWS Lambda MicroVMs Extend Serverless Jobs To Eight Hours
Cloud & Data Centers

AWS Lambda MicroVMs Extend Serverless Jobs To Eight Hours

AWS introduced Lambda MicroVMs, a Firecracker-based serverless option that can run isolated Linux containers for up to eight hours instead of the 15-minute Lambda function limit.

AWS Adds Persistent Runtime Instances For Production AI Agents
Cloud & Data Centers

AWS Adds Persistent Runtime Instances For Production AI Agents

AWS announced runtime instances for Amazon Bedrock AgentCore Runtime, adding managed infrastructure for multi-agent workflows, shared sessions lasting up to 14 days and GPU-supported production agent deployments.

Ofgem Grid Fee Would Make Data-Centre Developers Prove Demand
Cloud & Data Centers

Ofgem Grid Fee Would Make Data-Centre Developers Prove Demand

Data Center Knowledge covered Ofgem’s proposed refundable Data Centre Commitment Fee, which would attach delivery milestones and a per-megawatt security requirement to large British data-centre grid applications.

PJM Plan Makes AI Data Centres Bring Power Or Accept Curtailment
Cloud & Data Centers

PJM Plan Makes AI Data Centres Bring Power Or Accept Curtailment

Data Center Knowledge reported that PJM's proposed IRAS framework would separate grid connection from firm service for new AI-scale loads, pushing data centre developers to bring capacity, contract bilaterally or accept curtailment during shortages.

AWS launches local emulator for cloud API tests, with limits on security checks
Cloud & Data Centers

AWS launches local emulator for cloud API tests, with limits on security checks

AWS Emulator lets developers and coding agents test AWS API interactions locally. The generally available tool has no additional service fee, but does not reproduce AWS authorization checks.

Grid Operators Seek Delay On FERC Data Centre Power Rules
Cloud & Data Centers

Grid Operators Seek Delay On FERC Data Centre Power Rules

Five of six U.S. grid operators asked FERC for more time on large-load interconnection rules, leaving data centre developers waiting for enforceable power-access tariffs.

Samsung Advances Floating AI Data Centre Units With Texas Developer
Cloud & Data Centers

Samsung Advances Floating AI Data Centre Units With Texas Developer

Data Center Knowledge reported that Samsung Heavy Industries signed an engineering agreement with Texas-based Mousterian Corporation for moored floating data centre units aimed at AI workloads. The plan centres on 50 MW units, initial Texas deployments and a reported commercialisation target in the second quarter of 2028, while customers, sites and firm orders remain undisclosed.

Microsoft traces global M365 outage to gateway bug missed by load tests
Cloud & Data Centers

Microsoft traces global M365 outage to gateway bug missed by load tests

A dormant gateway defect became a global Microsoft 365 failure as Teams traffic shifted onto a system already missing nearly 14 percent of its capacity. Recovery required engineers to restore earlier code across large server groups.

Keep Reading

More Stories

Latest
Starlink claims India security compliance, but launch still needs approvalsCapital & PolicyDec 4, 2026Starlink claims India security compliance, but launch still needs approvalsStarlink says it has demonstrated compliance with India's security conditions. Its update details domestic data storage, interception controls and gateway routing while commercial service awaits approvals and spectrum.Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaCapital & PolicyDec 4, 2026Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaJensen Huang acknowledged suspected chip smuggling while denying evidence against Megaspeed. Senate committee leaders indicated they would subpoena Nvidia's board to examine his testimony.Senators question Huang over Nvidia chip controls and his return as CEOCapital & PolicyDec 4, 2026Senators question Huang over Nvidia chip controls and his return as CEOA Senate hearing examined Nvidia’s safeguards against chip diversion to China and administration contacts preceding Jensen Huang’s reinstatement. Huang denied passing confidential information to Alice Huang.Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCybersecurityDec 4, 2026Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCloudflare, Palo Alto Networks and CrowdStrike rose in Thursday premarket trading after major technology companies urged encryption upgrades following an NSA alert.Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GTelco & ConnectivityDec 4, 2026Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GLava's next Bold phones are scheduled for December 9, with a 7,000mAh battery in the 4G Pro model and a sub-Rs 15,000 price planned for the N4 5G.Isomorph raises $3.5 million to expand AI governance teams and US salesAIDec 4, 2026Isomorph raises $3.5 million to expand AI governance teams and US salesRTP Global led the seed round for Isomorph, which plans engineering expansion in Bengaluru and San Francisco and a bigger US go-to-market operation.Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesCloud & Data CentersDec 4, 2026Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesFund V targets early- and growth-stage US businesses, with Premji Invest planning support through to public markets. Its remit also includes infrastructure software and life sciences.LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceCloud & Data CentersDec 4, 2026LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceThe joint solution combines rack-level power and cooling with private connectivity. HDCO is developing an inference offering using GPUs at a solar-powered LITEON site in Texas, with South America planned next.Pangram raises $50m as Andreessen Horowitz backs AI detectionAIDec 4, 2026Pangram raises $50m as Andreessen Horowitz backs AI detectionAndreessen Horowitz led Pangram Labs’ Series A, with the New York start-up planning to accelerate research and train more advanced AI-detection models.UK advances ransomware payment ban but drops advance-notification planCybersecurityDec 3, 2026UK advances ransomware payment ban but drops advance-notification planBritain plans to bar hospitals, schools, councils and critical infrastructure operators from paying ransoms, while limiting mandatory attack reporting to medium and large organizations and requiring payment disclosure only afterward.Viettel starts selling Starlink in Vietnam with VND9.3 million kitsCapital & PolicyDec 3, 2026Viettel starts selling Starlink in Vietnam with VND9.3 million kitsViettel Telecom is offering Starlink broadband in Vietnam after obtaining a resale licence, with monthly service plans starting at VND1.59 million.Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationCapital & PolicyDec 3, 2026Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationThe draft would replace bankruptcy provisions in Qatar's 2006 Commercial Law. The Cabinet approved referring it to the Shura Council, with rehabilitation before liquidation among its aims.