Blossom Logo Blossom

Provider-Managed Databases

Categories: databases configuration
1 min read

Blossom supports many databases natively, but you can also use provider-managed database services from any cloud provider.

Using Provider-Managed Databases

To connect to a provider-managed database, simply set the DATABASE_URL environment variable in your application’s environment configuration:

DATABASE_URL=postgres://user:password@host:5432/dbname

Blossom will use this connection string for all database operations. Your application connects directly to the provider-managed database service.

Supported Providers

You can use managed databases from any provider, including:

  • AWS RDS (PostgreSQL, MySQL, MariaDB, MongoDB)
  • DigitalOcean Managed Databases
  • Hetzner Managed Databases
  • Azure Database Services
  • Google Cloud SQL
  • Any other managed database service

Security

When using provider-managed databases, follow the same security best practices:

  • Use private networking when available (VPC peering, private endpoints)
  • Ensure firewall rules restrict access to your application servers
  • Use strong passwords and connection encryption

See Database Security for more details.

Backup Support

Backup support depends on your database provider. Most managed database services include automated backups as part of their service.