rtdb

Firebase Realtime Database

DatabasesGCP
General

General information about the service.

Description

Firebase Realtime Database is a cloud-hosted NoSQL database that stores and syncs data in real-time across all connected clients. Data is stored as JSON and synchronized in milliseconds.

Service ID

firebasedatabase.googleapis.com

Resource Pattern

projects/{project}/databases/{database}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

rtdb-{workload}-{env}

Length

4-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

regional

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_firebase_database_instance" "main" {
2 provider = google-beta
3 project = var.project_id
4 region = var.region
5 instance_id = "rtdb-${var.workload}-${var.environment}"
6 type = "USER_DATABASE"
7}
Utilities

Utilities to support app deployment or configuration.