Firebase的云端功能 - 未配置帐单帐户 [英] Cloud Functions for Firebase - Billing account not configured

查看:476
本文介绍了Firebase的云端功能 - 未配置帐单帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为Firebase实施了新的云端功能,但在日志中有些令我困扰的事情:
$ b


未配置帐单帐户。外部网络不可访问,
配额严格限制。配置结算帐户,以消除这些
的限制

我实际上设法从外部网络访问功能,所以我想知道我真的必须给我的结算帐户?在firebase文档中没有任何关于这一点的信息。

我使用Spark订阅计划进行个人测试,并且我不想添加计费信息不会支付任何东西。

解决方案

限制是关于出站访问 - 例如你的功能可以从一般的互联网请求资源。使用一个函数来响应webhook,或访问Google的内部服务,如实时数据库,绝对没问题。



如果您想要调用第三方web服务(例如)你需要启用计费。



其他配额请参阅: https ://firebase.google.com/pricing/ - 您可以看到,调用次数(写入时为125,000次)和CPU和内存(40k cpu-seconds和40k GB-seconds)是有限制的。在免费层。


I just implemented the new Cloud Functions for Firebase, but there something in the log that bothers me:

Billing account not configured. External network is not accessible and quotas are severily limited. Configure billing account to remove these restrictions

I actually managed to access the function from the external network, so I'm wondering do I really have to give my billing account? There's nothing about this in the firebase documentation.

I'm using the Spark subscription plan for personal test purposes and I don't want to add billing info if I'm not going to pay for anything yet.

解决方案

The restriction is about outbound access - e.g. can your Function request resources from the general internet. Its absolutely fine to use a function to respond to a webhook, or to access Google-internal services such a the Realtime Database.

If you wanted to call a third party web service (for example) you'd need to enable billing.

For the other quotas, take a look at: https://firebase.google.com/pricing/ - as you can see there are limits to the number of invocations (125,000 at time of writing) and CPU and memory (40k cpu-seconds and 40k GB-seconds) in the free tier.

这篇关于Firebase的云端功能 - 未配置帐单帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆