Firestore Stored data cost for Blaze plan

461 views
Skip to first unread message

ccsp...@gmail.com

unread,
Nov 21, 2017, 12:59:05 PM11/21/17
to Firebase Google Group
My team just upgrade from Spark plan to Blaze plan, and I am curious about how Google calculate the cost of Firestore stored data.
According to this page, the Cloud Firestore Stored data pricing is $0.18/GB/Month with 1GB free quota.
Average of 100GB of stored data in the US during a 30-day billing cycle will charge $17.82. What does "average of 100GB" mean?
I also check the usage history in Google Cloud Platform console,  there is a unit price 0.006/GB/day for Cloud Firestore Stored data.
Does it mean that the Cloud Firestore Sotred data cost is calculated per day?

If our service will insert 100MB data per day, how do I estimate the monthly cost?

Thanks,
Tim

Samuel Stern

unread,
Nov 27, 2017, 10:37:26 AM11/27/17
to fireba...@googlegroups.com
Hey Tim,

Apologies for the delayed response.  If you really want to get into the weeds for how this number is calculated, you can check out this page:
https://firebase.google.com/docs/firestore/storage-size

It's not just the size of the data you're inserting, but also the size of metadata and indexes that we store on disk for you.  Unless you're really handy with a calculator, the best way to estimate your costs is to upload a small test data set and check your usage in the cloud console.

The line about "average" costs is just meant to tell you that we calculate storage costs continuously, not at a point-in-time basis.  So maybe on the first day of the month you had 100GB in Cloud Firestore but on the last day of the month you had 200GB stored in Cloud Firestore.  Your billing will be in the ballpark of 150GB * $0.18 for the month in that situation (depending on when/how fast you added the data).

Hope that helps,
Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c2f17556-8301-4ab7-899b-600c7d1bbfe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ccsp...@gmail.com

unread,
Nov 30, 2017, 12:14:37 AM11/30/17
to Firebase Google Group
Hi Sam,

Thanks for your explanation, it is very helpful.

Tim

Samuel Stern於 2017年11月27日星期一 UTC+8下午11時37分26秒寫道:
Reply all
Reply to author
Forward
0 new messages