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 added this to Passport Sep 25, 2023
@nutrina nutrina converted this from a draft issue Sep 25, 2023
@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

@nutrina nutrina moved this from Prioritized to Product/UX Review in Passport Oct 3, 2023
@erichfi erichfi moved this from Product/UX Review to Ready to Deploy in Passport Oct 9, 2023
@erichfi erichfi moved this from Ready to Deploy to Done in Passport Oct 11, 2023
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