# One cluster with different provionces indexes or different clusters with different provionces region

**URL:** <https://discuss.elastic.co/t/one-cluster-with-different-provionces-indexes-or-different-clusters-with-different-provionces-region/139598>\
**Category:** Elasticsearch\
**Created:** [July 11, 2018, 2:50pm UTC](https://discuss.elastic.co/t/one-cluster-with-different-provionces-indexes-or-different-clusters-with-different-provionces-region/139598 "2018-07-11T14:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdb58704a2c5cc6a3286](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@fdb58704a2c5cc6a3286](https://discuss.elastic.co/u/fdb58704a2c5cc6a3286)\
**Post date:** [July 11, 2018, 2:50pm UTC](https://discuss.elastic.co/t/one-cluster-with-different-provionces-indexes-or-different-clusters-with-different-provionces-region/139598/1 "2018-07-11T14:50:18Z")

</div>

i use es store different region data,such beijing,shanghai,chongqing and other provinces.  
should i use provionces name as index name ,and unique cluster.name: all\_data  
for example  
cluster all\_data with 9 nodes  
elasticsearch.yml  
cluster.name: all\_data

PUT beijing/\_doc/1  
PUT chongqing/\_doc/1  
PUT heilongjiang/\_doc/1

or use different clusters with each province  
cluster beijing with 3 nodes  
elasticsearch.yml  
cluster.name: beijing  
cluster chongqing with 3 nodes  
cluster.name: chongqing  
cluster heilongjiang with 3 nodes  
cluster.name: heilongjiang

PUT /beijing:data/\_doc/1  
PUT /chongqing:data/\_doc/1  
PUT /heilongjiang:data/\_doc/1

i think the first way is more easy,but cannot Fine-grained add more nodes to special provionces,but the second is more complex,more clusters.  
which way should i go?any other suggestions?

---

<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:** [August 8, 2018, 2:50pm UTC](https://discuss.elastic.co/t/one-cluster-with-different-provionces-indexes-or-different-clusters-with-different-provionces-region/139598/2 "2018-08-08T14:50:19Z")

</div>

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