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

Implement rate limiting via API Gateway #1

Open
pfych opened this issue Jun 10, 2023 · 3 comments
Open

Implement rate limiting via API Gateway #1

pfych opened this issue Jun 10, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@pfych
Copy link
Owner

pfych commented Jun 10, 2023

API Gateway likely offers a method of rate limiting, if we can do it via our serverless.yml its 10x better than doing it in our lambda since that's where we pay money for execution time.

@pfych pfych added the enhancement New feature or request label Jun 10, 2023
@pfych pfych self-assigned this Jun 10, 2023
@pfych
Copy link
Owner Author

pfych commented Jun 13, 2023

This might have to be done with AWS WAF.

https://docs.aws.amazon.com/waf/latest/APIReference/API_RateBasedStatement.html

Potentially do a cost comparison of someone pummelling the instance vs implementing WAF rules, seems like it can range $1/$5 fixed cost monthly.

@pfych
Copy link
Owner Author

pfych commented Jun 13, 2023

Repository owner deleted a comment from create-issue-branch bot Jun 13, 2023
@pfych pfych added this to the Infrastructure milestone Jun 13, 2023
@pfych
Copy link
Owner Author

pfych commented Jun 15, 2023

This will be resolved once #5 is merged

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

No branches or pull requests

1 participant