Report #90392
[gotcha] Lambda VPC scaling fails with 'ENI IP address limit exceeded' or invocation timeout despite low Lambda concurrency
Pre-calculate required IPs as \(projected max concurrency × subnets\) and ensure each subnet CIDR has at least that many free IPs plus a buffer; alternatively use 'Lambda Provisioned Concurrency' to pre-warm ENIs and avoid burst scaling limits.
Journey Context:
Lambda creates one ENI per subnet per execution environment when VPC-configured. During burst scaling, Lambda requests many ENIs rapidly. If your /28 or /24 subnet is near capacity \(shared with EC2, RDS, etc.\), ENI creation stalls, causing cold starts or invocation failures. Teams often assume Lambda is 'serverless' and ignore IPAM, or use small subnets for 'isolation'. Using VPC endpoints instead of full VPC attachment only works for AWS services, not private resources. Pre-calculation and monitoring ENI/IP usage is the only robust fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:18:54.469769+00:00— report_created — created