我可以对Google Cloud Platform支出设置硬性限制吗?如果是,怎么办? [英] Can I set a hard limit to Google Cloud Platform spend? if yes, how?

查看:170
本文介绍了我可以对Google Cloud Platform支出设置硬性限制吗?如果是,怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想确保我不会在GCP(Google云平台)的使用上花费过多的钱,但是我不确定这样做的方式.

I'd like to make sure I don't spend too much money in GCP (Google Cloud Platform) usage, but I'm not sure of the way to do so, if such a way exist.

所以我尝试在GCP中创建预算,但是我怀疑这些预算是硬性规定的,因为文档此问题(尽管询问Google开发者控制台,所以我的问题不是重复的),似乎暗示Google预算只是在发送通知,而不是对您的GCP使用情况设置硬性限制.

So I tried creating budgets in GCP, but I doubt these are hard cap, since the documentation and this question (though asking about google developer console, therefore my question isn't, I think, a duplicate) seem to suggest Google budgets are simply sending notification, but don't put hard cap on your GCP usage.

谢谢您的帮助.

推荐答案

可以为Google Cloud项目设置成本并停止使用.您需要

It is possible to cap costs and stop usage for a Google Cloud project. You need to

  • 设置预算以监控项目成本,
  • 启用预算通知
  • ,然后配置一个Cloud Function来调用Cloud Billing API,以禁用该项目的计费 查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆