
enabling-lambda-vpc-internet-access
Enables internet access for AWS Lambda functions deployed in VPC subnets
by awsFree
Description
Enabling Lambda VPC Internet Access is an agent skill for giving AWS Lambda functions that run in VPC private subnets outbound internet access. Lambda functions in a VPC cannot receive public IP addresses, so outbound access needs NAT Gateway infrastructure. That infrastructure routes traffic from the private subnets through a public subnet to an Internet Gateway. The skill sets up the NAT Gateway and configures the public and private subnet routing, and it asks the agent to follow the setup procedure exactly. It includes troubleshooting for common failures. If a NAT Gateway does not work, the agent checks that the route table for the Lambda subnets has a 0.0.0.0/0 route pointing to the NAT Gateway. The skill is part of the AWS agent toolkit. It is published by aws/agent-toolkit-for-aws on skills.sh with about 6.8K installs, and its repository is listed under networking and content delivery skills.…
Highlights
- NAT Gateway set up for Lambda functions in a VPC
- Public and private subnet routing configured
- Follows a fixed setup procedure
- Troubleshooting for NAT Gateway routing
- Checks the 0.0.0.0/0 route to the NAT Gateway
Ratings & Reviews
No ratings yet
Be the first to rate enabling-lambda-vpc-internet-access.
People also visit

connecting-lambda-to-api-gateway
Connects an existing AWS Lambda function to Amazon API Gateway

configuring-vpc-endpoints-for-private-aws-service-access
Configures VPC endpoints (interface and gateway)

aws-networking
Routes AWS networking requests to the correct service skill for implementation

aws-lambda-python-integration
Provides AWS Lambda integration patterns for Python with cold start optimization
enabling-lambda-vpc-internet-access FAQ
What is the Enabling Lambda VPC Internet Access skill?
It is an agent skill that gives Lambda functions in private VPC subnets outbound internet access through a NAT Gateway.
How do I install it?
Run npx skills add https://github.com/aws/agent-toolkit-for-aws --skill enabling-lambda-vpc-internet-access in your project.
Why can't a VPC Lambda reach the internet directly?
Lambda functions in a VPC cannot receive public IP addresses, so they need a NAT Gateway in a public subnet to reach the internet.
What is the first thing to check if the NAT Gateway does not work?
The route table for the Lambda subnets should have a 0.0.0.0/0 route pointing to the NAT Gateway.
What do the security audits show?
On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Warn and Snyk Pass.
What are the best enabling-lambda-vpc-internet-access alternatives?
Popular alternatives to enabling-lambda-vpc-internet-access include connecting-lambda-to-api-gateway, configuring-vpc-endpoints-for-private-aws-service-access and creating-production-vpc-multi-az. See all enabling-lambda-vpc-internet-access alternatives


