0

Is it possible to fix the maximum quota (of credits) usable by an user?
For example, fixing a limit of 1000 USD for a particular user per month or year.

What I have looked at so far:
1. Guide to Cloud Billing Resource Organization & Access Management
2. Working with Quotas
3. How-to Guides -- Cloud Billing
4. Resource Quotas

I believe none of these articles have the answer. So, please atleast let me know if it's possible.

Gokul NC
  • 1,111
  • 4
  • 17
  • 39

1 Answers1

2

No, it's not possible per user, you can only set budget alerts on project, with several threshold for notification, and ONLY FOR NOTIFICATION. The project won't be shut down in case of limit reached.

You can also send these alerts into PubSub and then perform some special operation, like deactivate the billing on the project (and thus stop totally the project). There is an example here

This limitation is not perfect, in particular when users use BigQuery. If a user do anything, the whole project is impacted. About BigQuery, billed byte limitations should be released, a day.

guillaume blaquiere
  • 66,369
  • 2
  • 47
  • 76
  • The budget alerts seem to be on a per-month basis. It would have been better if there was atleast an option to set the complete budget for a project throughout some period, like an year or something. – Gokul NC Sep 14 '19 at 14:01