Overview
A high level overview of the firebase extension use case.
Last updated
A high level overview of the firebase extension use case.
Last updated
The protects you against unexpectedly large costs in your Firebase project. This extension was built due to a recurring concern (and issue) in the Firebase community around cost control.
I keep this extension up-to-date and respond actively in the . If you like this, feel free to buy me a coffee!
Generally, the use case will centre around cost blow outs.
Disable your whole project when you reach a billing threshold.
DIsable pre-defined services in your project when you reach a billing threshold.
Cloud platforms are usage based, Firebase included. This means that as you use the service you will be charged exactly for what you use. For example, if you store 100 TB of data, you pay for 100 TB of data. This principle applies to all elements of the cloud platform - storage, compute, and networking.
The question we developers are left with is: how can we stop unexpected cost blowouts from occuring?
An issue that consistently arises is when you use too many resources unintentionally - through either bugs or abuse. For example, a Redditor posted about a from a bug in their code. The general expectation of the platform provider is that you pay for these resources and that you put the safeguards in place to prevent bugs and (some) abuse. Platform providers will only notify you when your bill is going up, but do not take action unless you implement something to handle this for your project.
The extension is a safeguard to quickly disable project resources when your project reaches a billing threshold. You define a dollar figure, and if your project blows out to that number, it will stop services on your behalf.