# How to configure elasticsearch-2.x to make cluster in AWS machine and how is it different from older versions of ES

**URL:** <https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124>\
**Category:** Elasticsearch\
**Created:** [April 22, 2016, 6:54am UTC](https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124 "2016-04-22T06:54:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sonwani](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Sonwani](https://discuss.elastic.co/u/Sonwani)\
**Post date:** [April 22, 2016, 6:54am UTC](https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124/1 "2016-04-22T06:54:21Z")

</div>

Hi,  
Can any one please tell me how to configure elasticsearch.yml file in order to make elasticsearch-2.x clusters in AWS machine.

---

<div class="post-metadata">

**Author:** ![christianherro](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christianherro](https://discuss.elastic.co/u/christianherro)\
**Post date:** [April 22, 2016, 4:23pm UTC](https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124/2 "2016-04-22T16:23:53Z")

</div>

You'll probably want to configure Elasticsearch to use the private IP:

`network.host: _ec2:privateIpv4_`

The cloud-aws plugin is helpful, as it can do discovery with native EC2 tools. If you're familiar with OpsWorks, you could start with this article: [https://blogs.aws.amazon.com/application-management/post/Tx3MEVKS0A4G7R5/Deploying-Elasticsearch-with-OpsWorks](https://blogs.aws.amazon.com/application-management/post/Tx3MEVKS0A4G7R5/Deploying-Elasticsearch-with-OpsWorks)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 23, 2016, 11:55pm UTC](https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124/3 "2016-04-23T23:55:22Z")

</div>

See also [https://www.elastic.co/guide/en/elasticsearch/plugins/2.3/cloud-aws.html](https://www.elastic.co/guide/en/elasticsearch/plugins/2.3/cloud-aws.html)

---

<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:** [July 5, 2017, 10:56pm UTC](https://discuss.elastic.co/t/how-to-configure-elasticsearch-2-x-to-make-cluster-in-aws-machine-and-how-is-it-different-from-older-versions-of-es/48124/4 "2017-07-05T22:56:46Z")

</div>


