Skip to main content

Create a Redis cluster

  1. In the Dashboard, on the top menu click Products and select Managed Databases.

  2. Click Create cluster.

  3. Enter the cluster name.

  4. Select a location. You cannot change the location after creation.

  5. Select the DBMS — Redis.

  6. Select the Redis version. You cannot change the version after creation.

  7. Fill in the blocks:

  8. Check the cluster price.

  9. Click Create cluster.

Node configuration

  1. Select a configuration line.

  2. Select a configuration.

After cluster creation, you can change the node configuration — scale the cluster.

Optional: Fault tolerance

To ensure cluster fault tolerance, add replicas — full copies of the master node. To do this, specify the number of nodes in the cluster. The first node is the master node, the rest are replicas. Replicas are available for read-only operations (SELECT).

For a multi-node cluster, the SLA applies — we guarantee 99.95% write availability and 99.99% read availability.

Optional: Logging

To access the cluster logs, enable logging. Logging consumes some of the cluster's computing resources.

  1. Select the Collect technical cluster logs to the logging service checkbox.

  2. Select an existing log group or create a new one.

  3. If you selected a new group, enter its name.

Network

A Redis cluster can be connected to:

You can create a new subnet or add the cluster to an existing one.

  1. To add a cluster to an existing private subnet:

    1.1. In the Subnet field, select an existing subnet. The number of addresses in the selected subnet must be at least the number of nodes in the cluster. You cannot change the subnet after the cluster is created.

    1.2. Optional: to make cluster nodes accessible from the internet, in the Public access to cluster nodes section, select the checkbox of the node you want to attach a public floating IP address to. The Public access to cluster nodes section is available if the private subnet meets the requirements. If the subnet does not meet the requirements, you can attach a public floating IP address after the cluster is created.

  2. To create a new private subnet:

    2.1. In the Subnet field, select New private subnet. The number of addresses in the subnet must be at least the number of nodes in the cluster. You cannot change the subnet after the cluster is created.

    2.2. Optional: change the subnet CIDR.

    2.3. Optional: change the network where the subnet will be created — you can select an existing network or create a new one. You cannot change the network after the cluster is created.

Optional: Security

Select security groups to filter incoming and outgoing cluster traffic.

If the Security section is missing, traffic filtering (port security) is disabled in the cluster network. If traffic filtering is disabled, all traffic will be allowed.

Optional: Eviction policy

In a Redis cluster, you can select an eviction policy — a rule according to which Redis evicts keys to free up memory when its consumption reaches the specified limit.

  1. If you selected Redis version 6, select an eviction policy in the Maxmemory Policy field.

  2. If you selected Redis version 8:

    2.1. In the Maxmemory field, specify the parameter value. Available values are from 1% to 75%.

    2.2. In the Maxmemory Policy field, select the eviction policy.

You can change the eviction policy after the cluster is created.

User password

  1. Enter a user password or click Generate. The password must contain:

    • from 32 to 64 characters;
    • uppercase and lowercase Latin letters;
    • digits;
    • special characters.
  2. Copy and save the user password — it is required to connect to the cluster. The password cannot be viewed in the control panel, but you can change it.