Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

connecting to AWS Elasticsearch to reboot?

I am getting my hands in AWS hosted Elastic search. Is it possible for me to connect to the ES via the instance its linked? and is it possible to reboot my elastic search cluster?

The AWS Cli don't have anything related to reboot and all i can try is http curl to my ES.

like image 290
Harun Guna Avatar asked Nov 14 '18 18:11

Harun Guna


People also ask

Can we restart AWS Elasticsearch cluster?

You are able to reboot a cluster using the ElastiCache console, the AWS CLI, or the ElastiCache API. Whether you use the ElastiCache console, the AWS CLI or the ElastiCache API, you can only initiate rebooting a single cluster. To reboot multiple clusters you must iterate on the process or operation.

How do I restart Elasticsearch master node?

The correct way to restart a node is to shut it down, using either the shutdown API or sending a TERM signal to the process (eg with kill $PID ). Once shut down, you can start a new node using whatever you use to run elasticsearch, eg the service wrapper, or just starting it from the command line.


2 Answers

To reboot an AWS Elasticsearch cluster, the only way is to log a support ticket and they will schedule a reboot for you. You can't do it yourselves.

like image 181
ben5556 Avatar answered Sep 26 '22 06:09

ben5556


I had a "1 node ES" in a testing environment that was not connectable. I was able to get the "1 node cluster" to "reboot" by increasing the number of nodes from 1 to 2. Then reducing the number of nodes from 2 to 1, and hoping it removed the one I wanted.

like image 31
Andrew Wei Avatar answered Sep 23 '22 06:09

Andrew Wei