Managed Databases
Managed PostgreSQL and MariaDB with automated backups, point-in-time snapshots, firewall rules, and connection strings ready in seconds.
Best for: application backends, data storage, analytics, staging databases.
Open in dashboard · API reference
What this is
A managed database is a PostgreSQL or MariaDB instance that WAYSCloud provisions, backs up, and maintains. You connect with a standard connection string — WAYSCloud handles backup scheduling, credential storage, and infrastructure.
Choose between standard and encrypted tiers. Standard uses TLS for connections. Encrypted adds encryption at rest for compliance-sensitive workloads.
This is not a self-managed database on a VM. For full database server control, run your own on a VPS.
When to use it
Use this when
- You need a production database without managing servers
- You want automated daily backups and point-in-time snapshots
- You need encryption at rest for compliance (GDPR, financial data)
- You want per-database firewall rules
- You need a development or staging database that matches production
Consider something else when
- You need full database server control → run on VPS
- You need Redis for caching or sessions → Redis
- You need S3 object storage → Object Storage
- You need file sync → WAYSCloud Drive
What you get
When you create a database:
- Instance: isolated PostgreSQL or MariaDB with dedicated resources
- Credentials: username, password, and connection string — shown once at creation
- Host:
db.no.wayscloud.services(standard) ordb-secure.no.wayscloud.services(encrypted) - Port: 5432 (PostgreSQL) or 3306 (MariaDB)
- Backups: automated daily snapshots with configurable retention
- Firewall: per-database IP allowlist
- Monitoring: connections, queries/sec, storage usage in dashboard
- Billing: usage-based, per GB stored per day
Pricing
All prices exclude VAT.
| Item | EUR | NOK | SEK | DKK |
|---|---|---|---|---|
| MySQL Database as a Service | 0.07 | 0.80 | 0.80 | 0.52 |
| PostgreSQL Database as a Service | 0.07 | 0.80 | 0.80 | 0.52 |
Metered usage
| Item | Unit | EUR | NOK | SEK | DKK |
|---|---|---|---|---|---|
| MySQL Database as a Service | GB-month | 0.13 | 1.50 | 1.60 | 1 |
| PostgreSQL Database as a Service | GB-month | 0.13 | 1.50 | 1.60 | 1 |
How it works
- Choose an engine: PostgreSQL or MariaDB
- Enter a database name (lowercase, alphanumeric + underscore)
- Choose tier: standard (TLS) or encrypted (TLS + encryption at rest)
- The database is provisioned in seconds
- Credentials are returned — store them securely (shown only once)
- Connect from your application using the connection string
What you see in the dashboard
After creation:
- Database name: technical name and display name
- Engine: PostgreSQL or MariaDB with version
- Tier: Standard or Encrypted
- Status: active, maintenance, or suspended
- Connection info: host, port, username, database name
- Metrics: active connections, queries/sec, storage used
- Snapshots: list of backups with restore option
- Firewall: IP rules controlling who can connect
Fastest way to get started
Dashboard
- Open my.wayscloud.services → Data & Storage → Databases
- Click Create
- Choose engine (PostgreSQL or MariaDB), enter name, select tier
- Click Create — credentials appear immediately
API
curl -X POST https://api.wayscloud.services/v1/databases \
-H "X-API-Key: wayscloud_dbaas_abc12_YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"db_type": "postgresql",
"requested_name": "webapp_prod"
}'Example request and response
Create database
Request:
curl -X POST https://api.wayscloud.services/v1/databases \
-H "X-API-Key: wayscloud_dbaas_abc12_YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"db_type": "postgresql",
"requested_name": "webapp_prod"
}'Response:
{
"success": true,
"db_type": "postgresql",
"db_name": "webapp_prod",
"username": "wc_webapp_prod",
"password": "Xk9mN2pQ4rS7tV3wYz",
"host": "db.no.wayscloud.services",
"port": 5432,
"connection_string": "postgresql://wc_webapp_prod:Xk9mN2pQ4rS7tV3wYz@db.no.wayscloud.services:5432/webapp_prod"
}WARNING
The password is shown only once. Store it securely.
Connect
# PostgreSQL
psql "postgresql://wc_webapp_prod:Xk9mN2pQ4rS7tV3wYz@db.no.wayscloud.services:5432/webapp_prod"
# MariaDB
mysql -h db.no.wayscloud.services -P 3306 -u wc_webapp_prod -p webapp_prodFrom your application
import psycopg2
conn = psycopg2.connect("postgresql://wc_webapp_prod:Xk9mN2pQ4rS7tV3wYz@db.no.wayscloud.services:5432/webapp_prod")const { Pool } = require('pg');
const pool = new Pool({ connectionString: 'postgresql://wc_webapp_prod:Xk9mN2pQ4rS7tV3wYz@db.no.wayscloud.services:5432/webapp_prod' });Common use cases
- Application backend — primary database for web and mobile apps
- Analytics — store and query structured business data
- Staging — match production configuration for testing
- Multi-tenant SaaS — one database per customer with firewall isolation
- Migration — move from self-managed to fully managed without changing connection code
Related services
- Object Storage — S3-compatible storage for files and backups
- Redis — in-memory caching alongside your database
- VPS — self-managed database on a VM (full control)
- App Platform — deploy apps that connect to your database
Related documentation
- Databases API reference — all 22 endpoints
- Create a Database — step-by-step guide
- API Keys — create a database service key
- Authentication — how API authentication works