# Isolate an elasticsearch node

**URL:** <https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312>\
**Category:** Elasticsearch\
**Created:** [September 29, 2017, 8:31pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312 "2017-09-29T20:31:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![munotshubham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/munotshubham/32/22663_2.png) [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Post date:** [September 29, 2017, 8:31pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/1 "2017-09-29T20:31:13Z")

</div>

Hi,

So I have created one index and I want to deploy that index into production.  
I have other indices on that cluster.

**How should I isolate that index?  
How can I create multiple instances of the same node for production and testing?  
Finally, can I add security of any kind to prevent people from accessing production instance?**

---

<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 29, 2017, 8:34pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/2 "2017-09-29T20:34:26Z")

</div>

X-Pack has index level (and more) security that can do this.

We always recommend seperate production and non-production clusters.

---

<div class="post-metadata">

**Author:** ![munotshubham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/munotshubham/32/22663_2.png) [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Post date:** [September 29, 2017, 8:44pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/3 "2017-09-29T20:44:17Z")

</div>

So how do I create a new cluster on the same server?

---

<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 29, 2017, 8:45pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/4 "2017-09-29T20:45:32Z")

</div>

Set a different cluster name when you define another service.  
Or use Docker or similar.

---

<div class="post-metadata">

**Author:** ![munotshubham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/munotshubham/32/22663_2.png) [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Post date:** [September 29, 2017, 8:50pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/5 "2017-09-29T20:50:50Z")

</div>

So how do I switch between clusters then?

---

<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 29, 2017, 9:09pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/6 "2017-09-29T21:09:45Z")

</div>

What do you mean?

---

<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:** [October 27, 2017, 9:10pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312/7 "2017-10-27T21:10:04Z")

</div>

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