Repository navigation
Backlog
Labels
Description
What is missing
The lambda driver, which runs each session in an AWS Lambda microVM in a workspace's own AWS account (ADR 0106, AWS Lambda microVMs), was written from AWS's docs and has only run against fctl's stand-in for Lambda. Nobody has run a session in a real microVM yet, so a workspace that follows Runners in your cloud gets a host, a policy and commands no one has tried on AWS.
How it works now
crates/fctl-host/src/driver/lambdacalls Lambda's microVM API (2025-09-09:RunMicrovm,SuspendMicrovm,ResumeMicrovm,TerminateMicrovm,ListMicrovms,CreateMicrovmAuthToken,CreateMicrovmImage,UpdateMicrovmImage) with SigV4, and reaches each microVM's endpoint withX-aws-proxy-authandX-aws-proxy-port, over a WebSocket tofctl-agent microvm-serve(crates/fctl-agent/src/microvm).cargo xtask dev --microvmsruns the whole path againstxtask/lambda, a stand-in that answers the API and the endpoints as the docs describe them, withfctl-agent microvm-serveprocesses for microVMs. It checks SigV4's form, not its signature.- The image fctl builds is a Dockerfile
FROM ghcr.io/hyperstructure/sandbox:<version>that adds fctl-agent, which Lambda builds on itsal2023-1base with the workspace's build role. Whether Lambda's build pulls from ghcr.io, and how long a build of the 1.3 GB sandbox image takes, is unknown.
What should happen
- A host on an EC2 instance with the policy the Runners tab shows runs a session in a microVM of an image fctl built, in a region with Lambda microVMs.
- The session's microVM suspends 90 seconds after its turn, resumes for a message, and goes after its while suspended; a message then carries the session on from its snapshot.
- Warm microVMs start and suspend, and a new session takes one.
- An image of one's own, from
fctl host microvm-image, runs too. - An egress connector to a VPC, an execution role, a KMS key and a log group work as the settings say.
- The guide's policy, build role and commands are what AWS needs, and anything the stand-in does differently from Lambda is fixed in it.
Compatibility
Fixes in the host and fctl-agent ship with a release; the control plane's settings and reports are unlikely to change.
Decisions for a person
- Which AWS account and region to try it in, and who has access to it.
Session: https://app.fctl.sh/s/ses_01M8SGGRBHKJFE8VCGBXSHP3NE
Activity
fctl-sh commentedon Dec 1, 2026
The lambda driver this issue tries out merged in #665 (aa96742), with the web app's design docs in hyperstructure/design#86 and the privacy policy's lines in hyperstructure/fctl-site#145.
PUT /api/v1/runners/{id}/microvms, migration 0079), the hosts' reports, and the Runners tab's microVMs section. fctl.sh's docs show Runners in your cloud: AWS Lambda microVMs.fctl host install --driver lambda), fctl-agent'smicrovm-serveand the CLI (fctl runners microvms,fctl host microvm-image) ship with the release after v0.39.1; no tag contains aa96742 yet. Trying this on AWS needs that release, orfctlbuilt from main.What is left is this issue's checklist, for a person to choose the account and region.