Skip to content
0:00 / 0:00

#firebase#googlecloudfunctions#billing-api

Cap your Firebase spending #7: Turn off billing if we exceed our cap

Firebase

418K subscribers • 5 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

14K views5 years ago1 recommendation

Cloud and DevOpsDatabases and dataServerlessGoogle Cloud

This tutorial demonstrates how to write a Google Cloud Function to automatically disable billing in Firebase when spending limits are reached.

Welcome back to the _actual_ last video in this Firebase Semi-Live series. In this video, we will implement the final part of our Cloud Function, which will remove the billing service from our project, effectively shutting down most of our Cloud-based services. - Introduction - Writing a function to disable billing - Calling our function to disable billing - Disabling billing for real! - Watching our app shut down - Enabling billing again - We did it! Examples of Automated Cost Control Responses documentation → goo.gle/3qIABwj Watch more from this series → goo.gle/39vkXOA Subscribe to the Firebase channel → goo.gle/Firebase #FirebaseSemiLive

Why it's here

1 person recommends this

What people say. Recommended as the official guide to setting up a billing kill switch for Firebase.

Melon Stack Overflow • Recommends

I'm trying to follow this firebase tutorial for setting up a system to disable billing if a quota is exceeded. link to this video The documents linked in the video description advise that the kill switch can be delayed for a few days before it takes effect: Note: There is a delay of up to a few days between incurring costs and receiving budget notifications. Due to usage latency from the time that a resource is used to the time that the activity is billed, you might incur additional costs for usage that hasn't arrived at the time that all services are stopped. Following the steps in this capping, example is not a guarantee that you will not spend more than your budget. Recommendation: If you have…