Application Load Balancer (path-based-route) to AWS Lambda

Application Load Balancer → AWS Lambda → AWS Lambda

Create an Application Load Balancer with path-based routing using AWS Lambda as target

This pattern shows how to create an Application Load Balancer with path-based routing along with associated listener and target as AWS Lambda. Implemented in Terraform.

< 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-path-based-route-lambda-tf

Deploy

terraform apply --auto-approve


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the resource: terraform destroy --auto-approve.

Created by:

Pushparaju Thangavel

Pushparaju Thangavel

Pushparaju is a Cloud Infrastructure Architect with Amazon Web Services

Follow on LinkedIn