5

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?

creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402
  • I suggest contacting Firebase support to get an official statement about billing. https://support.google.com/firebase/contact/support – Doug Stevenson Feb 28 '20 at 16:23
  • 2
    I hope not -- that would be sneaky! It would be great if you could get an official statement from support on this issue and post back. – ultraGentle Feb 28 '20 at 16:28
  • 1
    It was the same thing with App Engine month ago. Many used only App Engine for free for dev/uat project, no credit card needed. But, when Cloud Build has been introduce, a credit card was required. No extra billing because there is 120 free build minutes per day and per billing account, but if there is a lot of build on lot of project in the same day, you will start to pay! – guillaume blaquiere Feb 28 '20 at 21:07

2 Answers2

5

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.

creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402
1

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.

srinivas
  • 4,778
  • 2
  • 32
  • 43