Do Firebase Cloud Functions require Billing to be enabled by April 20, 2020 because of the Cloud Build API?

爷,独闯天下 提交于 2020-05-27 17:29:13

问题


  • Firebase: Enable the Google Cloud Build API for your Cloud Functions project? & understanding "action required" email from GCP, re: enable Cloud Build API ask for something different and I understand what Cloud Build means for Firebase Functions as described in the following. I am asking about the billing requirement - if that is a thing. This is not clear from the notice.

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?


回答1:


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.



来源:https://stackoverflow.com/questions/60453949/do-firebase-cloud-functions-require-billing-to-be-enabled-by-april-20-2020-beca

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!