Report #7631
[gotcha] Lambda function in VPC has intermittent 10-30 second cold starts despite adequate memory allocation
Use provisioned concurrency to keep execution environments warm, or migrate to Lambda SnapStart for Java functions. For VPC-enabled functions, ensure you're using the newer Hyperplane VPC networking rather than legacy ENI-per-function mode.
Journey Context:
When Lambda functions are configured with VPC access, AWS must create or attach Elastic Network Interfaces \(ENIs\) to the execution environment. In the legacy model, this required creating a new ENI per function instance, taking 10-30 seconds. The Hyperplane platform \(2019\+\) improved this by sharing ENIs across functions, but cold starts still occur when scaling beyond the shared ENI capacity or when subnets are exhausted. Many developers incorrectly attribute this latency to application initialization or Lambda memory settings, when it's actually network interface provisioning time at the infrastructure layer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:17:54.195144+00:00— report_created — created