aws dax increase-replication-factor
Adds one or more nodes to a DAX cluster. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To increase the replication factor for a DAX cluster
The following increase-replication-factor example increases the specified DAX cluster's replication factor to 3.
aws dax increase-replication-factor --cluster-name daxcluster --new-replication-factor 3Identify--cluster-nameThe name of the DAX cluster that will receive additional nodes.--new-replication-factorThe new number of nodes for the DAX cluster.Its output, shortened
{
"Cluster": {
"ClusterName": "daxcluster",
"ClusterArn": "arn:aws:dax:us-west-2:123456789012:cache/daxcluster",
"TotalNodes": 3,
"ActiveNodes": 1,
"NodeType": "dax.r4.large",
"Status": "modifying",
"ClusterDiscoveryEndpoint": {
"Address": "daxcluster.ey3o9d.clustercfg.dax.usw2.cache.amazonaws.com",
"Port": 8111
},
"Nodes": [
{
"NodeId": "daxcluster-a",
"Endpoint": {
"Address": "daxcluster-a.ey3o9d.0001.dax.usw2.cache.amazonaws.com",
"Port": 8111
},
"NodeCreateTime": 1576625059.509,
"AvailabilityZone": "us-west-2c",
"NodeStatus": "available",
"ParameterGroupStatus": "in-sync"
},
{
"NodeId": "daxcluster-b",
"NodeStatus": "creating"
},
{
"NodeId": "daxcluster-c",
… 22 more linesFor more information, see Managing DAX Clusters in the Amazon DynamoDB Developer Guide.
Options
--availability-zonesThe Availability Zones (AZs) in which the cluster nodes will be created.--cluster-nameThe name of the DAX cluster that will receive additional nodes.--new-replication-factorThe new number of nodes for the DAX cluster.