Reputation: 91
Due to AWS elasticache autoscaling documentation target metric value must be
greater than or equal to 35 and less than or equal to 70
But value 70 is normal for my cluster.
How can I made elasticache cluster autoscaling with target metric value 90?
Upvotes: 0
Views: 226
Reputation: 91
After hours of investigation:
I created a CloudWatch alarm on target value 98. Also, I made an EventBridge event to trigger lambda function on alarm. In the lambda function, I used Python and AWS CLI command
aws elasticache modify-replication-group-shard-configuration \
--replication-group-id <name> \
--node-group-count 3 \
--apply-immediately
So I created my own autoscaling :)
Upvotes: 1