DIGI Byte
DIGI Byte

Reputation: 4174

GCP Storage usage from Firebase Cloud Functions

Since the node v10 changes to Cloud Functions, one thing that we've come to accept is a default storage bundle within our GCP of which accrues a cost of ~$0.03 a month. It is believed to be Docker cache files that store the Cloud Functions, Node Modules, and Hosting Revisions.

But on an almost empty project, how can you have 535MB in storage when the source is only 83MB total?

What are the contents of the Files? is it overhead for the revision history? is there any reasonable way to minimize it? I get asked these questions many times and I do not have an answer that I feel comfortable with.

Upvotes: 0

Views: 141

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598718

It's the entire container image, so I imagine it contains lot of things that you don't deploy yourself - like the operating system the code runs on, and the runtime of the language you use (Node.js if you're using Firebase to deploy).

Upvotes: 1

Related Questions