General questions about Yandex Managed Service for Valkey™
-
What is the role of Yandex Managed Service for Valkey™ in database management and maintenance?
-
When should I use Yandex Managed Service for Valkey™, and when should I opt for database VMs?
-
How do I get started with Yandex Managed Service for Valkey™?
-
Which Valkey™ version does Yandex Managed Service for Valkey™ use?
-
How can I change the computing resources and storage size for a database cluster?
-
How do I fix the
Maximum number of hosts reachederror when adding a host to my cluster? -
What is the backup schedule? Is a database cluster available during backups?
-
How do I set up an alert that triggers as soon as a certain percentage of disk space is used up?
-
How do I get the logs of my activity in the Yandex Cloud services?
-
Why is my cluster slow even though the computing resources are not fully utilized?
-
Can I connect to cluster hosts over SSH or get superuser privileges on hosts?
What is Yandex Managed Service for Valkey™?
Yandex Managed Service for Valkey™ is a solution that helps you create, operate, and scale Valkey™ databases in the cloud.
With Yandex Managed Service for Valkey™, you can:
- Create a database with performance tailored to your needs.
- Scale computing power and storage size allocated to your databases as needed.
- Get database logs.
Yandex Managed Service for Valkey™ handles the heavy lifting of Valkey™ infrastructure management:
- Monitors your resource consumption.
- Performs automated database backups.
- Ensures fault tolerance through automatic failover to standby replicas.
- Keeps your DBMS software up to date.
You can work with a Yandex Managed Service for Valkey™ database cluster the same way as with your regular local database. This allows you to manage internal database settings to meet your app requirements.
What is the role of Yandex Managed Service for Valkey™ in database management and maintenance?
When you create clusters, Yandex Managed Service for Valkey™ allocates resources, installs the DBMS, and creates databases.
For all created and running databases, Yandex Managed Service for Valkey™ automatically creates backups as well as applies DBMS fixes and updates.
Furthermore, Yandex Managed Service for Valkey™ ensures data replication across database hosts, both within and across availability zones, with automatic failover to a standby replica if a failure occurs.
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.
Not sure whether to use Yandex Managed Service for Valkey™ or VMs with databases?
Yandex Cloud offers two ways to work with databases:
- With Yandex Managed Service for Valkey™, you can use template databases, with no administrative effort required.
- With Yandex Compute Cloud virtual machines, you can create and customize your own databases. This approach allows you to use any database management system, connect to databases over SSH, and many more.
What is a database host and database cluster?
A database host is a cloud-based isolated database environment with dedicated computing resources and reserved storage capacity.
A database cluster consists of one or more database hosts with configurable replication across them.
How do I get started with Yandex Managed Service for Valkey™?
Yandex Managed Service for Valkey™ is available to all registered Yandex Cloud users.
Before you create a database cluster in Yandex Managed Service for Valkey™, you need to decide on its specifications:
- Host class that will determine your host performance by specifying its resources, such as the number of vCPUs, RAM size, etc.
- Disk type and size (fully reserved when creating the cluster).
- Your cluster network.
- Number of hosts in your cluster and availability zone for each host.
For more information, see Getting started.
How many database hosts can there be in a cluster?
The minimum cluster size depends on the following:
- Your chosen platform and host class.
- Selected disk type.
- Whether you enabled sharding when creating a cluster.
The maximum number of hosts in a cluster is only limited by the computing resources you request and the size of storage allocated to the cluster.
For more information, see Quotas and limits.
How can I access a running database host?
You can connect to Yandex Managed Service for Valkey™ databases using conventional DBMS methods. However, note that Yandex Managed Service for Valkey™ hosts can only be accessed from Yandex Cloud VMs in the same network.
How many clusters can I create within a single cloud?
To learn more about technical and organizational limitations of MDB, see Quotas and limits.
How are database clusters maintained?
Maintenance in Yandex Managed Service for Valkey™ includes:
- Automatic installation of DBMS updates and patches for database hosts (including for stopped clusters).
- Changes in the host class and storage size.
- Other Yandex Managed Service for Valkey™ maintenance tasks.
For more information, see Maintenance.
Which Valkey™ version does Yandex Managed Service for Valkey™ use?
Yandex Managed Service for Valkey™ supports Valkey™ 7.2, 8.0, 8.1, or 9.0.
What happens when a new DBMS version is released?
The database software is updated whenever new minor versions are released. Owners of affected database clusters get advance notice of the upcoming maintenance schedule and database availability.
What happens when a DBMS version becomes deprecated?
One month after a DBMS version becomes deprecated, Yandex Managed Service for Valkey™ automatically sends email notifications to the owners of database clusters created with that version.
For clusters with a deprecated DBMS version, there is no option to create new hosts or restore from backups. Database clusters are automatically upgraded to the next supported version seven days after notification for minor versions and one month after notification for major versions. Deprecated major versions will be upgraded even if you disabled automatic updates.
How do you calculate usage cost for a database host?
In Yandex Managed Service for Valkey™, the usage cost is calculated based on the following:
- Selected host class.
- Reserved storage capacity for the database host.
- Size of database cluster backups. You are not charged for backup storage up to the size of your provisioned storage. Backup storage exceeding this limit is charged according to our pricing policy.
- Database host uptime in hours. Partial hours are rounded to the nearest whole hour. For the hourly rates of each host class, see our pricing policy.
How can I change the computing resources and storage size for a database cluster?
You can scale your computing resources and storage size directly in the management console by selecting a different host class for your cluster.
The cluster settings will update within 30 minutes. This window may also be used for other maintenance tasks, such as installing updates.
How do I fix the Maximum number of hosts reached error when adding a host to my cluster?
This error occurs when adding a host to a Yandex Managed Service for Valkey™ cluster with the b2.medium or b3-c1-m4 host class. In this case, change the host class. The cluster will become unavailable for about five to seven minutes. Then, add a host to the cluster.
Clusters with the b2.medium or b3-c1-m4 host class may contain only one host per cluster or shard. If you want to keep the original host class, add a new host with the required configuration after changing the class and then delete the old one. Then, change the host class back to the original one.
Are database host backups enabled by default?
Yes, backups are enabled by default. The Valkey™ backup policies provide full daily backups and continuous transaction log archiving. This enables you to restore your cluster to any point in time within the backup retention period, except for the last 30 seconds.
By default, backups are retained for seven days.
When does a backup run? Can I access my database cluster during backup?
The backup window, i.e., the scheduled time for the full daily backup of a database cluster, is from 01:00 to 05:00 (UTC+3).
Clusters remain fully available during the backup window.
What metrics and processes can be monitored?
For all DBMS types, you can monitor:
- CPU, memory, network, and disk utilization, in absolute terms.
- Memory, network, and disk utilization as a percentage of the set limits for the cluster’s host class.
- Total cluster data size and available storage space remaining.
For all database hosts, you can monitor metrics specific to their DBMS type. For example, for Valkey™, you can monitor:
- Average query execution time.
- Number of queries per second.
- Number of errors in logs, and more.
You can monitor metrics with a minimum granularity of five seconds.
How can I configure an alert for when disk usage reaches a certain percentage?
Create an alert for the disk.used_bytes metric in Yandex Monitoring. This metric shows the disk space usage in the Yandex Managed Service for Valkey™ cluster.
For disk.used_bytes, use notification thresholds. Their recommended values are as follows:
Alarm: 90% of disk spaceWarning: 80% of disk space
Thresholds are set in bytes only. For example, the recommended values for a 100 GB disk are as follows:
Alarm:96636764160bytes (90%).Warning:85899345920bytes (80%).
Does the service meet the requirements of the Russian Federation Federal Law 152-FZ on personal data?
Yes, it does. You can read the full security audit conclusion here
Can I get logs of my operations in Yandex Cloud?
Yes, you can request information about operations with your resources from Yandex Cloud logs. Do it by contacting support
What is the retention period for logs?
Cluster logs are stored for 30 days.
Why is my cluster slow even though the computing resources are not fully utilized?
Most likely, IOPS and bandwidth limits of your storage are too low to handle the current command load. This leads to throttling which degrades the overall performance of the cluster.
Maximum IOPS and bandwidth increase by a fixed increment for each storage expansion step. The step and increment depend on the disk type:
| Disk type | Step, GB | Max IOPS increment (read/write) | Max bandwidth increment (read/write), MB/s |
|---|---|---|---|
network-ssd |
32 | 1,000/1,000 | 15/15 |
network-ssd-nonreplicated |
93 | 28,000/5,600 | 110/82 |
To increase the maximum IOPS and bandwidth values and make throttling less likely, expand the storage when updating your cluster.
Consider switching to a higher-speed disk type by restoring the cluster from a backup.
Can I connect to cluster hosts over SSH or get superuser privileges on hosts?
You cannot connect to hosts via SSH. This is done for the sake of security and user cluster fault tolerance because direct changes inside a host can render it completely inoperable.
What should I do if I get a revocation check error when using PowerShell to obtain an SSL certificate?
Here is the full text of the error:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012)
The revocation function was unable to check revocation for the certificate
This means that when connecting to the website, the service was unable to check whether or not its certificate was listed among revoked ones.
To fix this error:
-
Make sure your corporate network policies are not blocking the check.
-
Run the following command with the
--ssl-no-revokeparameter:mkdir $HOME\.redis; curl.exe --ssl-no-revoke -o $HOME\.redis\YandexInternalRootCA.crt https://storage.yandexcloud.net/cloud-certs/CA.pem