Application Load Balancer to AWS Lambda

Application Load Balancer → AWS Lambda

Create an Application Load Balancer that invokes an AWS Lambda function.

This AWS SAM pattern creates an Application Load Balancer with an AWS Lambda function (using Rust) as a target.

< 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-rust

Deploy

sam deploy --guided


Testing

See the repo for additional testing notes.

Cleanup

1. Delete the stack: sam delete --stack-name STACK_NAME.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Created by:

Daniele Frasca

Daniele Frasca

I am Daniele Frasca serverless enthusiast. I build and architect serverless applications at scale.