# Cluster per environment?

**URL:** <https://discuss.elastic.co/t/cluster-per-environment/29818>\
**Category:** Elasticsearch\
**Created:** [September 23, 2015, 12:31am UTC](https://discuss.elastic.co/t/cluster-per-environment/29818 "2015-09-23T00:31:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![treehouse](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@treehouse](https://discuss.elastic.co/u/treehouse)\
**Post date:** [September 23, 2015, 12:31am UTC](https://discuss.elastic.co/t/cluster-per-environment/29818/1 "2015-09-23T00:31:39Z")

</div>

Hi

Are people typically running different ES clusters per devlopment environment?

We have:  
Development  
Beta  
Staging  
Preprod  
Production  
development environments for application development. And we are going to be using Elasticsearch (ELK) as a critical part of our Analytics stack. Just curious if people have been spinning up new stacks per environment or playing with naming prefixes for ES indexes, or something else?  
Thanks!  
J

---

<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:** [September 23, 2015, 12:40am UTC](https://discuss.elastic.co/t/cluster-per-environment/29818/2 "2015-09-23T00:40:45Z")

</div>

Depends on your requirements.  
You could have a single cluster and just put each non-prod env in it's own set of indices.

---

<div class="post-metadata">

**Author:** ![treehouse](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@treehouse](https://discuss.elastic.co/u/treehouse)\
**Post date:** [September 23, 2015, 1:47am UTC](https://discuss.elastic.co/t/cluster-per-environment/29818/3 "2015-09-23T01:47:36Z")

</div>

Yeh i'm not fond of the idea of setting up environment specific stacks.. too much hassle.  
so you could prefix non-production indexes with the environment, and leave all production indexes as normal (no prefix). Anything else you have seen? and smart hack here ?

---

<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:** [September 23, 2015, 4:45am UTC](https://discuss.elastic.co/t/cluster-per-environment/29818/4 "2015-09-23T04:45:02Z")

</div>

I wouldn't mix prod with non-prod, but yeah that's the general idea.

---

<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, 11:48pm UTC](https://discuss.elastic.co/t/cluster-per-environment/29818/5 "2017-07-05T23:48:37Z")

</div>


