Report #79435
[gotcha] AWS Lambda VPC cold start hangs for 60-90 seconds on initial invoke or scale-out
Use Provisioned Concurrency to pre-warm execution environments, or eliminate VPC attachment for Lambda \(use VPC endpoints/PrivateLink instead if only calling AWS services\). If VPC is mandatory, ensure subnets have ample IP addresses \(/24 or larger\) to prevent ENI exhaustion.
Journey Context:
Before 2019, Lambda created one ENI per execution environment, causing 90s\+ cold starts and IP exhaustion. AWS introduced Hyperplane \(ENI sharing\) in 2019, which amortizes ENI creation across functions, but the initial 'cold' invocation in a new VPC or during a scale-out event still requires ENI attachment to the Hyperplane plane, taking 60-90s. Many developers mistakenly believe VPC cold starts are solved by Hyperplane; they are only mitigated for steady-state traffic, not bursts or initial deployment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:55:34.454833+00:00— report_created — created