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 for ALB #501

Open
reiz opened this issue Jun 29, 2020 · 1 comment
Open

Support for ALB #501

reiz opened this issue Jun 29, 2020 · 1 comment
Labels
feature v5 jets v5 issues

Comments

@reiz
Copy link

reiz commented Jun 29, 2020

First of all, thank you for doing this work! Kudos to you!
jets deploy just works fine. However, it would be nice to have support for ALB.

Motivation

The API Gateway offers a lot of features, but I don't need any of it. And besides that, the API Gateway is very expensive if you have a lot of API calls. Check out this blog post about the price comparison. And I also don't need a Lambda for each controller method.

Desired setup

I would like to run jets deploy and ideally it:

  • Sets up 1 Lambda per controller. So that I have all my Endpoints that belong to a domain in one single Lambda. For example, having one Lambda handling ALL the CRUD operations for the USER domain.
  • Setting up an ALB which triggers the Lambda.

Not sure if I'm the only one with this requirement. If so, you can ignore it :-) Than I will do the setup with Terraform.

@reiz reiz added the feature label Jun 29, 2020
@jeremiahlukus
Copy link
Contributor

One lambda per controller is done in the v5 branch
https://github.com/boltops-tools/jets/tree/v5

For support with ALB I think this is better terraforming that out yourself.
As mentioned in
https://community.boltops.com/t/possible-to-execute-jets-lambda-through-application-load-balancer/139/2

Though not adding official ELB support, did adjust the response for requests coming from ELBs to help for those who are manually connecting ELBs: https://github.com/tongueroo/jets/pull/242

@tongueroo tongueroo added the v5 jets v5 issues label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature v5 jets v5 issues
Projects
None yet
Development

No branches or pull requests

3 participants