For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create a MariaDB Cluster

Usage

ionosctl dbaas mariadb-v2 cluster create [flags]

Aliases

For mariadb-v2 command:

[maria-v2 mar-v2 ma-v2]

For cluster command:

[c]

For create command:

[c]

Description

Use this command to create a new MariaDB Cluster. The mode is determined by the number of instances: one instance is standalone, everything else is a replication with one primary and n-1 secondary instances.

There are two ways to create a cluster, both requiring the same connection and credential flags (--datacenter-id, --lan-id, --cidr, --user, --password, --database) plus --location:

  1. Empty cluster: pass --version (defaults to a supported version) and sizing flags (--instances, --cores, --ram, --storage-size).

  2. From a backup: additionally pass --backup-id. The cluster version is taken from the backup (so --version is not needed; if given, it must match the backup's version). Optionally pass --recovery-time to restore to a point in time within the backup's window.

Options

Examples

Last updated

Was this helpful?