Skip to main content

Lambda Managed Instances (2026): Scheduled Scaling, 32 GB / 16 vCPU, and Ops Playbook

Serverless & ContainersUpdated Manoj V.4 min read

Quick summary: After the March to May 2026 LMI updates (32 GB / 16 vCPU, 4,096 FDs, EventBridge scheduled scaling), a B2B analytics API (~40k peak RPM, 9 to 6 UTC) cut idle capacity hours ~62% by scheduling MinExecutionEnvironments from 20 to 3 off-peak.

Key Takeaways

  • First-party benchmark silhouette: B2B analytics API, ~40k peak RPM, 9 to 6 UTC weekday traffic, Node 22 on LMI 4:1 ratio
  • Before schedule: floor left at min=20 EE overnight
  • After EventBridge cron (min=20 at 08:00 UTC, min=3 at 18:00 UTC): measured ~62% drop in idle capacity hours on that function version over a two-week sample (Cost Explorer filtered by function tag)
  • io The five controls (set in this order) 1
  • Memory and vCPU Minimum 2 GB / 1 vCPU
Lambda Managed Instances (2026): Scheduled Scaling, 32 GB / 16 vCPU, and Ops Playbook
Table of Contents

Between March and May 2026, AWS raised Lambda Managed Instances (LMI) ceilings to 32 GB memory / 16 vCPUs, raised the Managed Instances file-descriptor limit to 4,096, and GA’d scheduled scaling through Amazon EventBridge Scheduler calling PutFunctionScalingConfig (32 GB / 16 vCPU, FD limit, scheduled scaling, scaling guide).

This is the ops playbook for those controls. It does not recap the March service-announcements post or replace event-throughput tier selection.

Artifacts: scaling decision matrix, scheduler script, architecture diagram (draw.io).

How LMI scaling differs from classic Lambda

Per AWS docs:

ModeScales whenCold starts
Classic LambdaNo free EE for an invocationYes (unless Provisioned Concurrency / SnapStart)
LMIAsync on CPU utilization and multi-concurrency saturationNo cold-start model of classic Lambda

If traffic more than doubles within five minutes, expect possible throttles while Scaler launches instances and execution environments. That is the core ops constraint this playbook designs around.

API clients ──► API Gateway / ALB ──► LMI function (Capacity Provider)
                                         │
                     EventBridge Scheduler ──► PutFunctionScalingConfig (min/max EE)
                                         │
                              Lambda Scaler ← CPU + concurrency signals

Reference architecture

Lambda Managed Instances with EventBridge scheduled capacity envelopes

Figure: clients hit API Gateway; LMI Capacity Provider hosts multi-concurrent EEs; EventBridge Scheduler lifts and lowers Min/MaxExecutionEnvironments around business hours. Open draw.io

The five controls (set in this order)

1. Memory and vCPU

Minimum 2 GB / 1 vCPU. Ratios: 2:1, 4:1, 8:1. Ceiling (Mar 2026): 32 GB / 16 vCPUs. Python often needs 4:1 or 8:1 under multi-concurrency.

2. Maximum concurrency per execution environment

Default Lambda values aim for balance. Raise only when CPU is low (up to 64 concurrent requests per vCPU). Lower when memory dominates. Monitor ConcurrencyThrottles, CPUThrottles, MemoryThrottles, DiskThrottles before guessing.

3. Min / Max execution environments

Defaults: min=3 (AZ spread), no hard max unless you set one. Pair both on PutFunctionScalingConfig. 0/0 deactivates the qualified version without deleting the function.

# AWS CLI example — PutFunctionScalingConfig (docs-aligned)
aws lambda put-function-scaling-config \
  --function-name my-lmi-function \
  --qualifier '$LATEST.PUBLISHED' \
  --function-scaling-config MinExecutionEnvironments=5,MaxExecutionEnvironments=80 \
  --region us-east-1

4 and 5. Capacity Provider resource utilization and instance types

Tune target utilization and allowed instance families at the Capacity Provider when the function already has a healthy memory/concurrency profile. Do not start here.

Scheduled scaling (May 2026)

Create EventBridge schedules that target the universal SDK ARN arn:aws:scheduler:::aws-sdk:lambda:PutFunctionScalingConfig with MinExecutionEnvironments / MaxExecutionEnvironments in the input. IAM role needs lambda:PutFunctionScalingConfig on the function ARN.

Opinionated recommendation

Use LMI when you have multi-concurrent, compute- or I/O-pool heavy APIs with known diurnal peaks and want Lambda packaging without owning ECS services. Stay on an on-demand Event Function when the main cost is idle time you want at true zero without Scheduler discipline. Prefer ECS/EKS when you need custom runtimes, sidecars, or jobs longer than 90 minutes. Async and supported ESM invokes on LMI can run 90 minutes as of 9 Sep 2026. See the timeout decision guide. On-demand Event Functions, including LMI sync, are 30 minutes as of 19 Nov 2026. Event Functions on LMI can request GPU memory with AcceleratorConfig as of 18 Nov 2026. A long-running service is still not a Lambda function.

Trusted Advisor recommendations, 20 November 2026

On 20 November 2026, AWS Lambda cost optimization recommendations in Trusted Advisor flag on-demand Event Functions where a move to Lambda Managed Instances is estimated to cost less. Each recommendation includes the function ARN, a recommended EC2 instance type, a memory-to-vCPU ratio, the estimated current cost, the estimated LMI cost, and the estimated savings. Lambda builds that estimate by simulating the function’s invocation patterns against public Lambda prices and Amazon EC2 On-Demand prices. It is not the bill you would pay after Savings Plans or Reserved Instances, even though LMI can use those commitments once you move. Regions: US East (N. Virginia), US West (Oregon), Europe (Ireland), and Europe (Milan). Customers with an eligible AWS Support plan see the checks in the Trusted Advisor console. This page does not publish a savings figure of its own.

What to do this week

  1. Score the workload with lmi-scaling-decision-matrix.md.
  2. Confirm Capacity Provider + published qualifier ($LATEST.PUBLISHED semantics).
  3. Graph the four throttle metrics for seven days.
  4. Ship Monday to Friday scale-up / scale-down schedules.
  5. Tag the function and verify idle hours drop in Cost Explorer.

What this post doesn’t cover

  • Lambda Durable Functions (Dec 2025 / separate orchestration model)
  • Graviton vs x86 capacity provider SKUs: region-specific; verify Current Generation types in your account
  • VPC ENI density math for dense EE packing: network engineering follow-up
  • Full TCO vs Fargate: use high-throughput event tier for queue/stream choice

We have not published a multi-region active-active LMI failover drill. Treat single-region EE floors as the current safe operating envelope unless your team has already run one.

Related: AWS serverless services · Architecture review · Cost optimization

Frequently asked questions

When should we NOT use Lambda Managed Instances?
Skip LMI for bursty event handlers where classic Lambda scale-to-zero + Provisioned Concurrency is cheaper, for single-concurrency scripts that never need multi-request EEs, and when you need multi-minute GPU or custom AMI control that already lives on ECS/EKS.
What goes wrong if traffic more than doubles in five minutes?
LMI scales asynchronously on CPU and multi-concurrency saturation, not on cold-start demand. AWS docs warn that doubling traffic inside five minutes can throttle while instances and execution environments catch up. Pre-raise MinExecutionEnvironments with EventBridge Scheduler before known peaks.
Do scheduled scaling and classic auto scaling conflict?
No. Schedules call PutFunctionScalingConfig to move the min/max envelope; the Scaler still adjusts within that envelope based on CPU and concurrency. Setting both min and max to 0 deactivates the qualified version without deleting the function.
How do memory:vCPU ratios map to instance families?
Supported ratios are 2:1 (compute), 4:1 (general), and 8:1 (memory). Minimum function size is 2 GB / 1 vCPU. Cap is 32 GB / 16 vCPUs (March 2026). Python workloads often need 4:1 or 8:1 because of multi-concurrency memory pressure.
Does the 4,096 file descriptor limit apply to classic Lambda?
No. The increase from 1,024 to 4,096 is documented for functions running on Managed Instances. Classic Lambda still uses its platform FD limits; do not assume LMI limits apply to default Lambda.
How is this different from the event-throughput tier post?
The event-throughput guide picks SQS vs Kinesis vs Express Mode. This post assumes you already chose LMI for compute-heavy multi-concurrent APIs and covers capacity envelopes, FD pools, and scheduled scaling ops.
Manoj V.
Manoj V.

Enterprise AI Transformation

Enterprise AI transformation and implementation leader focused on pilot-to-production playbooks, with a background in financial services. Writes the FactualMinds guides on serverless, CI/CD, and DevOps on AWS, the delivery plumbing production AI depends on.

Enterprise AI TransformationPilot to ProductionFinancial ServicesAWS ServerlessCI/CDDevOps

Recommended Reading

Explore All Articles »