I have a number of Elasticache nodes running and would like to clear them. I know it's possible to do this programmatically but I'd like to use the AWS console instead.
How can I flush an Elasticache node using only the AWS console?
What is the command to delete all keys from my redis cluster? FLUSHDB command – Delete all the keys of the currently selected DB. FLUSHALL command – Remove all the keys of all the existing databases, not just the currently selected one.
Using the ElastiCache console, you can only delete one node at a time, so choosing multiple nodes means that you can't use the Delete node button. The Delete Node page appears. To delete the node, complete the Delete Node page and choose Delete Node. To keep the node, choose Cancel.
Connect to your redis-cli with
redis-cli -h host -p port_number
After you connect, FLUSHALL
The only way as i see it will be to reboot the node
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With