Managed Databases

Deploy, scale, and manage high-performance PostgreSQL, MySQL, Redis, and MongoDB instances with zero operational overhead. Includes automatic backups, point-in-time recovery, and read replicas.

Overview

CloudNexus Managed Databases provide fully managed relational and NoSQL databases deployed on isolated, high-performance infrastructure. Each instance includes automatic failover, continuous backups, and encryption at rest and in transit.

â„šī¸ New in v3.2

Auto-scaling read replicas are now available for PostgreSQL and MySQL clusters. See the Scaling section for details.

Supported Engines & Versions

Engine Supported Versions Default Port SSL/TLS
PostgreSQL 14, 15, 16 5432 Required
MySQL 8.0, 8.4 3306 Required
Redis 7.2, 7.4 6379 Supported
MongoDB 6.0, 7.0 27017 Required

Connection Strings & Environment Variables

Upon creation, CloudNexus automatically generates secure connection strings and injects them into your cloud environment variables if deployed on our platform.

env
# PostgreSQL DATABASE_URL=postgres://user:password@primary.db.cloudnexus.io:5432/mydb?sslmode=require # MySQL MYSQL_URL=mysql://user:password@primary.db.cloudnexus.io:3306/mydb?tls=true # Redis REDIS_URL=rediss://user:password@cache.db.cloudnexus.io:6379 # MongoDB MONGODB_URI=mongodb+srv://user:password@cluster.db.cloudnexus.io/mydb?ssl=true&replicaSet=rs0
âš ī¸ Security Notice

Never commit connection strings containing plaintext credentials to version control. Use our CLI or Terraform provider to manage secrets securely.

Scaling & Resource Management

CloudNexus databases automatically scale IOPS and network throughput based on workload patterns. You can manually adjust CPU and memory tiers via the dashboard, CLI, or API.

Read Replicas

Deploy read replicas in any of our 50+ global regions to reduce latency for geographically distributed applications. Replicas replicate synchronously to ensure zero data loss.

bash
$ cnx db replica create --name "mydb-eu-west" --region "eu-west-1" --source "mydb-primary" ✓ Replica provisioning complete in 14s ✓ Connection endpoint: replica-eu-west.db.cloudnexus.io

Vertical Scaling

Scale up CPU and memory with zero downtime. CloudNexus handles the live migration automatically during the next maintenance window or on-demand.

Backups & Point-in-Time Recovery

All managed databases include continuous automated backups. Retention policies default to 7 days for Standard tier and 30 days for Business/Enterprise.

bash
# Restore to specific point in time $ cnx db restore --db "mydb" --to "2025-03-15T14:30:00Z" --target "mydb-restored" # List available backups $ cnx db backups list --db "mydb"

CLI & API Usage

Automate your database lifecycle using the CloudNexus CLI or REST API. The CLI uses OAuth2 authentication and supports Terraform state integration.

bash
# Initialize CLI $ cnx auth login ✓ Authenticated as user@company.com # Create database $ cnx db create --engine postgres --version 16 --tier business --name "production-db" ✓ Database created. ID: db_8x9k2m4p

Troubleshooting

Common issues and solutions:

✓ Need help?

Contact our 24/7 engineering support team at support@cloudnexus.io or open a ticket in the dashboard.