Skip to content

docs: add default Lambda MicroVM runtime image example#144

Merged
dubh3124 merged 2 commits into
release/v0.11.0from
codex/default-lambda-microvm-runtime-0.11
Jul 10, 2026
Merged

docs: add default Lambda MicroVM runtime image example#144
dubh3124 merged 2 commits into
release/v0.11.0from
codex/default-lambda-microvm-runtime-0.11

Conversation

@dubh3124

Copy link
Copy Markdown
Contributor

Summary

Adds a public default Lambda MicroVM runtime image example for builders who need a starter image for Cognition's aws_lambda_microvm sandbox backend.

Changes

  • Adds commented runtime source files for the AWS image zip: Dockerfile, server.py, and runtime README.md.
  • Adds a packaging script that creates dist/cognition-lambda-microvm-runtime.zip without committing generated artifacts.
  • Adds Terraform that uploads the zip to S3, creates the Lambda MicroVM image build role, creates the image via awscc_lambda_microvm_image, and outputs microvm_image_arn, microvm_image_version, and sandbox_profiles_yaml.
  • Adds public docs for the default runtime image flow and cross-links from Lambda MicroVM setup/profile/runtime/troubleshooting docs.
  • Updates examples navigation and the existing prebuilt-image sandbox example with a “Need an Image?” path.

Validation

  • ./examples/aws-lambda-microvm-default-runtime/scripts/package-runtime.sh
  • unzip -l examples/aws-lambda-microvm-default-runtime/dist/cognition-lambda-microvm-runtime.zip
  • python3 -m py_compile examples/aws-lambda-microvm-default-runtime/runtime/server.py
  • UV_CACHE_DIR=/tmp/uv-cache uv run --extra docs mkdocs build --strict
  • terraform -chdir=examples/aws-lambda-microvm-default-runtime/terraform fmt -check
  • terraform -chdir=examples/aws-lambda-microvm-default-runtime/terraform init -backend=false
  • terraform -chdir=examples/aws-lambda-microvm-default-runtime/terraform validate
  • terraform -chdir=examples/aws-lambda-microvm-sandbox/terraform fmt -check
  • terraform -chdir=examples/aws-lambda-microvm-sandbox/terraform init -backend=false
  • terraform -chdir=examples/aws-lambda-microvm-sandbox/terraform validate
  • git diff --check
  • Confirmed no generated zip, Terraform state, .terraform/, .terraform.lock.hcl, real account IDs, tokens, or secrets are committed.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cognition Ready Ready Preview, Comment Jul 10, 2026 6:49pm

Request Review

@dubh3124 dubh3124 merged commit a731c6c into release/v0.11.0 Jul 10, 2026
11 checks passed
@dubh3124 dubh3124 deleted the codex/default-lambda-microvm-runtime-0.11 branch July 10, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant