Changing Redis cluster settings
After creating a cluster, you can:
-
Configure Redis servers as described in the Redis documentation
. For a list of supported settings, see Redis settings. -
Move a cluster to another folder.
Change the cluster name and description
- In the management console
, select the folder with the cluster you need. - Select Managed Service for Redis.
- Select the desired cluster.
- At the top of the page, click Edit cluster.
- Under Basic parameters, enter a new name and description for the cluster.
- Click Save changes.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To change the host class for the cluster:
-
View a description of the update cluster CLI command:
ncp managed-redis cluster update --help
-
Specify a new name and description in the cluster update command:
ncp managed-redis cluster update <cluster ID or name> \ --new-name <new cluster name> \ --description <new cluster description>
Changing the host class
-
In the management console
, select the folder with the cluster you need. -
Select Managed Service for Redis.
-
Select the desired cluster.
-
At the top of the page, click Edit cluster.
-
Under Host class:
- Select a platform in the Platform field.
- Select the Type of virtual machine that hosts will be deployed on:
high-memory
ormemory-optimized
: More RAM per 1 vCPU.standard
: 4:1 RAM to vCPU ratio.
- Modify the host configuration.
-
Click Save changes.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To change the host class for the cluster:
-
View a description of the update cluster CLI command:
ncp managed-redis cluster update --help
-
Request a list of available host classes (the
ZONES
column specifies the availability zones where you can select the appropriate class):ncp managed-redis resource-preset list
Result:
+-------------+--------------+----------+ | ID | ZONE IDS | MEMORY | +-------------+--------------+----------+ | hm3-c2-m8 | eu-north1-c | 8.0 GB | | hm3-c2-m12 | eu-north1-c | 12.0 GB | | hm3-c4-m16 | eu-north1-c | 16.0 GB | | ... | +-------------+--------------+----------+
-
Specify the class in the update cluster command:
ncp managed-redis cluster update <cluster ID or name> \ --resource-preset <host class ID>
Managed Service for Redis will run the update host class command for the cluster.
Changing Redis settings
You can change the DBMS settings of the hosts in your cluster. All supported settings are described in Redis settings.
To update the DBMS settings for the cluster:
- In the management console
, select the folder with the cluster you need. - Select Managed Service for Redis.
- Select the desired cluster.
- At the top of the page, click Edit cluster.
- Under DBMS settings, click Settings.
- Configure the available parameters according to the Redis documentation
. - Click Save.
Moving a cluster
- Go to the folder page and select Managed Service for Redis.
- Click the
- Select Move.
- Select a folder you want to move the cluster to.
- Click Move.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To move a cluster:
-
View a description of the CLI move cluster command:
ncp managed-redis cluster move --help
-
Specify the destination folder in the move cluster command:
ncp managed-redis cluster move <cluster ID> \ --destination-folder-name=<destination folder name>
You can get the cluster ID with a list of clusters in the folder.