由于 Cloud Build API,Firebase Cloud Functions 是否需要在 2020 年 4 月 20 日之前启用结算功能? [英] Do Firebase Cloud Functions require Billing to be enabled by April 20, 2020 because of the Cloud Build API?

查看:20
本文介绍了由于 Cloud Build API,Firebase Cloud Functions 是否需要在 2020 年 4 月 20 日之前启用结算功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

云函数与云构建

我通过电子邮件收到通知,我需要为我的 Firebase 项目执行以下操作:

<块引用>

[需要采取行动] 在 2020 年 4 月 20 日之前为您的 Cloud Functions 项目启用 Google Cloud Build API

该消息进一步说明 Cloud Functions 将使用 云构建, Container Registry,以及未来的 Cloud Storage,以便部署代码.p>

计费

收到通知后,我按照描述的步骤进行操作:

<块引用>

  1. 访问云生成API 在云端控制台链路.
  2. 从下拉菜单中选择您的项目.
  3. 点击继续为项目启用 Cloud Build API.左下角将出现一个框,以确认 API 已启用.

我访问了链接并按照步骤操作,但失败了:目前无法启用此 API.您可能缺乏适当的权限.Google Cloud Console 中使用启用"按钮 我的 Firebase 项目向我展示了:

<块引用>

需要结算

<小时>

这是否意味着 Cloud Functions for Firebase 现在需要启用计费,即 Blaze 计划?

解决方案

答案是(经支持确认)和否.

<小时>

如果您想在 4 月 20 日之后部署 Cloud Functions,您必须在 GCP 控制台中设置一个结算帐户.这是因为超出免费配额时,您需要为 Cloud Build 支付额外费用.

<小时>

但是,您确实不需要在 Firebase 中选择 Blaze 计划.

Cloud Functions & Cloud Build

I have received notice via email that I need to do the following for my Firebase project:

[Action Required] Enable the Google Cloud Build API for your Cloud Functions project(s) before April 20, 2020

The message further explains that Cloud Functions will use Cloud Build, Container Registry, and Cloud Storage in the future in order to deploy code.

Billing

Having received the notice, I followed the described steps:

  1. Access the Cloud Build API link in the Cloud Console.
  2. Select your project from the drop-down menu.
  3. Click Continue to enable the Cloud Build API for the project. A box will appear in the lower-left corner to confirm the API is enabled.

I visited the link and followed the steps and it fails: This API cannot be enabled at the moment. You may lack appropriate permissions. Using the "Enable" button at Cloud Build in the Google Cloud Console for my Firebase project shows me:

Billing required


Does this mean that Cloud Functions for Firebase now require billing to be enabled, i.e. the Blaze plan?

解决方案

The answer is yes (confirmed by support) and no.


If you want to deploy Cloud Functions after April 20, you will have to set up a billing account in the GCP console. This is because you need to pay extra for Cloud Build when exceeding the free quota.


However, you do not need to select the Blaze plan in Firebase.

这篇关于由于 Cloud Build API,Firebase Cloud Functions 是否需要在 2020 年 4 月 20 日之前启用结算功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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