# Elasticsearch for production using AWS EC2

**URL:** <https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993>\
**Category:** Elasticsearch\
**Created:** [August 26, 2016, 12:43am UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993 "2016-08-26T00:43:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anoopmk007](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anoopmk007](https://discuss.elastic.co/u/anoopmk007)\
**Post date:** [August 26, 2016, 12:43am UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993/1 "2016-08-26T00:43:59Z")

</div>

Hello,

Can you please help me for understanding elastcisearch deployment for production. any quick help appreciated.

Currently i have configured one aws ec2 server with eleastciserch for my production.

There will be 400 client machine sending logs to this server and only one master cluster and one node configured.

Will this be a good solution approach ?

Since my ec2 server ip changes frequently what ip will mention in "elasticsearch.yml — network.host " ?

Thanks

---

<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:** [August 26, 2016, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993/2 "2016-08-26T05:02:55Z")

</div>

You may want to look at [https://www.elastic.co/guide/en/elasticsearch/plugins/current/cloud-aws.html](https://www.elastic.co/guide/en/elasticsearch/plugins/current/cloud-aws.html)

---

<div class="post-metadata">

**Author:** ![anoopmk007](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anoopmk007](https://discuss.elastic.co/u/anoopmk007)\
**Post date:** [August 27, 2016, 8:33pm UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993/3 "2016-08-27T20:33:16Z")

</div>

currently having some issues with my implementation ....Configured Elastcisearch in aws EC2 - Could you please suggest?

if elasticsearch.yml -network.host=[xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)(server ip) then i am able to access the [http://xxx.xxx.xxx.xxx:9200](http://xxx.xxx.xxx.xxx:9200) from out side this server.

if elasticsearch.yml -network.host=_local_ or commented out then i am **NOT** able to access the [http://xxx.xxx.xxx.xxx:9200](http://xxx.xxx.xxx.xxx:9200) from out side this server.

Because of this limitation i am forced to put ip in my elastcisearch.yml, but if server IP changes then this solution will not work...

---

<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:** [August 27, 2016, 8:35pm UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993/4 "2016-08-27T20:35:52Z")

</div>

Did you look at that link at all?

---

<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:24pm UTC](https://discuss.elastic.co/t/elasticsearch-for-production-using-aws-ec2/58993/5 "2017-07-05T22:24:40Z")

</div>


