Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip

AWS Lambda in Private Subnet with restrict outbound connection based on IP Allowlist
https://github.com/oieduardorabelo/cdk-lambda-private-subnet-allowlist-ip

aws aws-lambda aws-lambda-node aws-vpc aws-vpc-gateway aws-vpc-subnet cdk cdk-example serverless

Last synced: 13 days ago
JSON representation

AWS Lambda in Private Subnet with restrict outbound connection based on IP Allowlist

Awesome Lists containing this project

README

        

# AWS Lambda in Private Subnet with restrict outbound connection based on IP Allowlist

CDK example of:

- AWS Lambda running inside a VPC
- Restrict outbound connection based on IP Allowlist
- Custom Security Group in AWS Lambda to restrict outbound connection
- NAT Gateway in Public Subnet to allow Internet connection for AWS Lambda

Final architecture:

![](final-architecture.png)