🔍

Managed Database

Ready-to-use databases — PostgreSQL, MySQL, Redis, MongoDB, RabbitMQ, and NATS. Whitelabel hostnames, automatic SSL, IP whitelist, and autoscale.

How Does It Work?

FlazHost Managed Database provides ready-to-use databases without the hassle of installing and managing your own database server. Two approaches are used behind the scenes:

  • RDS (PostgreSQL & MySQL) — Databases run on managed RDS. Multiple customers share one instance, but each customer has an isolated database + user.
  • Redis, MongoDB, RabbitMQ, NATS — Each customer gets their own Docker container (dedicated), running on the FlazHost cluster.

Workflow: Choose database type + plan → pay → automatic provisioning → receive whitelabel hostname + credentials → start using.

Quick steps:
  1. Choose database type (PostgreSQL, MySQL, Redis, etc.)
  2. Select a plan
  3. Pay the invoice — database is created automatically
  4. Get whitelabel hostname + port + password
  5. Connect to your app — ready to go

Database Types

PostgreSQL

Advanced relational database. Great for web apps, analytics, and geospatial data. Supports JSON, advanced indexing, and full-text search.

  • ✅ Via managed RDS — managed, auto-backup
  • ✅ Native SSL + PgBouncer proxy
  • ✅ Hostname: name.pg.flazhost.com

MySQL

Popular relational database with a vast ecosystem. Great for WordPress, Laravel, and PHP/LAMP applications.

  • ✅ Via managed RDS — managed, auto-backup
  • ✅ Native SSL
  • ✅ Hostname: name.mysql.flazhost.com

Redis

In-memory cache & data store. Perfect for caching, session storage, queues, and real-time data.

  • ✅ Dedicated container — fully isolated
  • ✅ Auto-scale CPU/RAM
  • ✅ Hostname: name.redis.db.flazhost.com

MongoDB

NoSQL document database. Great for apps with flexible schemas, logs, and product catalogs.

  • ✅ Dedicated container — full access
  • ✅ Auto-scale storage
  • ✅ Whitelabel hostname

RabbitMQ

Message broker for service communication. Ideal for microservices, job queues, and event-driven architecture.

  • ✅ Dedicated container
  • ✅ Management UI included
  • ✅ Whitelabel hostname

NATS

Lightweight, high-performance messaging. Ideal for IoT, telemetry, and low-latency real-time systems.

  • ✅ Dedicated container
  • ✅ High performance, low latency
  • ✅ Whitelabel hostname

Plans & Pricing

Database pricing depends on type and specs. All plans include automatic backups, SSL, and monitoring.

Database Features

Provisioning & Setup

When a database order is paid, the system runs automatic provisioning:

  • RDS (PostgreSQL/MySQL) — Select RDS instance, CreateDatabase + CreateAccount + GrantAccountPrivilege
  • Container Services — Provision dedicated container on CapRover, setup HAProxy TCP proxy, bind data volume
  • SSL Setup — Inject certificate (native) or PgBouncer proxy
  • DNS — Create whitelabel CNAME

Whitelabel Hostname

Each database gets a branded FlazHost hostname, not the raw provider address. E.g.: name.pg.flazhost.com for PostgreSQL, name.redis.db.flazhost.com for Redis.

Automatic SSL

Two SSL strategies:

  • Native — Custom certificates injected directly into the database instance. For MySQL and non-serverless PostgreSQL.
  • Proxy — SSL terminated at PgBouncer, CNAME pointed to PgBouncer LB, then relayed to the database. For serverless PostgreSQL.

SSL certificates are automatically installed on database connections. For PostgreSQL/MySQL via RDS, SSL can be native or via PgBouncer proxy. Your connection is always encrypted.

IP Whitelist

Configure which IPs are allowed to access the database. Connections from other IPs are automatically rejected. Configurable per-database for maximum security.

Vertical Autoscale

For containers (Redis, MongoDB, RabbitMQ, NATS), vertical autoscale runs every ~5 min. CPU/RAM auto scale. Manual scale also available with ~5-15s downtime.

TCP Proxy (HAProxy)

Database container access is routed via HAProxy TCP proxy with SNI. Whitelabel hostnames point to HAProxy without exposing host ports.

PgBouncer Pool

For PostgreSQL, PgBouncer connection pooling reduces database load and speeds up connections.

Auto-scale

Redis, MongoDB, RabbitMQ, and NATS support autoscaling. CPU/RAM resources automatically scale up/down based on load. Redis and MongoDB also support auto-scale storage mode.

RAM/CPU automatically scale up under high load and down during idle periods.

Automatic Backups

Databases are backed up periodically. For RDS (PostgreSQL/MySQL), backups are managed by the provider with point-in-time recovery. For containers (Redis, MongoDB, RabbitMQ, NATS), data volumes are backed up on schedule.

For RDS (PostgreSQL/MySQL), backups are managed automatically. For containers, data volumes are backed up on schedule.

Storage Monitoring & Metering

Database storage is monitored periodically for billing and capacity planning:

  • Storage Meter — Automatic storage measurement for PAYG billing
  • IP Whitelist — Set allowed IPs per-database
  • Alerts — Notifications when storage approaches limits

Monitor database resources: CPU, memory, disk, active connections, and query latency. Integrated monitoring dashboard in FlazHost.

How to Connect to Your Database

After provisioning, you'll receive the following information in the dashboard:

Host: name.pg.flazhost.com (PostgreSQL example)

Port: 5432

Database: database_name

User: database_user

Password: •••••••• (shown once)

SSL: Required

Use this info in your app. Example PostgreSQL connection string:

postgresql://database_user:[email protected]:5432/database_name?sslmode=require

Security

  • Multi-tenant isolation — RDS: separate database + user per customer. Containers: dedicated container per customer
  • Random passwords — Database passwords are randomly generated
  • SSL/TLS — All database connections require SSL
  • IP whitelist — Only whitelisted IPs can access the database
  • Encrypted credentials — All passwords are stored encrypted in the FlazHost database

Get Started with Database

You can order a database from the Database page in your FlazHost dashboard. Choose the database type, plan, and get started in minutes.