Overview
Qovery provides managed database services that you can deploy alongside your applications. Databases are automatically configured with connection credentials that are injected as environment variables into your applications.Supported Databases
Qovery natively supports four database types:PostgreSQL
PostgreSQL is a powerful, open-source object-relational database system with over 30 years of active development, known for reliability, feature robustness, and performance. Cloud Provider Support:- AWS: Container and Managed (RDS)
- Scaleway: Container only
- GCP: Container and Managed (Cloud SQL)
- Azure: Container and Managed (Azure Database)
MySQL
MySQL is the world’s most popular open-source database, suitable for fast-growing web properties, technology ISVs, and large enterprises requiring high-performance, scalable database applications. Cloud Provider Support:- AWS: Container and Managed (RDS)
- Scaleway: Container only
- GCP: Container and Managed (Cloud SQL)
- Azure: Container and Managed (Azure Database)
MongoDB
MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database, MongoDB uses JSON-like documents with schema. Cloud Provider Support:- AWS: Container and Managed (DocumentDB)
- Scaleway: Container only
Redis
Redis is an open-source (BSD licensed), in-memory data structure store used as a database, cache, and message broker. Redis supports various data structures including strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs, geospatial indexes, and streams. Cloud Provider Support:- AWS: Container and Managed (ElastiCache)
- Scaleway: Container only
- GCP: Managed (Memorystore)
- Azure: Managed (Azure Cache for Redis)
Database Modes
Container Mode
Best for: Development, testing, and non-critical workloads Characteristics:- Runs as a container on your Kubernetes cluster
- Single instance deployment
- Lower cost (no cloud provider fees)
- Quick to provision
- Manual backup management
- Not highly available
- Limited to single instance
- Requires manual backup strategy
Managed Mode
Best for: Production workloads requiring high availability Characteristics:- Fully managed by cloud provider (AWS RDS, GCP Cloud SQL, Azure Database, Scaleway Database)
- High availability and reliability
- Automatic backups and point-in-time recovery
- Automatic updates and patches
- Multi-AZ deployment options
- Cloud provider SLA
- Higher cost
- Limited configuration parameters
- Provider-specific features
Changes to managed databases don’t apply immediately. Consult your cloud provider documentation for update timelines.
Creating a Database
1
Navigate to Environment
Go to your project and select the environment where you want to add a database
2
Add Database
Click Create → Database
3
Select Database Type
Choose from PostgreSQL, MySQL, MongoDB, or Redis
4
Configure Database
General Configuration:
- Name: Database identifier
- Description: Optional description
- Version: Select database engine version
- Mode: Container or Managed
- CPU allocation (default: 250m)
- Memory allocation (default: 256 MB)
- Storage size (default: 10 GB)
- Instance type (varies by cloud provider)
- Storage size and type
- Multi-AZ deployment (optional)
5
Configure Accessibility
- Private: Only accessible within the environment (recommended)
- Public: Accessible from the internet (requires strong credentials)
6
Create
Click Create Database to provision
Connection Credentials
Qovery automatically generates and injects connection credentials as environment variables.Auto-Generated Variables
For a database namedmy-db, Qovery creates:
Using Credentials in Your Application
Managing Databases
Database Settings
Access database settings to:- Update resource allocation
- Change database version
- Modify accessibility
- Configure backups (managed mode)
- View connection details
Clone Database
Create a copy of an existing database to the same or different environment.Upgrade Database Version
1
Test in Non-Production
Clone database to staging and test upgrade
2
Schedule Maintenance
Plan for potential downtime during upgrade
3
Upgrade Version
Go to database settings → Change version → Deploy
4
Verify Application
Test application connectivity and functionality
Delete Database
Before deleting:- Backup your data
- Stop all applications using the database
- Verify you’re deleting the correct database
Alternative Database Solutions
If Qovery’s built-in database options don’t meet your requirements:External Database on Dedicated VPC
Connect to an existing database via VPC peering:- Configure VPC peering between your cluster and database VPC
- Add connection details as environment variables
- Configure security groups