Lesson 213 lessons

Google Cloud (GCP) and gcloud — What's Underneath Firebase

Firebase is built on top of Google Cloud

Google Cloud Platform (GCP) is Google's full suite of cloud computing services — servers, storage, networking, AI — and Firebase is essentially a beginner-friendly layer built on top of a subset of it. Every Firebase project is secretly also a GCP project underneath.

When builders need to go beyond Firebase's UI

Some capabilities (fine-grained permissions, advanced credentials, certain APIs) aren't exposed in Firebase's simpler interface and require the Google Cloud Console or its command-line tool instead — this is when builders "drop down" from Firebase to GCP directly.

gcloud — the terminal tool for GCP

gcloud is the command-line tool for controlling Google Cloud from your terminal. gcloud auth login signs you in; gcloud config set project [id] tells it which project to operate on. These are the two commands you'll see most often in setup guides.

Key Takeaways

  • Firebase is a friendlier layer built on top of Google Cloud Platform (GCP).
  • Every Firebase project has a matching GCP project underneath it.
  • Advanced capabilities not in Firebase's UI require the GCP Console or the gcloud CLI.
  • `gcloud auth login` and `gcloud config set project` are the two most common commands.

Find the GCP project behind a Firebase project

In the Firebase console, open Project Settings and look for the 'Project ID' — this exact ID is also the name of the matching project in Google Cloud Console (console.cloud.google.com).