Nätu
Nätu

Reputation: 332

How to flush ElastiCache Memcached cluster?

I have 2 AWS ElasticCache - Memcached nodes. How can I flush all the data in those nodes? Is there a aws-cli command I can use? Is there any other way we can do it through AWS Console?

Upvotes: 1

Views: 3978

Answers (2)

Abhishek Kumar
Abhishek Kumar

Reputation: 183

We use php client for memcache and trigger flush_all whenever needed

Upvotes: -1

Nätu
Nätu

Reputation: 332

One thing which worked for me atlast:

telnet xxxx.yyyy.0001.use1.cache.amazonaws.com 11211

flush_all

I'm still open to find other ways to do this.

Upvotes: 3

Related Questions