Harun Guna
Harun Guna

Reputation: 129

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.

Upvotes: 9

Views: 12628

Answers (4)

Dherik
Dherik

Reputation: 19110

You can also increase the size of the EBS a little bit, just to force a new ES cluster be created with the new size. The data will be migrated to the node data without downtime. This will behavior as a "reboot".

Upvotes: 5

Andrew Wei
Andrew Wei

Reputation: 2080

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.

Upvotes: 5

alex_bondar
alex_bondar

Reputation: 442

It depends on what are you trying to achieve with reboot. One of the reasons we had to reboot cluster is as a temporary fix to continuous growth of GC cold collection (time as well as frequency).
In order to achieve it, you can scale cluster up for short period of time and then back down (i.e. change instance type) which will bring another fleet of instances under the hood.
This change should be seemless, so there shouldn't be any downtime (more details here - https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html).
In terms of effort it's very low - terraform apply or manual change via console take just few minutes of time. This option comes very handy when the problem is time-sensitive and AWS support ticket make take days.

Upvotes: 2

ben5556
ben5556

Reputation: 3018

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.

Upvotes: 6

Related Questions