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-s3-vpc-endpoint

CDK example of running AWS Lambda in Private Subnet connecting to S3 via VPC Endpoint
https://github.com/oieduardorabelo/cdk-lambda-private-subnet-s3-vpc-endpoint

Last synced: 13 days ago
JSON representation

CDK example of running AWS Lambda in Private Subnet connecting to S3 via VPC Endpoint

Awesome Lists containing this project

README

        

# AWS Lambda in Private Subnet connecting to S3 with VPC Endpoint

CDK example of:

- AWS Lambda running inside a VPC
- Connecting to S3 via VPC Endpoints and not via public internet
- VPC doesn't have NAT Gateways attached
- Completely isolated network running AWS Lambda code
- VPC Endpoint policies to limit S3 actions by Lambda

Final architecture:

![](./diagram.png)