Is it possible to stop nodes in AWS ElastiCache cluster

扶醉桌前 提交于 2019-12-05 08:21:00

At this time there is not a way to STOP and EMR cluster in the same sense you can with EC2 instances. The EMR cluster uses instance-store volumes and the EC2 start/stop feature relies on the use of EBS volumes which are not appropriate for high-performance, low-latency HDFS utilization.

The best way to simulate this behavior is to store the data in S3 and then just ingest as a start up step of the cluster then save back to S3 when done.

Documentation Reference:

https://forums.aws.amazon.com/thread.jspa?threadID=149772

Hope it helps.

EDIT1:

If you want to maintain the same dns, you can use the API/CLI to update the elastic cluster.

Reference:

http://docs.aws.amazon.com/cli/latest/reference/es/update-elasticsearch-domain-config.html

Hope it helps.

ElastiCache clusters cannot be stopped. They can only be deleted and recreated. You can use this pattern to avoid paying for time when you're not using the cluster.

If you are using a Redis ElastiCache cluster, you can create a snapshot as the cluster is being deleted. Then, you can restore the cluster from the snapshot when you create it. This way, you preserve the data in the cluster.

The cluster endpoints are derived from a combination of

  • the cluster IDs,
  • the region,
  • the AWS account.

So as long as you delete and re-create clusters with those parts being constant, then the clusters will maintain the same endpoint.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!