Hosted runners: Lambda MicroVMs open
Decision (Paul, 2026-11-17): hosted runners use AWS Lambda MicroVMs. There's no benchmark first; we revisit only if it falls short in use.
Why:
- One Firecracker VM per task, built for running user- and AI-generated code.
- Sessions up to 8 hours, with pause and resume.
- Launch is from a prepared snapshot.
- VPC networking, in our own AWS account, the same custody as media conversion on Fargate.
- Ireland is a launch region.
Already settled for hosted mode:
- A VM boundary per task, never shared-kernel containers between people.
- Provider API keys stay behind the inference gateway. The VM only gets short-lived task-scoped tokens: gateway, forge branch push and runner enrolment.
- No subscription OAuth homes in hosted VMs; subscriptions stay on a person's own machine.
- The hosted runner is the existing outbound-only runner binary in the VM.
- Egress is an allowlist (gateway, forge, package registries) enforced by our own resolver and proxy, because VPC security groups filter by IP and port only.
- It sits behind a provider-neutral "isolated job runner" adapter.
Known limits to design for:
- The 8 hours includes suspended time.
- Every pause and resume writes and reads a memory snapshot, about $0.86 a day per person at 4 GB for 40 coordinator turns.
- Renew scoped tokens after a resume, and never put user credentials into reusable base snapshots.
- Bubblewrap inside the VM is unverified, so certify a "the VM is the boundary" containment profile.
Options compared and set aside:
- Fargate: tens of seconds to start.
- AgentCore Runtime: a close second.
- Lambda durable functions and Lambda Managed Instances: no fit.
- E2B, Daytona, Modal, Vercel, Fly, Cloudflare: third-party custody, and their egress filters leak in different ways.
- Self-run Firecracker: the biggest operations commitment.
- gVisor: not a VM boundary.
The full sourced comparison is in the controller's research notes. Ask for it to be attached if needed.
Sources: AWS What's New: Lambda MicroVMs, Lambda MicroVMs guide, AWS News Blog
LLM
Decided 2026-11-17: hosted runners use AWS Lambda MicroVMs, gateway-held keys, task-scoped tokens and our own egress proxy. No benchmark first.