2

I'm new to aws and elasticache. I created a cluster for test, but now I want to stop the node.

So.. can I stop an elasticache node from with awscli? If so, how?

Tony Han
  • 2,130
  • 3
  • 24
  • 37

2 Answers2

2

I'd guess you want 'delete-cache-cluster:

http://docs.aws.amazon.com/cli/latest/reference/elasticache/index.html

aws elasticache delete-cache-cluster --cache-cluster-id <value>
Daniel Scott
  • 7,418
  • 5
  • 39
  • 58
  • This deletes the cluster. is it possible to stop it temporarily? – zaitsman Oct 03 '17 at 00:00
  • @zaitsman It appears not. See [this question](https://stackoverflow.com/questions/46535278/is-it-possible-to-stop-nodes-in-aws-elasticache-cluster). – Tim Malone Jan 07 '18 at 05:39
0

Following command will give you all the nodes:

aws elasticache describe-cache-clusters --cache-cluster-id $cacheClusterId  --show-cache-node-info  --query 'CacheClusters[*].CacheNodes[*].[Endpoint.Address]'  --output text --region us-east-1
Triyugi Narayan Mani
  • 3,039
  • 8
  • 36
  • 56
asif
  • 69
  • 1
  • 3