Firebase started with the belief
that apps could be built with mostly
client code since it was, in many
instances, easier and faster.
However, there are still some cases
where server code is needed, such as
executing trusted code,
authenticating to a third party API,
or running battery intensive
operations. In these instances, you
had to stand up your own server —
Today we are excited to announce the
beta launch of
Cloud Functions for Firebase.
It lets you write small pieces of
Cloud infrastructure, and execute
them in response to events from
throughout the Firebase ecosystem.
This has been the most requested
feature since Firebase launched. The
ability to extend and connect
Firebase features using Cloud
Functions makes Firebase more
powerful, allowing you to do even
more with your app without having to
think about servers.
Functions is a versatile tool for
building your mobile app. Here are a
just a few of the many tasks you can
perform with the integrations available
Firebase Analytics integration lets
you trigger a function when a specific
conversion event is fired. You can
create functions to automate growth and
retention workflows for your mobile
apps, all without ever needing to update
your client code.
continue to add more integrations in the
early testers of Cloud Functions for
Firebase and were excited to see how
easy it was to extend the Realtime
Database to export data and
integrate with other services."
Mårtensson, Master Architect, Sony
Firebase SDK and tooling
Cloud Functions for Firebase provides a
first-class experience for Firebase
developers, built on top of
Google Cloud Functions.
Cloud Functions are single-purpose
in a secure, managed Node.js
environment. The Firebase SDK for Cloud
Functions gives you an API that allows
you to choose an event source (such as
writes to Firebase Realtime Database at
a specific data location) and implement
a function that triggers on every
matching event. Our SDK also works with
TypeScript to support code completion
and help you catch syntax errors early.
works in tandem with the
to provide a seamless experience when
deploying your functions. This tight
integration allows you to deploy all of
your functions using only a single
Cloud Functions is available on
including our free tier. The
free tier allows you to quickly
experiment and try out
integration with other Firebase
products. For our Blaze plan,
you only pay for what you use.
Blaze customers also receive a
monthly allotment of free usage
for Cloud Functions.
"Thanks to Cloud Functions for
Firebase, I built a company with no
permanent employees but myself (so
far), with no serious scaling
concerns, and no major costs
maintaining or upgrading the backend
as the app grows. It's something of
- Paul Budnitz, Founder/CEO,