enabling-lambda-vpc-internet-access
CommunityRestore outbound internet for VPC Lambdas
Software Engineering#aws#lambda#security groups#nat gateway#vpc networking#route tables#serverless egress
Authormreferre
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AWS Lambda functions running inside VPC private subnets often cannot reach the public internet because they do not have public IP addresses, breaking outbound calls to external services.
Core Features & Use Cases
- Creates NAT Gateway-based egress: Sets up NAT Gateway infrastructure to provide outbound internet access from private subnets.
- Configures subnet routing: Updates private subnet route tables so
0.0.0.0/0traffic flows through the NAT Gateway. - Validates security group egress: Ensures the Lambda security group outbound rules permit required HTTP/HTTPS traffic (typically ports 80 and 443).
- Use Case: Enable an existing VPC-attached Lambda to call a third-party API (e.g., payment provider, ticketing system, or public URL endpoints) without moving the function out of the VPC.
Quick Start
Ask the AI to set up NAT Gateway egress for your Lambda by following the Lambda VPC internet access setup procedure for the specific lambda function name you provide.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: enabling-lambda-vpc-internet-access Download link: https://github.com/mreferre/aws-agent-toolkit-skills/archive/main.zip#enabling-lambda-vpc-internet-access Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.