Compatibility Issues with Elasticsearch 2.3.5 and Cloud AWS plugin

Trying to install ELK stack on AWS EC2 instance. Latest Elasticsearch (2.3.5) and Cloud-AWS plugin seem to have some problems. I got errors while running sudo bin/plugin install cloud-aws and service elasticsearch start. The error for the second command is below

Exception in thread "main" java.lang.IllegalArg umentException: No automatic endpoint could be derived from region [ap-south-1]
at org.elasticsearch.discovery.ec2.AwsEc2UnicastHostsProvider.(Aws
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
at java.lang.reflect.Constructor.newInstance(
at <<>>
at org.elasticsearch.node.Node.(
at org.elasticsearch.node.Node.(
at org.elasticsearch.bootstrap.Bootstrap.setup(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.main(

Also chrome browser does not display :9200

Any help is much appreciated.

Johan A

Hi @JohanAgonda,

The Cloud-AWS plugin could not derive the endpoint automatically, so you need to specify it explicitly in elasticsearch.yml (see also docs):

Elasticsearch 5 will provide support for automatically deriving the endpoint for this region.


1 Like

Yeah. That's bad I didn't backport it in 2.4 branch BTW.