Resource relationships in Yandex Managed Service for Valkey™
Valkey™ is a high-performance DBMS for storing key-value data that runs in RAM. Yandex Managed Service for Valkey™ allows you to easily create Valkey™ host clusters with a high level of fault tolerance.
The main entity in Yandex Managed Service for Valkey™ is a database cluster.
Each cluster consists of one or multiple database hosts, which are virtual machines with deployed DBMS servers. Cluster hosts may reside in different availability zones and even different availability regions. You can learn more about the Yandex Cloud availability zones in Platform overview.
-
A cluster with three or more hosts is natively fault-tolerant because its hosts can step in for one another as the cluster’s primary replica.
-
A cluster of one or two hosts is cheaper, but it does not guarantee fault tolerance.
When creating a cluster, specify:
-
Host class: VM template for deploying 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 applications.PRESTABLE: For testing purposes. The prestable environment is similar to the production environment and is also covered by an SLA. However, it receives new features, improvements, and bug fixes earlier. In the prestable environment, you can test new versions for compatibility with your application.
Note
The amount of memory allocated to a host also depends on the maxmemory configuration parameter for Valkey™ hosts: the maximum amount of data equals 75% of available memory. For example, for a host class with 8 GB RAM, the maxmemory value will be 6 GB.
You can access a cluster created in a folder from any VM in the same cloud network. For more information about networking, see this Virtual Private Cloud guide.
Alert
The service can automatically access the system and diagnostic information of your databases to render monitoring charts and maintain your cluster health. It never accesses or uses the data you entered into the database manually.
Be mindful of what is managed by the service and what, by the Yandex Cloud customer. Understanding these areas of management helps you use your cloud resources efficiently and avoid potential database-related issues. For more information, see Zones of control between managed database (MDB) service users and Yandex Cloud.