As a Wikibase Cloud EM I want to have the ability to limit the daily spending of Wikibase Cloud's infrastructure budget, so that I am confident I am in control of the budget usage.
We suspect that this entails setting a "lock" (budget) in GCS that prevents spending above 5% of the total budget in one day. We might want to investigate what GCS offers in this regard: https://cloud.google.com/billing/docs/how-to/budgets.
This could potentially also be set up in Terraform: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/billing_budget.
Notes from Storytime:
- Do we need to set up notifications for when the budget is reached (or close to being reached) within a given day? LM: Ultimately, yes. For the minimal closed beta version, this is a corner which could be cut. The minimal requirement is that massive overspending is blocked. However adding notifications that the threshold was reached would be expected soon thereafter (e.g. within a sprint) so it may make sense to tackle together depending on effort involved