Lambda VPC Networking
Attaching a function to a VPC routes its traffic through Hyperplane ENIs shared across environments (created once per subnet/security-group combination, not per invoke, so the old per-invoke ENI cold-start penalty is gone). The tradeoff that remains: a VPC-attached function loses direct internet access and needs a NAT gateway or VPC endpoints to reach AWS APIs.
This Concept is waiting for its first lesson!
Attaching a function to a VPC routes its traffic through Hyperplane ENIs shared across environments (created once per subnet/security-group combination, not per invoke, so the old per-invoke ENI cold-start penalty is gone). The tradeoff that remains: a VPC-attached function loses direct internet access and needs a NAT gateway or VPC endpoints to reach AWS APIs.
Are you a teacher? Sign in to start contributing.
Sign In