Problem connecting AWS nodes with 5.4.0

I am in the process of migrating ES version 2 infrastructure code (chef) to ES 5.4.0 and discovered many breaking changes. I learned I cannot put the cloud.aws.xxx into config/elasticsearch.yml, and I am loading into keystore. However, when I try to bring up a cluster, I see this in the log:
[2017-05-19T18:56:18,117][INFO ][o.e.d.e.AwsEc2UnicastHostsProvider] [es-browse-jaff-test-1100] Exception while retrieving instance list from AWS API: Unable to load AWS credentials from any provider in the chain

I found a reference to a two-part article on this, but it is 3 years old!

What shall I do to fix this?

Hello Jaff,

In version 5.4 you need to install plugins to use AWS. See this link for more details.

Yes. The plugin name changed.
I think that you can still use AWS credentials in elasticsearch.yml but you will probably get a deprecation notice in logs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.