creativecreatorormaybenot
creativecreatorormaybenot

Reputation: 126894

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

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?

Upvotes: 5

Views: 4250

Answers (2)

srinivas
srinivas

Reputation: 5108

Yes! You can never trust google to be good for long.

Now they want to move you to paid plans to write cloud functions.

If would have been ok, but when you consider that even simple things like knowing the count of a collection in firebase/firestore will also require a paid billing plan as probably you want to use increment/decrement counter on database triggers, it's really messed up to see how such a database can be useful.

I think its time for developer to find some other avenues which are more honest.

Upvotes: 1

creativecreatorormaybenot
creativecreatorormaybenot

Reputation: 126894

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.

Upvotes: 5

Related Questions