Choose a managed database

cloud, database, postgresql, mysql, mongodb, opensearch, valkey, high availability, standby · 0 found this helpful

A managed database is a database we run for you. We handle backups, updates and the server underneath; you connect your app to it. Each one keeps daily backups, takes updates for you, and only accepts connections from addresses you allow.

Pick an engine

Engine Good for
PostgreSQL Most new apps. Django, Rails and many Node.js frameworks default to it.
MySQL WordPress, Laravel and apps built for MySQL.
MongoDB Apps that store documents rather than tables. Versions 8 and 7.
OpenSearch Site search and log analysis, with OpenSearch Dashboards. Versions 3 and 2.
Valkey Caches, sessions and job queues. Works with Redis tools. See Use managed Valkey.

If your app already uses one, choose that one. Moving between engines means changing your app.

Pick how many nodes

A node is one database server. More nodes keep the database running when one fails.

Tier Nodes What happens when a node fails
Managed PostgreSQL or MySQL 1 There's no standby, so the database is offline until the node is replaced.
Production 2: a primary and a standby The standby takes over.
HA 3: a primary and two standbys It keeps running through a node failure, with a spare still waiting.

Pick Production when your shop or app takes orders, and HA when even a short outage costs you real money.

Each tier lets you choose a size. You can move up a size or a tier later, but a database never shrinks.

Pick a city

PostgreSQL, MySQL and Valkey run in Toronto, Montréal or Calgary. MongoDB, OpenSearch and the Production and HA tiers run in Toronto. See Choose a region.

Connect your app

See Connect to a managed database.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.