shou2017.com
JP

Firebase Hosting Storage Exceeded

Sat Feb 15, 2020
Sat Feb 15, 2020

This site is built using Hugo and Firebase, but when I checked the Firebase console after some time, I saw a warning: You have exceeded 100% of your storage usage limit. Please upgrade to avoid deployment interruptions.

Firebase Hosting Storage Exceeded

Apparently, Firebase backs up each release every time you deploy, and if you don’t delete them, even a personal blog with minimal traffic like this can exceed the storage limit.

Until recently, you could only delete them manually or with a script, but now there’s an official solution.

Navigate to the Hosting dashboard and select “Release History Details”.

Firebase Hosting Storage Exceeded

You’ll see Version History Settings, which you should select.

Then just configure the version history settings to complete the process. For a simple personal blog, keeping about 2 versions should be sufficient. After all, I’m managing it with git anyway.

Firebase Hosting Storage Exceeded

That completes the setup.

Firebase Hosting Storage Exceeded

See Also