Report #11987
[gotcha] Lambda VPC execution results in 'SubnetAddressLimitExceeded' or intermittent cold start timeouts despite sufficient ENI limits
Use subnets with large CIDR blocks \(/20 or larger\) and monitor the \`SubnetAddressPoolUtilization\` CloudWatch metric; if IP exhaustion is unavoidable, refactor to use Lambda with VPC Lattice or move to ECS/Fargate to avoid per-execution IP allocation.
Journey Context:
Teams assume Lambda abstracts all networking. When VPC-enabled, Lambda creates an execution environment \(Hyperplane ENI\) that consumes a private IP from the subnet for every concurrent invocation. A /24 subnet with 251 usable IPs can exhaust instantly under burst load. The error is not 'out of ENIs' but 'out of IP addresses in subnet,' which is harder to diagnose. Increasing ENI limits in Service Quotas does not help because the constraint is the subnet CIDR size.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T14:48:16.970615+00:00— report_created — created