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

Modifying a Cluster with Replicas

Important Constraints

You can modify a Redis (cluster mode disabled) cluster's settings using the ElastiCache console, the AWS CLI, or the ElastiCache API. Currently, ElastiCache does not support modifying a Redis (cluster mode enabled) replication group except by creating a backup of the current replication group then using that backup to seed a new Redis (cluster mode enabled) replication group.

Modifying a Redis Cluster (Console)

To modify a Redis (cluster mode disabled) cluster, see Modifying an ElastiCache Cluster.

Modifying a Replication Group (AWS CLI)

The following AWS CLI command enables Multi-AZ on an existing Redis replication group. You can use the same command to make other modifications to a replication group.

For Linux, macOS, or Unix:

Copy
aws elasticache modify-replication-group \ --replication-group-id myReplGroup \ --automatic-failover-enabled

For Windows:

Copy
aws elasticache modify-replication-group ^ --replication-group-id myReplGroup ^ --automatic-failover-enabled

For more information on the AWS CLI modify-replication-group command, see modify-replication-group.

Modifying a Replication Group (ElastiCache API)

The following ElastiCache API operation enables Multi-AZ on an existing Redis replication group. You can use the same operation to make other modifications to a replication group.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=ModifyReplicationGroup &AutomaticFailoverEnabled=true &ReplicationGroupId=myReplGroup &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20141201T220302Z &Version=2014-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Date=20141201T220302Z &X-Amz-SignedHeaders=Host &X-Amz-Expires=20141201T220302Z &X-Amz-Credential=<credential> &X-Amz-Signature=<signature>

For more information on the ElastiCache API ModifyReplicationGroup operation, see ModifyReplicationGroup.