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

Spending limit #820

Open
QuiiBz opened this issue May 1, 2023 · 0 comments
Open

Spending limit #820

QuiiBz opened this issue May 1, 2023 · 0 comments

Comments

@QuiiBz
Copy link
Member

QuiiBz commented May 1, 2023

We should add a spending limit to Lagon Cloud, that prevents unexpected and unwanted bills.

This limit can be added per function and/or per organization and corresponds to a certain number of requests made during the month. When approaching the limit, the user should get warnings on the dashboard and by email.

Example

Let's assume I don't want to pay more than 5€ for requests served per month because my traffic is relatively low. This corresponds to 5,000,000 requests, so I'll add this limit on the Dashboard.

One day, my project suddenly get a lot of traffic. A warning is triggered when reaching 75% of my limit (3,750,000 requests for me), and another one at 90% (4,500,000 requests for me).

I can choose to raise or disable the limit to make sure every user is able to access my project, or I can keep the limit to avoid spending too much (but that means when reaching the 5,000,000th request, the Function will be disabled).

@QuiiBz QuiiBz added this to the GA milestone May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant