Does Firebase's free tier expire? - firebase

Many cloud services' free tiers expire within a certain number of months. For example, AWS free tier expires after 12 months.
I'm wondering if Firebase's free tier expire after a certain period of time given that I do not reach the free tier quota.

Firebase does not expire.
Only differences between paid and free account is, paid account gets more storage, bandwidth, hosting space etc than free account.
Reference : https://firebase.google.com/pricing/

No, there is no expiration. Everything on the pricing page is exactly as stated, there are no hidden costs or limits that I'm aware of. Please reach out to Firebase support for canonical billing details.

Related

Google Firebase Cloud Storage high bandwidth cost

The problem I'm experiencing is high cost of bandwidth usage on a multi regional us bucket. Can anyone explain what this cost corresponds to? This Firebase Storage service is used for hosting asset files therefore the only operation that is required by the end user is downloading.
Additionally cost for Upload ops/Download ops/Bytes stored are practically non existent from what I see in Firebase Console.
Thanks
The main reason for a higher cost was that I had my assets stored in an additional bucket that I've created aside of the default one. As it turns out when you're utilizing additional buckets the different pricing schema is applied. Brief information in this regards can be found in Firebase pricing page under ? icon corresponding to Firebase Storage entry.
This is the estimated pricing for common usage. Firebase Storage free
limits are enforced daily and refreshed at midnight Pacific Time. In
the Blaze plan, fees for Firebase Storage are based on usage volume.
Firebase Storage usage fees are processed as Google Cloud App Engine
usage fees for the default bucket, and Google Cloud Storage usage fees
for any additional buckets. For more information, see pricing for
Google Cloud App Engine and Storage.
Additionally, prior to my current implementation of assets cloud fetching, I had it done via publicly accessible HTTP protocol (there are many Youtube clips which "teach" this approach). I'm not quite sure but that might've had an impact on a pricing schema as well (it's a little bit too convoluted reading Google's documentation in this regards and understanding all the terminology). On top of that this approach presented security threat as the urls were publicly accessible to anyone - in order to prevent it one should always think of some kind of authorization mechanism.

How many users can firebase handle?

I found online that firebase can only handle up to 100 users. Does this mean that after 100 users sign up, you will be forced to switch to a higher plan? That seems like a very low user count.
The limit you're referring to is the limit for the number of concurrently connected users to Firebase Realtime Database on the free Spark plan. Once you upgrade to a payment plan, your project will allow 200,000 simultaneously connected users. This is not the total number of users, just the number of them that are currently running your app. This limit does not apply to other Firebase products (there are over a dozen).
I suggest reading over the pricing page carefully to understand the limits for paid and unpaid projects, for each of the individual Firebase products.

Firebase Database Billing Usage

I've just used Firebase & I have 2 questions that hopefully can be answered here.
I was wondering, is the quota for reading 50,000?
And if I exceed that limit, will I have to pay even though I haven't added a credit card or anything to my account.
I want to know this because I don't want to have to pay because I haven't even added a credit card.
If I exceed the quota, will the feature be disabled or will I have to pay?
If you're asking about quotas on the Spark free tier, the daily quota is 50,000 document reads per day, as described in the documentation. If you exceed that quota, queries will fail until the quota is reset the next day.
If you have further question about billing, you should ask Firebase support directly rather than posting to Stack Overflow.

How can you limit the billing in firebase? They used to have this possibility, it looks like they removed it [duplicate]

I'm currently working in a social network app and I need to do a search feature. Firestore does not support these kind of queries, so I need to use an external service like Algolia.
The problem is that the free plan does not support connecting to external websites/APIs other than Google's own ones, so I can't connect to Algolia to get my search system working.
I have read multiple stories about devs paying high bills because of loops or errors in their code, and as the Blaze plan is a pay-to-go plan, they get charged what they used. If a loop generated 10TB of files they will get charged for that.
I also know that Blaze plan's features are free as long as each of them (individually) stay below the limits of the free Spark plan.
So as my question says, is there a way to set limits? For example, I would like to tell Firebase to limit my cloud functions invocations to 100k per month. That way it would be free and I would never be able to get over 100k as it's limited, which means I'll never get billed for that.
Take into account that the only thing I need right now from a paid plan is the connection to external networks. I don't need anything else as we're just starting and the app is not in production, so there's no need for huge limits.
Every Firebase project is also a Google Cloud Platform project. This means that many of the advanced features of Google Cloud Platform are also available for your Firebase project.
For example, you can set up billing alert for your Firebase project, so that you are alerted when the usage reaches a certain level. While you can't configure it to switch off the project at some point, the alert should typically be quite good for alerting you to unusual usage patterns.
For more on this see:
Tracking your spending with budgets in a recent blog post.
The GCP documentation on how to set budget alerts, which is what Firebase uses under the hood.
The GCP documentation now also has a section on capping (disabling) billing to stop usage. This is a brute force approach though and may lead to data being lost, so I'd recommend investigating all other options first.
Update (December 2020): Firebase's Todd Kerpelman just released a series of videos where he disables billing using the process from the documentation mentioned above.
You cannot set spending limits to your app now.
As of December 12, 2019, you can no longer create spending limits, but
you can change or remove existing spending limits.
https://cloud.google.com/appengine/pricing#spending_limit
You can create budgets, which will alert you when reaching the budget. But it won't stop the usage when hitting the budget.
https://cloud.google.com/billing/docs/how-to/budgets#add-new-budget
The screenshot here seems to show a Spending Limit setting for Firebase projects: Firebase: Budget and Daily Spending Limit
That settings page is located here (the Spending Limit setting apparently only shows up once you set up billing for the project): https://console.cloud.google.com/appengine/settings
It's disabled in the poster's case, but I think that's only because he connected it up to a "NodeJS App Engine app", which isn't the case for many Firebase developers.
I haven't tried it yet myself, but will do so once I start a paid plan.
EDIT: Yep, the setting shows up once you switch to a paid plan. (in my case, Blaze) I don't have enough traffic yet to confirm that it works as expected, but if I find later that it doesn't, I'll give an update here.
"This example shows you how to cap costs and stops usage for a project by disabling Cloud Billing. This will cause all Google Cloud services to terminate non-free tier services for the project."
Google Cloud Source

Firebase account creation limit

In Firebase Authentication Limits it states that new account creation limit is 100 accounts/IP address/hour. I could not find any further explanation on this, i.e. what happens if the limit is exceeded, because it is very likely that there might be more than 100 new user creation after the launch of the app or a successful marketing campaign.
It states that "You can schedule a temporary increase to the account creation limit in the Firebase console."
Is that a paid service? How much does it cost? How long is temporary? How often can it be scheduled?
To add to the Frank van Puffelen's answer, this is easily customizable via the Firebase console: Authentication tab -> Manage sign-up quota (at the very bottom) to get this:
The IP limit is in place to protect your project against abuse. Setting a temporary increase is available to all Firebase projects, free or paid.
I don't think there is any documented limit to how often you can increase this, although that too is monitored for abuse.

Resources