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

[INFRA] Lambda function setup #405

Open
4 tasks done
nutrina opened this issue Sep 25, 2023 · 1 comment
Open
4 tasks done

[INFRA] Lambda function setup #405

nutrina opened this issue Sep 25, 2023 · 1 comment

Comments

@nutrina
Copy link
Collaborator

nutrina commented Sep 25, 2023

We need a lambda function to handle the submit-passport requests:

  • lambda function should be linked to the current load balancer
  • should be triggered on the requests to /registry/submit-passport and /registry/v2/submit-passport. (is possible specify a wildcard /registry/*/submit-passport)
  • should be throttled - topic for discussion
  • lambda function will be implemented in Python and deployed as a container (this is open for discussion if other deployment type would be recommended)

So far the approach with lambda function has been tested here: https://github.com/gitcoinco/passport-scorer/tree/1646_lambda

@nutrina nutrina changed the title Lambda function setup [INFRA] Lambda function setup Sep 25, 2023
@nutrina
Copy link
Collaborator Author

nutrina commented Oct 3, 2023

The throttling of the acces to lambda will happen from the WAF.
All other points are covered in the test branch: https://github.com/gitcoinco/passport-scorer/tree/1646_lambda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant