如何在 Google Developers Console 中设置成本限制 [英] How do I set a cost limit in Google Developers Console
问题描述
Google Developers Console 中的某些功能(例如 Analytics API)在您达到配额之前是免费的.其他功能(例如 Google Cloud Storage)会从第一次点击中产生成本.
Some functions in the Google Developers Console, like the Analytics API, are free until you reach a quota. Other functions, like Google Cloud Storage, create costs from the first click.
当我在 https://console.developers.google.com/下上传文件时 >存储 >云存储Storage Browser
和我将此文件公开可用,我为每 GB 流量支付大约 0.12 美元.
When I upload a file under https://console.developers.google.com/ > Storage > Cloud Storage > Storage Browser
and I make this file publicly available, I pay about $0.12 per GB traffic.
但理论上此链接的流量可能会爆炸,例如因为突然走红.因此,我想设置诸如每日或每月成本限制之类的内容.
But theoretically the traffic to this link could explode, e.g. because of sudden popularity. Therefore I would like to set something like a daily or monthly cost limit.
问:我如何保护自己免受 Google Developers Console 过高成本的影响?
Q: How do I protect myself from overly high costs in the Google Developers Console?
推荐答案
截至 2017 年 7 月,您可以设置通过电子邮件发送通知的预算但不限制支出:
As of July 2017 you can set budgets that send notifications via email but do not cap spending:
要设置仅用于提醒的预算,不会限制支出:
To set an alert-only budget, which will not cap spending:
- 转到云平台控制台.
- 打开控制台左侧菜单并点击结算
- 如果您有多个结算帐号,请点击结算帐号名称.
- 在左侧,点击预算和;警报.
官方帮助页面:https://support.google.com/cloud/answer/6293540?hl=en
这篇关于如何在 Google Developers Console 中设置成本限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!