Menu
Amazon ElastiCache
User Guide (API Version 2015-02-02)

Modifying a Parameter Group

Important

You cannot modify any default parameter group.

You can modify some parameter values in a parameter group. These parameter values are applied to clusters associated with the parameter group. For more information on when a parameter value change is applied to a parameter group, see Memcached Specific Parameters and Redis Specific Parameters.

Modifying a Parameter Group (Console)

The following procedure shows how to change the binding_protocol parameter's value using the ElastiCache console. You would use the same procedure to change the value of any parameter.

To change a parameter's value using the ElastiCache console

  1. Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/.

  2. In the left hand navigation pane, choose Parameter Groups.

    The Parameter Groups screen will appear with a list of all available parameter groups.

  3. Choose the parameter group you want to modify by choosing the box to the left of the parameter group's name.

    The parameter group's parameters will be listed at the bottom of the screen. You may need to page through the list to see all the parameters.

  4. To modify one or more parameters, choose Edit Parameters.

    The Edit Parameter Group: screen appears.

  5. In the Edit Parameter Group: screen, scroll using the left and right arrows until you find the binding_protocol parameter, then type ascii in the Value column.

  6. Choose Save Changes.

  7. Find the name of the parameter you changed in one of these topics:

    If changes to the parameter take place After restart, reboot every cluster that uses this parameter group. For more information, see Rebooting a Cluster.

Modifying a Parameter Group (AWS CLI)

To change a parameter's value using the AWS CLI, use the command modify-cache-parameter-group.

The following sample code sets the value of binding_protocol to ascii in the MyMemPG parameter group. You would use the same code, changing only the name of the parameter group, the name of the parameter, and the new value for the parameter.

For Linux, macOS, or Unix:

Copy
aws elasticache modify-cache-parameter-group \ --cache-parameter-group-name MyMemPG \ --parameter-name-values ParameterName=binding_protocol,ParameterValue=ascii

For Windows:

Copy
aws elasticache modify-cache-parameter-group ^ --cache-parameter-group-name MyMemPG ^ --parameter-name-values ParameterName=binding_protocol,ParameterValue=ascii

For more information, see modify-cache-parameter-group.

Find the name of the parameter you changed in one of these topics:

If changes to the parameter take place After restart, reboot every cluster that uses this parameter group. For more information, see Rebooting a Cluster.

Modifying a Parameter Group (ElastiCache API)

To change a parameter group's parameter values using the ElastiCache API, use the ModifyCacheParameterGroup action.

The following sample code sets the value of binding_protocol to ascii in the myMemPG parameter group. You would use the same code, changing only the name of the parameter group, the name of the parameter, and the new value for the parameter.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=ModifyCacheParameterGroup &CacheParameterGroupName=MyMemPG &ParameterNameValues.member.1.ParameterName=binding_protocol &ParameterNameValues.member.1.ParameterValue=ascii &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

For more information, see ModifyCacheParameterGroup.

After updating and saving the parameter, if the change takes place only after a reboot, reboot each cluster that uses the changed parameter group. For more information, see Rebooting a Cluster.

Find the name of the parameter you changed in one of these topics:

If changes to the parameter take place After restart, reboot every cluster that uses this parameter group. For more information, see Rebooting a Cluster.