This guide covers creating managed database instances and connecting your applications to them.
Create a PostgreSQL Database
Wait for the status to transition from provisioning to running:
Get Connection Credentials
Connect from an App
Use the connection string as an environment variable in your app:
For sensitive connection strings, use the secrets API instead of env vars.
Create a Redis Cache
Create a MongoDB Instance
Create a MySQL Database
High Availability
For production workloads, create databases with multiple replicas:
With PostgreSQL and CloudNativePG, this creates a primary + standby replica with automatic failover.
Delete a Database
This permanently deletes the database and all its data. Create a backup first.
Next Steps