Update a MariaDB Cluster
After creation, you can update the name, properties, configuration details, upgrade the cluster version, and the maintenance period of a MariaDB cluster.
To update a cluster, follow these steps:
Update cluster properties
In the Properties section, you can update the following:
1. Cluster name: Enter an updated name for the cluster. It must be between 2 and 63 characters long, must start and end with an alphanumeric character, and may contain the following special characters: hyphen (-), underscore (_), and period (.).
2. Location: Displays the region where the cluster is deployed. This cannot be changed after the cluster is created.
3. (Optional) Description: Enter or update the human-readable description for the cluster.
Update the cluster configuration
In the Cluster configuration section, you can update the following:
1. Version: Select a MariaDB version from the drop-down list. You can only upgrade to a higher version; downgrades are not supported.
2. Instances: Enter the number of instances for 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.
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.
Adjust instance resources
In the Resources section, adjust the resources allocated per instance:
1. Number of CPUs (per instance): Use the slider to set the number of dedicated CPU cores per instance.
2. RAM Size (per instance): Use the slider to set the amount of RAM, in GB, per instance.
3. Storage Size (per instance): Use the slider to set the storage, in GB, per instance. Storage size can only be increased after the cluster is created; it cannot be reduced.
Review the Data Center connection
The Data Center connection section displays the network settings configured during cluster creation:
Network configuration: The datacenter to which the cluster is connected.
VDC LAN: The LAN within the datacenter used for cluster connectivity.
IP/Subnet: The private IP address assigned to the cluster's primary instance.
Update the database user
In the User Creation section, you can update the following:
1. Username: Enter a username to provide access to the MariaDB cluster. It must be between 2 and 16 characters long and may only contain alphanumeric characters and underscores (_). Some usernames are reserved for platform use (for example, mariadb, admin, standby) and are not allowed.
2. Password: Enter a password for the respective user.
3. Database: Enter a name for the database.
Warning: If the user already exists in the restored backup, its credentials will be overwritten.
Result: Your MariaDB cluster is updated. Its STATE is set to UPDATING while the changes are being applied. Once complete, the cluster returns to AVAILABLE.

Next steps
View MariaDB Clusters: View the details and status of your updated cluster.
Restore a MariaDB Cluster: Restore a cluster from an existing backup.
Last updated
Was this helpful?
