Bandwidth pricing to Google Cloud Compute

692 views
Skip to first unread message

al...@clnb.io

unread,
Sep 24, 2016, 11:08:07 PM9/24/16
to Firebase Google Group
Is bandwidth between firebase and Google Cloud Compute nodes counted for billing? Or is bandwidth used within the google cloud free of charge?

Mike Mcdonald

unread,
Sep 25, 2016, 7:26:17 PM9/25/16
to Firebase Google Group
Interesting question that dives somewhat deeply into our current architecture. I assume that you're talking about the Firebase Realtime Database, though similar questions could apply to Hosting or Storage.

We'll have to separate this into two prices:
  • The cost of bandwidth on the Realtime Database side of the house (ingress is free, egress costs)
  • The cost of bandwidth in GCE (ingress is free, egress costs depending on location) [pricing]
GCE should be:
  • If you're in the same zone as the Realtime Database, anything coming from the DB is free (ingress to GCE is free), and anything going to the DB should also be free. GCE should recognize that the DB is just a Compute Engine instance in the same zone, and so it'll be free.
  • If you're in the same region, or in the US, ingress is free, egress costs because I don't think that the DB is considered a Cloud or Google product (yes, even though we're owned by Google). It gets a little into the nitty gritty, but to internal Google Infra, I believe we look like an external customer.
  • If you're going across regions, you'll be charged standard egress rates.
The Realtime Database should be:
  • No matter what, ingress is free and egress costs. Again, this is related to the "we look like external customers to GCE" and we perform billing without regard to GCE (the original system was built to run anywhere, not just GCE).
As we integrate with other Google Products, such as what we did with Firebase Storage, the distinction gets more clear: Firebase Storage is running on Google Infrastructure so you'll get all the benefits of it being so (namely, it'll be much cheaper). It's something we're still investigating for the Realtime Database, but unfortunately it's probably going to be a while before it's fully solved.

Let me know if you have any additional questions!

Thanks,
--Mike

Kasbolat Kumakhov

unread,
Sep 30, 2016, 11:03:13 AM9/30/16
to Firebase Google Group
Very detailed, but one question remains. Is picking region or zone possible?

понедельник, 26 сентября 2016 г., 2:26:17 UTC+3 пользователь Mike Mcdonald написал:

Mike Mcdonald

unread,
Sep 30, 2016, 2:25:53 PM9/30/16
to Firebase Google Group
For Firebase, no; for GCE, yes. Firebase DB is in US-Central currently, though this is subject to change without notice.

FWIW, we're talking with the billing folks to see what it would take to whitelist Firebase DB IPs (so these costs aren't charged), but no guarantees on that happening soon.

Thanks,
--Mike

Kasbolat Kumakhov

unread,
Oct 1, 2016, 3:27:39 PM10/1/16
to Firebase Google Group
Thank you! All i needed to know.

пятница, 30 сентября 2016 г., 21:25:53 UTC+3 пользователь Mike Mcdonald написал:
Reply all
Reply to author
Forward
0 new messages