Create a managed MySQL, PostgreSQL or Valkey database from the Deploy Managed Database page in my.cubepath.com. Each node is its own server, every connection is encrypted and backups run every day. CubePath runs the infrastructure, replication and failover for you.
NoteYour account must be verified before you can deploy.
Choose an engine
| Engine | What it is | Versions |
|---|---|---|
| PostgreSQL | Advanced open-source relational database | 17 and 18 |
| MySQL | The world's most popular relational database | 8.4 and 9.7 (both LTS) |
| Valkey | Redis-compatible in-memory store for caching, queues and real-time workloads | 8.1 |
All three engines run on 1 node or 3 nodes. With 3 nodes you get high availability: if the primary fails, another node takes over by itself.
ImportantThe version is fixed. There are no in-place major upgrades, so the version you pick is the one that database runs. Moving to a new major version means deploying a new database and migrating your data.
Deploy
- 1Pick engine and versionChoose PostgreSQL, MySQL or Valkey, then the version.
- 2Choose region and planPick a region, then a plan. Each node is a server with the resources of the plan, and the price shown is per node.
- 3Choose the number of nodesSelect 1 node (a single server: a failure means an outage until it is back) or 3 nodes (high availability with automatic failover, plus a read host that spreads reads over the replicas). Each node is billed at the price of the plan. You can change it later.
- 4Name your databaseGive it a name (lowercase letters, numbers and dashes), unique within your organization.
- 5Set backups and deployOpen Advanced Settings and, under Backups, pick the Daily backup time (UTC) (or leave the one chosen for you) and the Retention, from 1 to 30 days. Then click Deploy.
NoteCreating the database takes several minutes. The connection details become available once it is Active.
Connect
Open the database and go to the Credentials tab, then click Reveal credentials. You'll get the host, port, username, password and a ready-to-use connection URI. There is no SSH access to the nodes.
Every connection uses TLS with a public certificate:
- PostgreSQL: connect with
sslmode=verify-full. - MySQL: connect with TLS enabled in your client.
- Valkey: it only listens on its TLS port, so use a
rediss://URI (with two s).
With 3 nodes you also get a read host, with the same port, user and password. Writes always go to the main host, which follows the primary. The read host answers on the healthy replicas, so reads through it can be a little behind the primary: use it for queries that tolerate that.
WarningAnyone with these credentials has full access to your data. Create per-application users rather than sharing the admin account, and use Rotate credentials if the admin password is ever exposed.
Backups and restore
Backups are always on. Every day, at the hour you picked, CubePath takes an encrypted full backup and keeps the transaction logs between backups, for the retention you chose (1 to 30 days). You can change the hour and the retention with Change settings, and start an extra backup at any time with Back up now. The database stays available while a backup runs.
To get data back, use Restore to a new database. It creates a new database from the backups and never touches the original:
- PostgreSQL and MySQL restore to the exact second you choose, within the retention.
- Valkey restores the last daily backup taken at or before the moment you choose, so it can lose up to a day of writes.
- Leave the time empty to get the most recent data.
The new database starts with one node and gets its own address and password. It is billed like any other database from the moment it is ready.
Scale
Once the database is Active (or Degraded), you can change its size in two ways, one at a time:
- High availability. Use Add high availability to go from 1 node to 3. Two nodes are created and synchronized while your database stays available, and you get a read host. Go back to one node removes them again. The cost changes with the number of nodes.
- Resize. Use Resize database to move to a bigger or smaller plan of the same engine, in the same location. With 1 node the server restarts, so expect an outage of 1 to 2 minutes. With 3 nodes the nodes restart one at a time and the database stays available with a brief reconnection.
The engine and version never change when you scale.
NoteThe disk never shrinks. Plans with less disk than your database are not offered, neither when you resize nor when you restore. To move to a smaller disk, deploy a new database on the smaller plan and import a dump of your data.
Statuses
Provisioning → Active is the normal path. You'll also see Updating (a configuration or credential change), Scaling, Backing up, Restoring, Degraded, Suspended and Error.
Degraded means one of the 3 nodes is not answering. Your database keeps working, but it is not protected against another failure until the node is back.
Most operations wait while another one is running; the dashboard tells you to try again once it settles.
Protection and deletion
Enable Protection blocks accidental deletion. Deleting removes the database and all its data, so the dialog asks you to type the database name to confirm. Its backups are kept for 32 days after deletion, and you can restore a new database from them during that time.
The database tabs
Configuration, Credentials, Databases, Users, Metrics and Activity.