Report #51783
[gotcha] AWS Lambda VPC cold start latency from Hyperplane ENI creation
Avoid VPC for Lambda unless strictly required; if required, use Provisioned Concurrency or migrate to VPC Lattice to eliminate ENI creation entirely.
Journey Context:
Lambda functions in a VPC require Elastic Network Interfaces \(ENIs\) to access private subnets. Historically, this caused multi-second cold starts as Lambda created an ENI per function instance. AWS introduced Hyperplane \(VPC Networking improvements\) which shares ENIs across functions, but cold starts still occur when scaling beyond existing ENI capacity. Many developers assume VPC is 'more secure' by default, but Lambda is already secure without VPC; VPC should only be used when accessing private resources \(RDS, ElastiCache\). The fix is architectural: remove VPC if possible, or use Provisioned Concurrency to keep instances warm \(avoiding cold starts\), or better yet, use VPC Lattice which allows Lambda to access VPC resources without being in the VPC \(no ENI creation\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:24:48.160079+00:00— report_created — created