Reputation: 1201
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?
Upvotes: 18
Views: 45547
Reputation: 6333
This is possible from AWS console.
Click run
then execute the below command to clear the cache
FLUSHALL
You will see OK from console
Double check with below command
keys *
Output will be empty
Upvotes: 0
Reputation: 1
The correct answer is - "NO, you can't." There is no way to flush from the AWS console. You have to connect with Redis tools, eg cli, to Redis and then flush.
Upvotes: 0
Reputation: 137
It's not possible to run from the AWS Console, but you can clear the cache running FLUSHALL connecting using telnet:
telnet HOST PORT
After you connect, run FLUSHALL.
telnet host123.0001.use1.cache.amazonaws.com 6379
Trying 172.0.1.1...
Connected to host123.0001.use1.cache.amazonaws.com.
The escape character is '^]'.
FLUSHALL
+OK
Upvotes: 1
Reputation: 1482
Connect to your redis-cli with
redis-cli -h host -p port_number
After you connect, FLUSHALL
Upvotes: 56