Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AWS Lambda behind Load Balancer (ALB) #2072

Closed
1 task
zoellner opened this issue Jan 11, 2024 · 1 comment
Closed
1 task

Support AWS Lambda behind Load Balancer (ALB) #2072

zoellner opened this issue Jan 11, 2024 · 1 comment
Labels

Comments

@zoellner
Copy link

Describe the feature

The current aws-lambda present assumes that the lambda is behind an API Gateway (tries to distinguish between v1 and v2). But there are other infrastructure configuration options and it is possible to have the lambda behind an ALB (see https://aws.amazon.com/blogs/networking-and-content-delivery/lambda-functions-as-targets-for-application-load-balancers/)

The event format is slightly different in that case. ALB can also have a multi value header option turned on or off (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html#enable-multi-value-headers) which changes the event format as well.

Related to #505 (split presets into different one for these use cases) and #79 (lambda-edge support)

This repo does a good job at distinguishing between the different event formats and normalizing it: https://github.com/dougmoscrop/serverless-http

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Jan 7, 2025

Moving to the unified tracker: #2973

  • Please upvote 👍🏼 this (closed) issue to support
  • Please comment here if you would like to work on it

@pi0 pi0 closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants