---
title: "Tracking Cloud Storage usage for each user with Firebase and Cloud Functions"
url: https://daily.dev/posts/tracking-cloud-storage-usage-for-each-user-with-firebase-and-cloud-functions-tijjhnbaz
source_url: https://medium.com/firebase-developers/tracking-cloud-storage-usage-for-each-user-with-firebase-and-cloud-functions-1c70c1e0c10f?source=rss----8e8b7dc6774d---4
type: article
source: "Firebase Developers"
published: 2023-12-18T13:10:06.088Z
updated: 2023-12-18T13:10:05.345Z
tags: ["gcp", "firebase", "gcp-cloud-functions", "firestore"]
reading_time: 3
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracking Cloud Storage usage for each user with Firebase and Cloud Functions

**[Firebase Developers](https://daily.dev/sources/firebase-developers)** · 3 min read · 2 upvotes · 0 comments

## Summary

Learn how to track Cloud Storage usage for each user with Firebase and Cloud Functions. Implement a counter for total bytes uploaded per user and a daily counter that resets. Use server-side validation logic and Firestore to efficiently store and retrieve file sizes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/firebase-developers/tracking-cloud-storage-usage-for-each-user-with-firebase-and-cloud-functions-1c70c1e0c10f?source=rss----8e8b7dc6774d---4>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#gcp](https://daily.dev/tags/gcp), [#firebase](https://daily.dev/tags/firebase), [#gcp-cloud-functions](https://daily.dev/tags/gcp-cloud-functions), [#firestore](https://daily.dev/tags/firestore)

[View this post on daily.dev](https://daily.dev/posts/tracking-cloud-storage-usage-for-each-user-with-firebase-and-cloud-functions-tijjhnbaz)
