Report #57484
[gotcha] Lambda cold starts timeout in VPC due to legacy ENI attachment delay
Use AWS Lambda VPC networking improvements \(Hyperplane\) which share ENIs across functions, or use Provisioned Concurrency to keep execution environments warm. If using legacy VPC networking, ensure sufficient IP addresses in subnets and avoid over-sized security groups.
Journey Context:
Developers enable VPC access for Lambda to reach private RDS/ElastiCache. Legacy Lambda VPC implementation created an ENI per function version per subnet, adding 5-15s cold start time and risking IP exhaustion. Many tutorials still suggest 'just add VPC config' without warning about cold starts. The fix relies on the Hyperplane architecture \(announced 2019\) which shares ENIs across functions, but cold starts still occur if execution environments are recycled. Provisioned Concurrency is the only way to eliminate cold starts entirely for VPC functions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:58:38.749784+00:00— report_created — created