Search code examples
firebasegoogle-cloud-functionsfirebase-cli

Use Firebase Emulators as own pernament server


Can i use Firebase Emulators (Firestore, Functions) to serve them permanently on example VPS server?

Hosting + storage will be apache and from for example @angularfire I will call firestore and functions

Is this possible or i must pay for use functions :c

#iAmPoor


Solution

  • I won't say that it's impossible to use the emulator in this way, but I strongly recommend against it. The emulator was only meant to be used during development and testing on your local machine before pushing code to production. It's not meant to run persistently. You could run into problems if you try to use it this way, since it's not tested to work like this.

    You should know that Firebase and Google Cloud products have a free tier where you don't pay anything at all unless you exceed the free limits. I suggest reviewing the billing structure to find out what you actually get for free per month. I think it's quite generous.