Create cluster
Create cluster
A cluster is an object composed of multiple nodes that is automatically managed by the MemStore service. When creating or deleting a cluster, the service automatically changes the cluster status while performing the operation. A cluster consists of multiple nodes, and each node functions as either a Primary or a Replica.
There are the following methods to create a new cluster in the MemStore service.
- The Security Group applied to the cluster must allow port 6379 for cluster access.
- t1i instance types may take a few minutes to tens of minutes to transition to Running status after initial creation.
Additionally, if the CPU credit is insufficient, tasks that put a load on the CPU may not operate properly, so caution is needed.
User authentication is not supported for Redis OSS engine versions 5 or lower.
-
Go to Data Store > MemStore on the KakaoCloud Console.
-
Click the Create cluster button in the Cluster menu.
Create new cluster
Use cluster mode
-
In the configuration options, select Create a new cluster and click the Enable button for Cluster Mode Setting.
-
Enter the necessary information to create the cluster.
Category Item Description Cluster Mode Setting Select whether to enable or disable the cluster mode Basic settings Cluster Name Name of the cluster Description (optional) Enter a description for the cluster (up to 100 characters) Redis Compatibility Settings Engine Version Set the version of the Redis OSS engine to run on the node
- Currently, only version 6.2.5 is supported. More engine versions will be supported in the future.Port Set the port to be used for Redis access
- Currently, only the default port 6379 is supported. It will be improved to allow users to set custom ports.User Authentication Select whether to use user authentication for MemStore resource access
If not used, access is possible with the default account. If used, access is possible with the entered ID and password.User account settings ID Enter when using user authentication
- Format: 1 to 32 characters, lowercase letters, and_
only
* Reserved account names cannot be used.Password - Format: 8 to 16 characters
- Cannot use Korean, spaces, or special characters/
,'
,"
,@
Parameter Group Select the parameter group that matches the selected engine version and cluster mode Shard settings Number of Shards Number of shards to be created
- Minimum 1 ~ Maximum 12, entered as an integerNumber of Nodes per Shard Number of nodes per shard to be created
- Minimum 2 ~ Maximum 5, entered as an integerNode type Select a node type that provides sufficient memory for optimal service performance
- For more details, refer to Node typeNetwork settings VPC Select one of the pre-created user VPCs Subnet Select a pre-created user Subnet
- Multiple selections possibleSecurity Group Create a new Security Group or select an existing Security Group to apply to the cluster
- Multiple selections possibleShard placement Select the Subnet where each node in the shard will be created
Disable cluster mode
-
In the configuration options, select Create a new cluster and click the Disable button in the Cluster Mode Settings on the Create cluster screen.
-
Enter the necessary information to create the cluster.
Category Item Description Cluster mode setting Select whether to enable or disable cluster mode Basic settings Cluster Name Name of the cluster
- The same cluster name cannot be created within the same projectDescription (optional) Enter a description for the cluster (up to 100 characters) Redis compatibility settings Engine Version Set the version of the Redis OSS engine to run on the node
- Currently,6.2.5
,5.0.6
versions are supported. More versions will be supported in the future.Port Set the port to be used for Redis access
- Currently, only the default port6379
is supported. It will be improved to allow users to set custom ports.User authentication Select whether to use user authentication for MemStore resource access
If not used, access is possible with the default account. If used, access is possible with the entered ID and password.User account settings ID Enter when using user authentication
- Format: 1 to 32 characters, lowercase letters, and_
only
* Reserved account names cannot be used.Password - Format: 8 to 16 characters
- Cannot use Korean, spaces, or special characters/
,'
,"
,@
Parameter group Select the parameter group that matches the selected engine version and cluster mode Number of nodes Number of Nodes Number of nodes to be created
- When using high availability: Minimum 2 ~ Maximum 6, entered as an integer
_ Creates 1 Primary node and 1 to 5 Replica nodes
- When not using high availability: 1 ~ 6, entered as an integer
_ Creates 1 Primary node and 0 to 5 Replica nodes
Example: To create 1 Primary node and 2 Replica nodes, enter3
in the number of nodes.High Availability Select whether to use high availability in the event of a node failure
- If high availability is enabled, a new node is created and the node count is maintained when a node fails.Node type Select a node type that provides sufficient memory for optimal service performance
- For more details, refer to Node typeNetwork settings VPC Select one of the pre-created user VPCs Subnet Select a pre-created user Subnet Security Group Create a new Security Group or select an existing Security Group to apply to the cluster
- Multiple selections possibleNode placement Select the Subnet where each node will be created based on the selected network settings Automatic backup Automatic backup Option Select whether to enable automatic backup option. When enabled, a backup is automatically performed once per day
- Available only when there are 2 or more nodesBackup Retention Period Select backup retention period, from a minimum of 1 day to a maximum of 35 days Automatic backup Start Time Select the start time for automatic backup. The backup will begin within 15 minutes of the selected time.
Restore cluster
- Restoration is available only when cluster mode is disabled.
- Restoration is not available for Redis OSS engine versions 7 or higher when restoring from a user file.
- When restoring from an existing MemStore backup, restoration may fail if the cache size of the source backup is greater than 60% of the memory of the target cluster flavor.
Disable cluster mode
-
In the configuration options, select Restore cluster.
-
To restore from an existing backup, select Backup Type > MemStore Backup. To restore from a file stored in Object Storage, select Backup Type > User Backup File and enter the Object Storage path of the backup file.
-
Enter the necessary information to create the cluster.
Category Item Description Cluster mode setting Select whether to enable or disable cluster mode. Currently, restoration is supported only in Disable mode. Basic settings Cluster Name Name of the cluster
- The same cluster name cannot be created within the same projectDescription (optional) Enter a description for the cluster (up to 100 characters) Redis compatibility settings Engine Version Set the version of the Redis OSS engine to run on the node
- Currently,6.2.5
,5.0.6
versions are supported. More versions will be supported in the future.Port Set the port to be used for Redis access
- Currently, only the default port6379
is supported. It will be improved to allow users to set custom ports.User authentication Select whether to use user authentication for MemStore resource access
If not used, access is possible with the default account. If used, access is possible with the entered ID and password.User account settings ID Enter when using user authentication
- Format: 1 to 32 characters, lowercase letters, and_
only
* Reserved account names cannot be used.Password - Format: 8 to 16 characters
- Cannot use Korean, spaces, or special characters/
,'
,"
,@
Parameter group Select the parameter group that matches the selected engine version and cluster mode Number of nodes Number of Nodes Number of nodes to be created
- When using high availability: Minimum 2 ~ Maximum 6, entered as an integer
_ Creates 1 Primary node and 1 to 5 Replica nodes
- When not using high availability: 1 ~ 6, entered as an integer
_ Creates 1 Primary node and 0 to 5 Replica nodes
Example: To create 1 Primary node and 2 Replica nodes, enter3
in the number of nodes.High Availability Select whether to use high availability in the event of a node failure
- If high availability is enabled, a new node is created and the node count is maintained when a node fails.Node type Select a node type that provides sufficient memory for optimal service performance
- For more details, refer to Node typeNetwork settings VPC Select one of the pre-created user VPCs Subnet Select a pre-created user Subnet Security Group Create a new Security Group or select an existing Security Group to apply to the cluster
- Multiple selections possibleNode placement Select the Subnet where each node will be created based on the selected network settings Automatic backup Automatic backup Option Select whether to enable automatic backup option. When enabled, a backup is automatically performed once per day
- Available only when there are 2 or more nodesBackup Retention Period Select backup retention period, from a minimum of 1 day to a maximum of 35 days Automatic backup Start Time Select the start time for automatic backup. The backup will begin within 15 minutes of the selected time.