MySQL
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
Perform the desired operation:
Start an instanceRestart an instanceStop an instance-
To start a DB instance entirely, with all of its hosts, perform one of the following actions:
- Select one or more DB instances using the checkboxes, then click Start.
- Click
for the DB instance host with the
Masterrole and select Start.
-
To start a separate replica of a DB instance, click
for the desired host with the
Replicarole and select Start.
-
Different information is available for active and stopped DB instances.
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
Perform the desired operation:
-
To view information about a DB instance, click its name.
-
To view information about an individual host of a DB instance, click the host name.
A page with the information will open.
-
You can assign an external IP address or unbind it at the level of an individual host that is part of a DB instance:
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
Perform the desired operation:
Assign an external IP address to a hostUnbind an external IP address from a host- Click
for the desired host and select Assign external IP.
- Select an existing IP address or the Add new IP option from the drop-down list.
- Click Confirm.
- Click
The operation is described in detail in the section Manually creating a backup.
To expand an instance, add a replica to it. The operation is described in detail in the section Replication.
You can change the virtual machine type used by the hosts of a DB instance:
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
To perform vertical scaling:
Single configurationMaster-Replica configurationCluster configuration- Click
for the DB instance host with the
Masterrole and select Vertical scaling. - Select the desired virtual machine category and type.
- Click Save size.
- Click
For DB instances in the Master-Replica configuration, a replica can be separated into a standalone DB instance.
- Go to the VK Cloud management console.
- Select the project where the desired DB instance is located.
- Go to Databases → Database instances.
- Click
for the desired DB instance host with the
Replicarole and select Promote to master. - Read the warning and click Confirm.
For DB instances in the Cluster configuration, you can switch the Master role from the current host to a host with the Sync replica role:
- Go to the VK Cloud management console.
- Select the project where the desired DB instance is located.
- Go to Databases → Database instances.
- Click
for the DB instance host with the
Sync replicarole and select Assign as master. - Read the warning and click Assign.
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
Configure autoscaling for the disk where data is stored:
Single configurationMaster-Replica configurationCluster configuration-
Perform one of the following actions:
- Click
for the desired DB instance and select Change disk autoscaling.
- Click
for the DB instance host with the
Masterrole and select Change disk autoscaling.
- Click
-
Enable or disable the disk autoscaling option.
-
If the autoscaling option is enabled, set the maximum disk size.
-
Click Confirm.
-
-
Go to the VK Cloud management console.
-
Select the project where the desired DB instance is located.
-
Go to Databases → Database instances.
-
Depending on the configuration, you can delete either the entire instance or its individual replicas:
Single configurationMaster-Replica configurationCluster configuration- Click
for the desired DB instance and select Delete.
- Click Confirm.
- Click