title: Is it possible to delete all keys on an AWS ElastiCache redis cluster?
body: <p>I'm trying to delete all keys/values in an AWS ElastiCache cluster, but when I'm executing <code>flushall</code> or <code>flushdb</code> from redis-cli, it only removes the values in the node I'm currently connected to.</p>
  
  <p>I am looking for one command which can delete all keys from all nodes in a cluster. I can run <code>cluster nodes</code>, get the list of master nodes, connect to each master node separately, <em>then</em> run <code>flushdb</code>, but that seems like a lot of overhead to call what's effectively a <code>TRUNCATE</code> command. Is there a simpler way to do it?</p>