# Initializing ELK stack in production environment (AWS EC2)

**URL:** <https://discuss.elastic.co/t/initializing-elk-stack-in-production-environment-aws-ec2/325160>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 9, 2023, 3:11pm UTC](https://discuss.elastic.co/t/initializing-elk-stack-in-production-environment-aws-ec2/325160 "2023-02-09T15:11:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![st3fus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/st3fus/32/117051_2.png) [@st3fus](https://discuss.elastic.co/u/st3fus)\
**Post date:** [February 9, 2023, 3:11pm UTC](https://discuss.elastic.co/t/initializing-elk-stack-in-production-environment-aws-ec2/325160/1 "2023-02-09T15:11:23Z")

</div>

Hey there, just have a general question about initializing ELK stack, I'm launching it with docker, following deviantony/docker-elk guide and his repository. I'm just wondering should i change '0.0.0.0' values for hosts and ie 'elasticsearch:9200' to my public IPv4 of the EC2 instance?

---

<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:** [March 9, 2023, 3:11pm UTC](https://discuss.elastic.co/t/initializing-elk-stack-in-production-environment-aws-ec2/325160/2 "2023-03-09T15:11:36Z")

</div>

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