Skip to content

Placement, VPC, and dedicated capacity

A capacity provider is the placement boundary for LMI. You define where compute runs (VPC, subnets, security groups) and the instance requirements Lambda can use (for example x86_64 or arm64). A function uses that provider through capacity_provider_config on aws_lambda_function.

ElementWhat you decideWhy it matters
VPC placementSubnets and security groups in your accountDefines network reachability and boundaries
Instance requirementsArchitecture and performance constraintsLets Lambda pick matching current-generation instances
Scaling configscaling_mode, max_vcpu_count, and related limitsCaps fleet growth for this provider

You manage provider configuration; Lambda manages how that configuration is realized as running capacity.

Familyx86_64 (Intel & AMD)arm64 (Graviton)
C (compute optimized)C5, C6, C7C6G, C7G, C8G
M (general purpose)M5, M6, M7M6G, M7G, M8G
R (memory optimized)R5, R6, R7R6G, R7G, R8G
  • Use .large or larger sizes within these families.
  • Default: Lambda selects a suitable current-generation type from the allowed set for your architecture and function configuration.
  • Override: narrow the pool with allowed or excluded instance types on the capacity provider (only one of those lists applies).

With LMI, you do not run the fleet like normal EC2 operations. You configure placement and limits; Lambda runs lifecycle, patching, routing, and managed scaling behavior for the provider fleet.

For quota-sensitive and API-field details, use Lambda Managed Instances as the product reference.