Create MariaDB Cluster
Using this guide, you can create a MariaDB cluster in the DCD using the new v2 infrastructure.
Define cluster properties
In the Properties section, specify the following:
1. Cluster name: Enter a name for the cluster.
2. Location: Select the region where the cluster is deployed, for example Germany / Berlin (de/txl). Each cluster is bound to a region-specific API endpoint, and the location you select determines which endpoint manages the cluster. This cannot be changed after the cluster is created.
3. (Optional) Description: Enter a human-readable description for the cluster.

Configure the cluster
In the Cluster configuration section, enter the following details:
1. Version: Select the MariaDB version for the cluster. IONOS CLOUD supports MariaDB Long-Term Support (LTS) versions, starting from MariaDB 10.6, for example 10.6 or 10.11.
2. Instances: Enter the number of instances in the cluster. A value of 1 creates a single-instance cluster. Values 2–5 create a replicated cluster with one primary and n-1 secondary instances. You can create a maximum of five instances within a cluster.
3. Backup: Select the Object Storage region where cluster backups are stored, for example eu-central-3.
4. Retention days: Enter the number of days backups are retained before being automatically deleted. You can set a value between 1 and 365.

(Optional) Restore from a backup
To initialize the new cluster with data from an existing backup, go to the Restore configuration section and select Restore cluster from backup, then specify the following:
1. Source backup: Select the backup to restore from.
2. Recovery target datetime: Select a date and time within the displayed recovery window. The cluster is restored from the backup data up to that point in time. If left empty, the backup is applied in its entirety.

Select the required number of resources
In the Resources section, specify the number of resources to associate with the cluster, per instance:
1. Number of CPUs (per instance): Select the number of dedicated CPU cores using the slider.
2. RAM Size (per instance): Select the amount of RAM, in GB, using the slider.
3. Storage Size (per instance): Select the amount of storage, in GB, using the slider. Storage size can only be increased after the cluster is created; it cannot be reduced.
The totals shown below each slider (for example, 12 CPUs in total) reflect the combined resources across all instances in the cluster.

Connect the data center with the cluster
In the Data Center connection section, provide the following information to connect your cluster with the datacenter:
1. Network configuration: Select a datacenter from the available list.
2. VDC LAN: Select a LAN for your datacenter.
3. Private IP address: Enter the private IP address for the cluster's primary instance, in CIDR notation. For more information, see Private IP Address Ranges.

Create the database user
In the User Creation section, provide the following details:
1. Username: Enter a username to provide access to the MariaDB cluster.
2. Password: Enter a password for the respective user.
3. Database: Enter a name for the initial database to be created.
Warning: If the user already exists in the restored backup, its credentials will be overwritten.

Result: Your MariaDB cluster is created. Its STATE is set to PROVISIONING while the cluster is being created. Once complete, the cluster returns to AVAILABLE.

Next steps
View MariaDB Clusters: View the details and status of your newly created cluster.
Update a MariaDB Cluster: Modify cluster properties such as instances, resources, and maintenance settings.
Last updated
Was this helpful?


