I've decided to try out the Elasticsearch 5.x version, since I use the 2.x versions of this awesome product.
I started to install and setup on AWS EC2 Amazon linux instance, but I encountered a couple of changes in the elasticsearch.yml config file. Some of them seems undocumented or not easy to find how to implement the 2.x configs in order to work whit 5.x.
I installed the ec2-discovery plugin for elasticsearch.
Can someone help me which parts of my yml setup needs to be changed or may removed since deprecated.
Thanks for your reply
I have many problems, but first of all Elasticsearch not able to start whit this setting.
Why do you asking for problems?
I assume you know very well the setup process on AWS EC2 Amazon linux and for you at a glance seems everything perfectly normal, and it should run without any problem. In this case there are a few mysteries I have to solve including that why I can't start Elasticsearch with this settings after a perfectly clean install. (Without these setting Elasticsearch runs perfectly.)
Unfortunately I'm not an expert, so any help would be awesome
Have a nice day
As you can see here David Pilato points out the documentation is not up to date.
Sorry for make you upset, it wasn't my intention. I hope we can still be friends
This post going to help many people in the near future cos as you said there are not many ec2-discovery expert here, and if someone going to look for a solution with a similar problem whit any keywords which are in the title, they need to see a solution or any ideas regarding this problem.
Cloud.aws.access_key should be cloud.aws.access_key.
Remove discovery.zen.ping.multicast.enabled: false which is not needed anymore
node.zone should become node.attr.zone
About deprecated settings, you can keep them for now as they are or try to migrate them to secured settings.
But other things are going to change in the future so I'd probably wait for the latest elasticsearch 5.x version when 6.0 final will be released so you will be able to prepare the migration.
And I hope that everything will be documented at this point.
As I wrote in:
You will need to register the following secured settings:
And cloud.aws.region should not be used anymore but discovery.ec2.endpoint needs to be set in elasticsearch.yml file.
I hope this helps. If you still have warning messages or errors, please share your logs so we can provide more help.