# Problem connecting AWS nodes with 5.4.0

**URL:** <https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482>\
**Category:** Elasticsearch\
**Created:** [May 19, 2017, 7:07pm UTC](https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482 "2017-05-19T19:07:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaff](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaff/32/18382_2.png) [@Jaff](https://discuss.elastic.co/u/Jaff)\
**Post date:** [May 19, 2017, 7:07pm UTC](https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482/1 "2017-05-19T19:07:33Z")

</div>

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](http://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?

---

<div class="post-metadata">

**Author:** ![bobby259](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bobby259](https://discuss.elastic.co/u/bobby259)\
**Post date:** [May 19, 2017, 7:47pm UTC](https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482/2 "2017-05-19T19:47:18Z")

</div>

Hello Jaff,

In version 5.4 you need to install plugins to use AWS. See [this link](https://www.elastic.co/guide/en/elasticsearch/plugins/current/discovery-ec2.html) for more details.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 19, 2017, 8:13pm UTC](https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482/3 "2017-05-19T20:13:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 16, 2017, 8:14pm UTC](https://discuss.elastic.co/t/problem-connecting-aws-nodes-with-5-4-0/86482/4 "2017-06-16T20:14:28Z")

</div>

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