Databases
Add a database from + Service → Databases. It lands on the canvas, joins the environment private network, and can inject connection strings through variables.
Every managed database can run as a single Standard instance or as a replicated, high-availability deployment. Pick the topology when you create it.
Standard vs high availability
Section titled “Standard vs high availability”You choose Standard or HA when you create the instance (you can raise replica count later).
Standard runs one instance and one volume. HA runs a primary plus replicas across nodes, with automatic failover.
Standard
Section titled “Standard”A single instance with its own disk. Simplest and cheapest. Fine for development, internal tools, and workloads that can take a short restart. If the instance moves, the database is briefly unavailable until it comes back.
High availability (HA)
Section titled “High availability (HA)”A primary plus replicas on different nodes. Writes go to the primary and stream to replicas. If the primary fails, a replica is promoted. You can also read from replicas. Use this for production.
| Standard | High availability | |
|---|---|---|
| Instances | Single | Primary + 1 or more replicas |
| Node spread | One node | Replicas on separate nodes |
| Failover | None (restart) | Automatic primary promotion |
| Read scaling | Primary only | Reads can fan out to replicas |
| Best for | Dev, internal, non-critical | Production, uptime SLAs |
Available databases
Section titled “Available databases”Each database is a managed service on your canvas: backups, private networking, and connection strings without extra config. The table lists engines and topologies.
Relational (SQL)
Section titled “Relational (SQL)”| Database | Engine | Topologies |
|---|---|---|
| PostgreSQL | CloudNativePG | Standard + HA |
| MySQL | MariaDB (MySQL-compatible) | Standard + HA |
| CockroachDB | Distributed SQL | Standard + HA |
Key-value & cache
Section titled “Key-value & cache”| Database | Engine | Topologies |
|---|---|---|
| Redis | Valkey (Redis-compatible) | Standard + HA |
| Memcached | Memcached | Standard only |
Document
Section titled “Document”| Database | Engine | Topologies |
|---|---|---|
| MongoDB | DocumentDB (MongoDB-compatible) | Standard + HA |
| CouchDB | Apache CouchDB | Standard + HA |
Search & vector
Section titled “Search & vector”| Database | Engine | Topologies |
|---|---|---|
| OpenSearch | OpenSearch | Standard + HA |
| Milvus | Milvus (vector DB) | Standard + HA |
Analytics
Section titled “Analytics”| Database | Engine | Topologies |
|---|---|---|
| ClickHouse | ClickHouse | Standard + HA |
Wide-column
Section titled “Wide-column”| Database | Engine | Topologies |
|---|---|---|
| Cassandra | Apache Cassandra | Standard + HA |
| ScyllaDB | ScyllaDB (Cassandra-compatible) | Standard + HA |
See Backups & recovery for snapshot behavior across every database, plus point-in-time recovery for PostgreSQL.
Looking for messaging? Kafka and RabbitMQ are documented under Messaging.