# Switching from Data Node to Master Node at Runtime

**URL:** https://discuss.elastic.co/t/switching-from-data-node-to-master-node-at-runtime/61409
**Category:** Elasticsearch
**Created:** [September 23, 2016, 6:19pm UTC](https://discuss.elastic.co/t/switching-from-data-node-to-master-node-at-runtime/61409 "2016-09-23T18:19:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jumana](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@Jumana](https://discuss.elastic.co/u/Jumana)
#### Post date: [September 23, 2016, 6:19pm UTC](https://discuss.elastic.co/t/switching-from-data-node-to-master-node-at-runtime/61409/1 "2016-09-23T18:19:46Z")

</div>

I would like to know if I can switch my data node to master node at runtime and what would be the consequences of doing the same .

The idea is once this initial small instance gets exhausted, I would scale to a more space efficient box and convert the existing data node to master node.

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [September 24, 2016, 2:04am UTC](https://discuss.elastic.co/t/switching-from-data-node-to-master-node-at-runtime/61409/2 "2016-09-24T02:04:34Z")

</div>

I don't believe that is a setting you can modify without a restart.

---

<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, 10:17pm UTC](https://discuss.elastic.co/t/switching-from-data-node-to-master-node-at-runtime/61409/3 "2017-07-05T22:17:33Z")

</div>


