# Awareness by index

**URL:** <https://discuss.elastic.co/t/awareness-by-index/99270>\
**Category:** Elasticsearch\
**Created:** [September 4, 2017, 9:50am UTC](https://discuss.elastic.co/t/awareness-by-index/99270 "2017-09-04T09:50:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![senuphtyz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senuphtyz/32/21791_2.png) [@senuphtyz](https://discuss.elastic.co/u/senuphtyz)\
**Post date:** [September 4, 2017, 9:50am UTC](https://discuss.elastic.co/t/awareness-by-index/99270/1 "2017-09-04T09:50:54Z")

</div>

Hi,

i currently have 5 node setup 4 data nodes and 1 master only.  
The current configuration is awareness by zone.

```
   Zone1 Zone2
+---------+ +---------+
| | | |
| Node1 | | Node3 |
| | | |
| Node2 | | Node4 |
| | | |
+---------+ +---------+

```

Until here everything is fine.. but now i want to configure an index that is only allocated in zone1  
E.g. Create a 2 shard index that replicas are on the other host in the same zone.

Is it possible to configure zone awareness over zones and create an index like that at the same time?

---

<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 2, 2017, 9:51am UTC](https://discuss.elastic.co/t/awareness-by-index/99270/2 "2017-10-02T09:51:03Z")

</div>

Closed on October 2, 2017, 9:51am UTC

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