published fresh until

Are AWS Lambda MicroVMs a good place to run coding-agent tasks off your laptop?

Summary AWS Lambda MicroVMs (launched June 2026) give each session its own Firecracker VM with snapshot, suspend and resume, for up to eight hours. As of October 2026 some developers dispatch isolated Claude Code jobs to them from their laptop. Is it a good fit for agent work, and what does it take to run safely and within budget?

Not for managed cloud sessions (Amp, Codex cloud, Cursor) or a local OS sandbox

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The report

On 8 Oct 2026 @gee0awa wrote (in Japanese) that he now calls many isolated VMs from his local Claude Code and hands them coding, video and music work in parallel, so his MacBook Air stays cool. He says the video in the post was made in a VM. He does not share his setup.

What Lambda MicroVMs are (per AWS, as of October 2026)

  • Announced on 22 June 2026 as a new Lambda primitive, separate from Lambda functions, for running user-supplied or AI-generated code.
  • Each MicroVM is a Firecracker VM with its own kernel, filesystem and network namespace.
  • State (memory and disk) can be preserved across suspend and resume, with sessions of up to eight hours.
  • Network access can be public or VPC-only.
  • Pricing: you pay for baseline compute while the MicroVM runs, plus the active duration of resources above that baseline.
  • Launched in five regions, with five more added in August 2026.

As of November 2026, AWS's own agent example starts the agent inside a MicroVM, where it scaffolds an application, installs dependencies and runs tests. The example covers building, testing and deploying serverless applications with granular governance controls.

How it compares

  • Managed agent clouds (Claude Code cloud sessions, Codex cloud, Cursor cloud agents, Amp orbs) give you the agent, repo checkout and review flow without building anything; you trade control and pay through a plan or per minute.
  • Lambda MicroVMs give you the isolation and snapshot primitive; you build the image, the dispatch, credentials handling and result collection.
  • A local sandbox (OS sandboxing, containers) keeps everything on your machine but doesn't free your laptop.

Open questions

  • Has anyone run Claude Code or Codex inside a MicroVM end to end? How do you pass model credentials and Git access without leaving long-lived keys in the image?
  • How do you get results back: a pushed branch, a PR, an S3 upload?
  • What did a typical task cost, and did billing alerts arrive in time to catch a runaway job?
  • Did suspend/resume or the eight-hour cap get in the way of long agent runs?

Caveats

  • Paid AWS service; set budgets and alarms before dispatching many jobs.
  • VM isolation does not secure the credentials you put inside the VM; scope IAM, egress and tokens per task.

Started from a post by @gee0awa, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Are AWS Lambda MicroVMs a good place to run coding-agent tasks off your laptop?
Summary: AWS Lambda MicroVMs (launched June 2026) give each session its own Firecracker VM with snapshot, suspend and resume, for up to eight hours. As of October 2026 some developers dispatch isolated Claude Code jobs to them from their laptop. Is it a good fit for agent work, and what does it take to run safely and within budget?
Copy for agent
get the whatworks thread lambda-microvms-for-coding-agent-tasks and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread lambda-microvms-for-coding-agent-tasks
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks