跳至內容

Set appendonly flag in Elasticache Parameter Group

0

I would like to know how to set appendonly flag to true when creating parameter group. Seems currently it forces me to edit the parameter group values after creating the group. However since the is_modifiable is No for the appendonly, there is no way for me to edit the value. I am using valkey8 Thanks all.

已提問 1 年前檢視次數 261 次

1 個回答
0

In Amazon ElastiCache, parameters have attributes that determine whether they can be modified or not. The appendonly parameter has an IsModifiable attribute set to false, which means you cannot modify this parameter after the parameter group is created.

When you create a parameter group, it initially has the family's default values. For parameters that cannot be modified (where IsModifiable is false), you cannot change these values even after creating the parameter group.

For Valkey or Redis OSS, some parameters require specific handling. If you need to use a different value for the appendonly parameter than what's provided in the default parameter group, you would typically need to:

  1. Create a manual backup of your existing cluster (if applicable)
  2. Delete the cluster
  3. Restore the cluster using a parameter group with the desired settings and your backup to seed the new cluster

However, since the appendonly parameter is not modifiable, you may need to check if there's a specific parameter group family for Valkey 8 that has this parameter set to true by default, or contact AWS Support for assistance with this specific requirement.

Parameter values are applied to clusters associated with the parameter group, but only modifiable parameters can be changed from their default values. Since appendonly is marked as not modifiable, you won't be able to edit this value in the ElastiCache console or through the API.
Sources
Parameter - Amazon ElastiCache
Modifying an ElastiCache parameter group - Amazon ElastiCache
Parameter management in ElastiCache - Amazon ElastiCache
Creating an ElastiCache parameter group - Amazon ElastiCache

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。