I have set up a new AWS EC2 environment with Elasticache Redis.
I'd like to test failure scenarios.
Does anybody know how to Kill:
A cluster
A node
?
I have set up a new AWS EC2 environment with Elasticache Redis.
I'd like to test failure scenarios.
Does anybody know how to Kill:
A cluster
A node
?
AWS provides support for testing automatic fail-overs on Elasticache nodes. This can be done in one of the three ways.
AWS Console - Go to elasticache page and select the shard name and the node on which you want to execute failover as Failover Primary and choose Continue.
AWS CLI
aws elasticache test-failover --replication-group-id redis00 --node-group-id redis00-0003
ElastiCache API
Replace with the appropriate cluster name, region etc.
Reference:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html#auto-failover-test-cli