aws-lambda-managed-instances

Installation
SKILL.md

AWS Lambda Managed Instances (LMI)

Runs Lambda functions on EC2 instances in the user's account while AWS manages provisioning, patching, scaling, routing, and load balancing. Combines Lambda's developer experience with EC2's pricing and hardware options.

Works best with the AWS MCP server for sandboxed CLI execution and audit logging. All guidance also works with standard AWS CLI or SAM CLI.

Note: Confirm regional availability, quotas, and instance type offerings against current AWS documentation before production deployment.

Quick Decision: Is LMI Right for This Workload?

Signal LMI is a strong fit Standard Lambda is better
Traffic Steady, predictable, 50M+ req/mo Bursty, unpredictable, long periods of no traffic
Cost Duration-heavy spend at scale Low or sporadic invocations
Cold starts Unacceptable (LMI eliminates for provisioned capacity) Tolerable
Compute Latest CPUs, specific families, high network bandwidth, GPU requirements Standard Lambda memory/CPU sufficient
Isolation Dedicated EC2 instances in your account, full VPC control Shared Firecracker micro-VMs acceptable
Scale-to-zero Does not scale to zero but can create custom schedules with AWS provided solutions Required (pay nothing when idle)
Code readiness Thread-safe (Node.js/Java/.NET) or any Python code Non-thread-safe code, expensive to change
Installs
437
GitHub Stars
1.8K
First Seen
Jun 8, 2026
aws-lambda-managed-instances — aws/agent-toolkit-for-aws