aws-lambda-managed-instances

Migrate Lambda workloads to Lambda Managed Instances with provisioning and scaling.

2.3k|234|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-lambda-managed-instances
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-lambda-managed-instances
Source: https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/aws-lambda-managed-instances
Command: npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-lambda-managed-instances

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Migrate and manage Lambda workloads to Lambda Managed Instances and handle provisioning and scaling, enabling AWS to transparently provision EC2-based capacity for Lambda functions.

Core Features & Use Cases

  • Migrate existing Lambda functions to LMI with minimal changes and clear cutover planning.
  • Configure capacity providers, memory-to-vCPU ratios, and PerExecutionEnvironmentMaxConcurrency for predictable performance.
  • Compare costs and plan migrations against standard Lambda using Savings Plans or Reserved Instances.

Quick Start

Migrate an existing Lambda function to LMI and publish a version to provision capacity.

Frequently Asked Questions about aws-lambda-managed-instances

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run AWS Lambda on EC2 with consistent provisioned capacity?

Lambda Managed Instances (LMI) run Lambda on EC2 with AWS-managed capacity. LMI handles provisioning and scaling across multiple AZs, providing consistent provisioned capacity and controlled concurrency for predictable performance.

How do I configure concurrency and memory-to-vCPU ratios for Lambda Managed Instances?

Configure capacity providers and tune memory-to-vCPU ratios to manage Lambda Managed Instances. Set PerExecutionEnvironmentMaxConcurrency to achieve predictable performance and control concurrency across your execution environments.

When should I migrate workloads to Lambda Managed Instances instead of standard Lambda?

Migrate to Lambda Managed Instances for workloads requiring reduced cold starts, consistent provisioned capacity, and controlled concurrency across multiple AZs. Use LMI when standard Lambda scaling behavior cannot meet predictable performance requirements.

How do I compare costs for Lambda Managed Instances against standard Lambda?

Compare Lambda Managed Instances costs against standard Lambda by evaluating Savings Plans or Reserved Instances. Cost comparisons help plan migrations by analyzing provisioned EC2-based capacity expenses versus standard serverless execution pricing.

What AWS configurations are needed to migrate an existing Lambda function to LMI?

Migrating a Lambda function to LMI requires configuring IAM roles, VPC access, and versioning. You publish a version to provision capacity, addressing architecture decisions and monitoring guidance with minimal code changes and clear cutover planning.