Application Load Balancer with AWS Lambda as a target

Application Load Balancer → AWS Lambda

Create an Application Load Balancer with Lambda as target using CDK

This sample project demonstrates how to create an Application Load Balancer with a target AWS Lambda function.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/alb-lambda-cdk

Deploy

cdk deploy --all


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy --all.

Created by:

Pubudu Jayawardana

Pubudu Jayawardana

AWS Community Builder in Serverless category. Serverless advocate and enthusiast.

Follow on LinkedIn