Resource relationships in Managed Service for MySQL®
The main entity used in the Managed Service for MySQL® service is a database cluster.
Each cluster consists of one or more database hosts, which are virtual machines with DBMS servers deployed on them. Cluster hosts may reside in different availability zones and even different availability regions. You can learn more about Yandex Cloud availability zones here.
-
A cluster consisting of multiple hosts supports automatic failover, as each host can take the cluster's primary replica role.
-
The cost of a single-host cluster is lower, but it does not guarantee fault tolerance.
VMs for cluster hosts can be hosted on:
-
Regular Yandex Cloud hosts.
These are physical servers for hosting cluster VMs. They are randomly selected from a pool of available hosts that meet the selected cluster configuration.
-
Dedicated Yandex Cloud hosts.
These are physical servers that only host your VMs. VMs on dedicated hosts have all features of regular VMs; additionally, they are physically isolated from other users' VMs.
Dedicated hosts are selected from dedicated host groups specified when creating a cluster.
For more information, see Dedicated hosts.
When creating a cluster, specify:
-
Host class: VM template for deploying the cluster hosts. For a list of available host classes and their specs, see Host classes.
-
Environment: Environment where the cluster will be deployed:
PRODUCTION
: For stable versions of your apps.PRESTABLE
: For testing purposes. The prestable environment is similar to the production environment and likewise covered by the SLA, but it is the first to get new functionalities, improvements, and bug fixes. In the prestable environment, you can test compatibility of new versions with your application.
A cluster created in a folder can be accessed by all VMs connected to the same cloud network. For more information about networking, see the Virtual Private Cloud documentation.
Alert
The service can automatically access the system and diagnostic information of your databases to build monitoring charts and maintain your cluster health. The service never queries or uses the data you saved to the database.