Skip to main content

Create a Redis cluster

  1. In the Control panel, from the top menu, click Products and select Managed Databases.

  2. Click Create cluster.

  3. Enter the cluster name.

  4. Select a location. You will not be able to change the location after creation.

  5. Select the DBMS — Redis.

  6. Select the Redis version. You will not be able to change the version after creation.

  7. Select a configuration line and configuration.

  8. Optional: to configure cluster high availability, in the High Availability block, specify the number of nodes in the cluster. The first node is the master node, and the others are replicas. For a multi-node cluster, the SLA applies — we guarantee 99.95% write availability and 99.99% read availability.

  9. Optional: to access cluster logs, enable logging. Logging consumes some of the cluster's computing resources.

    9.1.Select the Collect technical cluster logs to logs service checkbox.

    9.2.Select a log group or create a new one.

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

  10. In the Eviction Policy block:

    10.1. If you chose Redis version 8, in the Maxmemory field, specify the parameter value. The available values are from 1% to 75%.

    10.2. In the Maxmemory Policy field, select an eviction policy.

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

    • from 32 to 64 characters;
    • latin letters in different cases;
    • digits;
    • special characters.
  12. Copy and save the user password — it is required for connecting to the cluster. The password cannot be viewed in the Control panel, but it can be changed.

  13. Select or create a subnet:

    • a private subnet — a subnet without internet access. You can connect a static public IP address;
    • or a public subnet — all addresses in a public subnet are accessible from the internet.

    Addresses are assigned to each node in the cluster. Ensure that the number of addresses in the subnet is at least the number of nodes in the cluster. If you plan to increase the number of replicas after creating the cluster, choose a subnet with enough free addresses. You cannot change the subnet after the cluster is created.

    You can restrict the list of addresses from which access to the database cluster will be allowed.

  14. Optional: in a private subnet, you can connect a public IP address to a cluster node:

    • if you selected an existing private subnet — check the Public access to cluster nodes checkbox, and then check the box for the node to which you want to grant public access. The private subnet must meet the requirements;
    • if you are creating a new private subnet — connect a public IP address after creating the cluster.
  15. Optional: select security groups to filter incoming and outgoing cluster traffic. If the Security block is missing, traffic filtering (port security) is disabled in the cluster network. With traffic filtering disabled, all traffic will be allowed.

  16. Check the cluster price.

  17. Click Create cluster. The cluster will be ready for operation when it enters the ACTIVE status.