Skip to main content

Create cluster

Create cluster

A cluster is a logical unit consisting of multiple nodes, and MemStore automatically manages the state of clusters. When users create or delete a cluster, the service performs the operation and automatically updates the cluster status. Each cluster consists of nodes that serve as either a Primary or Replica.
You can create a new cluster in MemStore using the following method.

info
  • The security group applied to a cluster must allow access to the port specified during creation.
  • t1i instance types may take a few minutes to tens of minutes to change to the Running state after creation.
    If there are insufficient CPU credits, CPU-intensive operations may not function correctly.
caution

User authentication is not supported for Redis OSS engine version 5 or below.

  1. Go to KakaoCloud Console > Data Store > MemStore.
  2. In the Cluster menu, click the Create Cluster button.

Create new cluster

Enable cluster mode

  1. In the configuration options, select Create new cluster and set Cluster Mode to Enabled.

  2. Enter the required information to create the cluster.

    CategoryFieldDescription
    Cluster modeSelect whether to enable cluster mode
    Basic settingsCluster nameName of the cluster
    - Cannot be duplicated within the same project
    Description (optional)Description of the cluster, up to 100 characters
    Redis compatibilityEngine versionRedis OSS engine version for the node
    - Supported: 7.2.7, 7.2.6, 7.0.15, 6.2.17, 6.2.16, 6.2.5
    PortRedis connection port
    - Default: 6379
    - Can specify between 2000–50000
    User authenticationWhether to enable authentication when accessing MemStore
    - Disabled: access with default account
    - Enabled: access with entered ID and password
    User account settingsIDRequired if authentication is enabled
    - Reserved names are not allowed
    Password8–16 characters
    TLS encryptionWhether to use encrypted connection
    - Disabled: plain connection
    - Enabled: supports TLS 1.2. Download ca.crt file from cluster details after creation
    Parameter groupSelect parameter group matching selected engine version and cluster mode
    Shard settingsNumber of shardsNumber of shards to create
    - Min: 1, Max: 12
    Nodes per shardNumber of nodes per shard
    - Min: 2, Max: 5
    Node typeSelect node type with sufficient memory for optimal performance
    See Node types
    Network settingsVPCSelect from user-created VPCs
    SubnetSelect one or more subnets
    Security groupSelect existing or create new security groups (multiple selectable)
    Shard placementSelect subnet for node placement within each shard
    Automatic backupBackup optionWhether to enable automatic daily backup
    - Must have 2 or more nodes
    Retention periodBackup retention period: 1–35 days
    Backup start timeBackup starts within 15 minutes of selected time

Disable cluster mode

  1. In the configuration options, select Create new cluster and set Cluster Mode to Disabled.

  2. Enter the required information to create the cluster.

    CategoryFieldDescription
    Cluster modeSelect whether to disable cluster mode
    Basic settingsCluster nameName of the cluster
    - Cannot be duplicated within the same project
    Description (optional)Description of the cluster, up to 100 characters
    Redis compatibilityEngine versionRedis OSS engine version
    - Supported: 7.2.7, 7.2.6, 7.0.15, 6.2.17, 6.2.16, 6.2.5, 5.0.6
    PortRedis connection port
    - Default: 6379
    - Can specify between 2000–50000
    User authenticationWhether to enable authentication
    * Not supported for Redis OSS v5 or below
    User account settingsIDRequired if authentication is enabled
    - 1–32 characters, lowercase letters and _ only
    - Reserved names not allowed
    Password8–16 characters
    - No Korean, spaces, or special characters /, ', ", @
    TLS encryptionWhether to use encrypted connection
    * Not supported for Redis OSS v5 or below
    Parameter groupSelect parameter group matching selected engine version and cluster mode
    Number of nodesNumber of nodesNumber of nodes to create
    - With HA: 2–6
    - Without HA: 1–6
    - Example: For 1 Primary and 2 Replicas, enter 3
    High availabilityEnable HA for automatic failover and node replacement
    Node typeSelect node type with sufficient memory
    See Node types
    Network settingsVPCSelect from user-created VPCs
    SubnetSelect one subnet
    Security groupSelect or create security groups (multiple selectable)
    Node placementSelect subnets based on node roles
    Automatic backupBackup optionEnable daily automatic backup (2 or more nodes required)
    Retention period1–35 days
    Backup start timeBackup starts within 15 minutes of selected time

Restore cluster

caution
  • Restoration is only possible with the same or higher Redis engine version as used in the backup.
  • Backup can only be restored using the same cluster mode.
  • Restoration may fail if the cache size of the backup exceeds 60% of the target cluster flavor memory.
  1. In the configuration options, select Restore cluster.

  2. To restore from an existing backup, choose Backup type > MemStore backup.

  3. To restore from a file in Object Storage, choose Backup type > User backup file and specify the path.

  4. Enter the required information to create the cluster.

    CategoryFieldDescription
    Restore source infoInformation of the backup source file to be used for restoration; a new cluster will be created and restored using this file
    Cluster mode settingWhether to enable cluster mode
    Basic settingsCluster nameName of the cluster
    - Cannot be duplicated within the same project
    Description (optional)Description of the cluster, up to 100 characters
    Redis compatibilityEngine versionRedis OSS engine version to run on nodes
    - Supported: 7.2.7, 7.2.6, 7.0.15, 6.2.17, 6.2.16, 6.2.5
    PortPort for Redis access
    - Default: 6379
    - Can specify between 2000–50000
    User authenticationWhether to enable user authentication when accessing MemStore resources
    - Disabled: access with default account
    - Enabled: access with specified ID and password
    User account settingsIDRequired when authentication is enabled
    - 1–32 characters, lowercase letters and _ only
    - Reserved names not allowed
    Password8–16 characters
    - No Korean, spaces, or special characters /, ', ", @
    TLS encryptionWhether to use encrypted connection
    - Disabled: plain connection
    - Enabled: supports TLS 1.2. Download ca.crt file from cluster details after creation
    Parameter groupSelect parameter group that matches the selected engine version and cluster mode
    Shard settingsNumber of shardsNumber of shards to be created
    - Cannot be changed during restore in cluster mode for data consistency
    Nodes per shardNumber of nodes per shard
    - Min: 2, Max: 5
    Node typeSelect node type with sufficient memory for performance
    See Node types
    Network settingsVPCSelect from previously created VPCs
    SubnetSelect one or more previously created subnets
    Security groupSelect or create security groups for the cluster (multiple selectable)
    Shard placementSelect the subnet where each node in the shard will be created
    Automatic backupBackup optionWhether to enable daily automatic backup
    - Must have 2 or more nodes
    Retention periodBackup retention period, between 1 and 35 days
    Backup start timeBackup will start within 15 minutes of the selected time