[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Configure an instance\n\nMemorystore for Redis Cluster supports a subset of the [native Redis configuration\nparameters](https://redis.io/topics/config) that you can modify to customize the\nbehavior of your instance.\n\nConfiguration changes don't require you to restart the\ninstance and the service isn't interrupted. If you restart the instance, then Memorystore for Redis Cluster saves the changes. After creating the instance,\nyou can update any configuration parameters that are modifiable.\n\nFor more information about the modifiable configuration parameters, see\n[Supported instance configurations](/memorystore/docs/cluster/supported-instance-configurations).\n\nBefore you begin\n----------------\n\nEnsure that you have installed the latest version of the Google Cloud CLI\nby running `gcloud components update`.\n\nView configuration parameters\n-----------------------------\n\nTo view configuration parameters using the Google Cloud CLI, run the\n`gcloud redis clusters describe` command replacing \u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with\nappropriate values.\n\nYou can't see configuration parameters when running the\n`gcloud redis clusters describe` command unless you have changed a configuration\nparameter from its default value. \n\n```\ngcloud redis clusters describe instance-id --region=region-id\n```\n\nExample: \n\n```\ngcloud redis clusters describe my-instance --region=us-central1\n```\n\nSet a configuration parameter during cluster creation\n-----------------------------------------------------\n\nTo set a configuration parameter while creating a cluster, run the\n`gcloud redis clusters create` command with `--redis-config` flag replacing\n\u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with appropriate values. \n\n```\ngcloud redis clusters create instance-id \\\n--region=region-id \\\n--project=project-id \\\n--node-type=node-type \\\n--shard-count=shard-count \\\n--redis-config=config-name=config-value \\\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003einstance-id\u003c/var\u003e is the ID of the Memorystore for Redis Cluster instance you're creating.\n- \u003cvar translate=\"no\"\u003eregion-id\u003c/var\u003e is the region where you want the instance placed.\n- \u003cvar translate=\"no\"\u003eproject-id\u003c/var\u003e is your project ID.\n- \u003cvar translate=\"no\"\u003enode-type\u003c/var\u003e is your chosen node type. Accepted values are:\n\n - `redis-shared-core-nano`\n - `redis-standard-small`\n - `redis-highmem-medium`\n - `redis-highmem-xlarge`\n\n | **Caution** : We recommend that you use the `redis-shared-core-nano` node type for development or testing purposes only. If you run Memorystore for Redis Cluster in a production environment, then we recommend using the `redis-standard-small`, `redis-highmem-medium`, or `redis-highmem-xlarge` node types. For more information about these node types, see [Choose a node type](/memorystore/docs/cluster/cluster-node-specification#choose_a_node_type).\n- \u003cvar translate=\"no\"\u003eshard-count\u003c/var\u003e determines the number of shards in your instance. Shard count determines the total memory capacity for storing cluster data. To see more details about cluster specification, see [Cluster and node specification](/memorystore/docs/cluster/cluster-node-specification).\n\n- \u003cvar translate=\"no\"\u003econfig-name\u003c/var\u003e is the configuration parameter to modify.\n\n- \u003cvar translate=\"no\"\u003econfig-value\u003c/var\u003e is your chosen setting corresponding to the parameter you're configuring.\n\n | **Note** : For more information about modifying configuration parameters for your instance, see [Modifiable configuration parameters](/memorystore/docs/cluster/supported-instance-configurations#modifiable_configuration_parameters).\n\nFor example: \n\n```\ngcloud redis clusters create foo --region=us-east1 --project=test-proj --node-type=redis-highmem-medium --shard-count=3 --redis-config=maxmemory-policy=allkeys-lru\n```\n\nUpdate a configuration parameter\n--------------------------------\n\nTo update a configuration parameter for an existing instance, run the\n`gcloud redis clusters update` command with the `--update-redis-config` flag\nreplacing \u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with appropriate values. \n\n```\ngcloud redis clusters update instance-id \\\n--region=region-id \\\n--project=project-id \\\n--update-redis-config=config-name=config-value\n```\n\nExample: \n\n```\ngcloud redis clusters update foo --region=us-east1 --project=test-proj --update-redis-config=maxmemory-policy=allkeys-lru\n```\n\nReset a configuration parameter\n-------------------------------\n\nTo reset a configuration parameter to its default value, run the\n`gcloud redis clusters update` command with the `--remove-redis-config` flag\nreplacing \u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with appropriate values. \n\n```\ngcloud redis clusters update instance-id \\\n--region=region-id \\\n--project=project-id \\\n--remove-redis-config=config-name\n```\n\nExample: \n\n```\ngcloud redis clusters update foo --region=us-east1 --project=test-proj --remove-redis-config=maxmemory-policy\n```"]]