Skip to content

Managed Databases

DBaaS (Database as a Service) means managed databases where WAYSCloud handles backups, upgrades and security. We offer PostgreSQL and MariaDB. Connect using any standard database client.

What it is

Managed Databases in WAYSCloud let developers and teams run production-grade PostgreSQL and MariaDB instances without managing servers, patching, or backup infrastructure.

Each database gets dedicated resources, automated daily backups, real-time metrics, and optional encryption at rest — all managed through the dashboard or API.

When to use

Use this when you need:

  • Production databases with automated backups and point-in-time recovery
  • Development and staging databases that match production configuration
  • Application backends that need reliable, managed SQL storage
  • Multi-tenant data isolation with per-database credentials

When NOT to use:

  • Key-value or cache workloads — use Redis
  • Object/file storage — use Object Storage
  • Full database server control — use a database on VPS

How it works

Each managed database runs as an isolated instance with dedicated resources. When you create a database:

  1. An instance is provisioned with your chosen engine (PostgreSQL or MariaDB)
  2. Credentials are generated and stored securely
  3. Automated daily backups are configured
  4. The database becomes accessible via standard connection strings

Databases are available within seconds.

Features

WAYSCloud Managed Databases are built for reliability, security, and zero-maintenance operation.

Engines

  • PostgreSQL — full SQL compliance, JSON support, extensions
  • MariaDB — MySQL-compatible, high performance

Reliability

  • Automated daily backups with configurable retention
  • Point-in-time snapshots with one-click restore
  • Real-time monitoring (connections, queries/sec, storage, CPU)

Security

  • Standard and encrypted tiers (encryption at rest)
  • Per-database credentials with scoped access
  • Network-level isolation

Management

  • Connection strings ready to use in any language
  • Dashboard metrics and log access
  • API for full lifecycle control

Getting started

Using the dashboard

  1. Navigate to Managed Databases in your WAYSCloud dashboard

  2. Click 'Create' to open the creation form

  3. Fill in the required fields

    • db_name — Database name (lowercase, alphanumeric + underscore)
    • db_type — Database type: 'postgresql', 'mariadb', or 'mysql'
  4. Optionally configure

    • description — Optional description for the database purpose
    • tier — Database tier: 'standard' or 'enterprise'
  5. Submit to create your resource

Using the API

All Managed Databases functionality is available via the WAYSCloud API.

Create database

Create a new database (PostgreSQL or MariaDB)

bash
curl -X POST https://api.wayscloud.services/v1/databases \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "db_type": "postgresql",
  "requested_name": "webapp_prod_db",
  "customer_id": null
}'

Create snapshot

Create a snapshot (backup) of a database

This creates an immediate backup of the database. Snapshots are stored on disk and can be restored later.

bash
curl -X POST https://api.wayscloud.services/v1/databases/{db_type}/{db_name}/snapshots \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Before major schema migration"
}'

List databases by type

List all databases of a specific type

bash
curl https://api.wayscloud.services/v1/databases/{db_type} \
  -H "X-API-Key: YOUR_API_KEY"

List database engines

List all supported database engines

Returns available database types with their versions and capabilities. Requires service API key.

bash
curl https://api.wayscloud.services/v1/databases/engines \
  -H "X-API-Key: YOUR_API_KEY"

See all 22 endpoints in the Databases API reference.

Limits and quotas

Limits and quotas depend on the selected plan and region. See the dashboard or API for current constraints.

Open Managed Databases in dashboard

WAYSCloud AS