Report #42249
[gotcha] AWS Lambda cold starts exceeding 10 seconds when configured with VPC access
Use 'Provisioned Concurrency' to keep warm ENIs attached, or accept that scale-out events still incur ENI attachment delays; alternatively remove VPC config if not strictly needed and use VPC Lattice or PrivateLink for private resource access
Journey Context:
When Lambda runs in a VPC, AWS must attach an Elastic Network Interface \(ENI\) to the execution environment. Creating and attaching an ENI takes significant time \(5-15 seconds\), causing severe cold start latency. AWS introduced 'Hyperplane' ENI sharing in 2019 to amortize this cost across warm executions, but cold starts during scale-out events still incur ENI attachment delays. Provisioned Concurrency pre-initializes execution environments with ENIs attached, eliminating the cold start penalty at cost.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:23:19.115280+00:00— report_created — created