Hosting A Static Site On Firebase
Oct 5, 2022
Oct 5, 2022
On my hunt for other hosting I ran across hosting directly from Firebase.
Hosting comes with custom domain handling and a bunch of other standard hosting items. Pushing up new versions can be done via command line which makes it easy to bake into my build pipeline.
Docs: Firebase Hosting
This breaks down into a few easy steps:
- Install Firebase CLI
- Set up a project directory
- Deploy!
Of course there's other things like setting up a custom domain, etc but I got this up and running in less than five minutes and was online.
I'm sticking to this unless I see a large cost increase. This is much better on the wallet than a dedicated GCP Host and better functionality than using AWS S3 bucket hosting.