Home icon

Build high-performance apps with AWS Lambda Managed Instances

Compute Blog



This article explains how to build high-performance applications using AWS Lambda Managed Instances (LMI), which runs Lambda functions on selected EC2 instance types while maintaining the Lambda programming model.

  • Create Capacity Providers defining infrastructure blueprint with instance types, VPC configuration, and scaling behavior
  • Choose from 400+ EC2 instance types: C (compute), M (general purpose), R (memory optimized)
  • Configure memory-to-vCPU ratios: 2:1 (compute), 4:1 (general), 8:1 (memory optimized)
  • Support multiple concurrent invocations per execution environment to reduce costs
  • Publish function versions to provision EC2 instances and pre-warm execution environments
  • Lambda automatically scales based on CPU utilization up to configured MaxVCpuCount limit
  • Code must be thread-safe for concurrent execution across shared environments
  • Monitor CloudWatch metrics for CPU, memory, concurrency, and disk utilization
  • Supports I/O-bound and CPU-intensive workloads with optimized configurations

LMI combines serverless simplicity with EC2 compute flexibility for data pipelines, compute-intensive operations, and cost-sensitive steady-state applications.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 10
2026
Building Memory-Intensive Apps with AWS Lambda Managed Instances
May 12
2026
AWS Lambda supports scheduled scaling for functions on Lambda Managed Instances
Dec 1
2025
Announcing AWS Lambda Managed Instances, a capability to run functions on your Amazon EC2 instances
Dec 1
2025
Introducing AWS Lambda Managed Instances: Serverless simplicity with EC2 flexibility

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.