# Use 2 version ES on one server

**URL:** <https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415>\
**Category:** Elasticsearch\
**Created:** [July 23, 2020, 10:26pm UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415 "2020-07-23T22:26:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YURA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yura/32/44696_2.png) [@YURA](https://discuss.elastic.co/u/YURA)\
**Post date:** [July 23, 2020, 10:26pm UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/1 "2020-07-23T22:26:14Z")

</div>

I have server CentOS 7, there is running ES version "number" : "6.4.0",  
can I install new version (version 7\*) and use both of them at the same time on one server?  
I wanna use 2 differet verion on server, is it possible?

---

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [July 24, 2020, 12:23am UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/2 "2020-07-24T00:23:30Z")

</div>

Technically, it is possible.  
Please read from the following

[https://www.google.com/search?q=install+2+instances+one+server+elasticsearch+site:stackoverflow.com&rlz=1C1EJFC\_enAU891AU891&sa=X&ved=2ahUKEwj3i-mGz-TqAhWqgnIEHYmpAugQrQIoBHoECAYQBQ&biw=2560&bih=1297](https://www.google.com/search?q=install+2+instances+one+server+elasticsearch+site:stackoverflow.com&rlz=1C1EJFC_enAU891AU891&sa=X&ved=2ahUKEwj3i-mGz-TqAhWqgnIEHYmpAugQrQIoBHoECAYQBQ&biw=2560&bih=1297)

I would not do that on a production server, though.

Good luck!

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 24, 2020, 8:11am UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/3 "2020-07-24T08:11:58Z")

</div>

Suggest you do it with Docker - way easier and simple to setup, keep things separate. Then can run as many versions as you want, either bind or volume mount for storage.

---

<div class="post-metadata">

**Author:** ![YURA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yura/32/44696_2.png) [@YURA](https://discuss.elastic.co/u/YURA)\
**Post date:** [July 25, 2020, 10:18pm UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/4 "2020-07-25T22:18:13Z")

</div>

> [@Steve\_Mushero](#):
>
> Suggest you do it with Docker - way easier and simple to setup, keep things separate. Then can run as many versions as you want, either bind or volume mount for storage

There is already running ES "6.4.0" version. From what I underastand, now I shoiuld install docker, then install there 6.4.0 and latest version ES. yes?

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 28, 2020, 6:50am UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/5 "2020-07-28T06:50:10Z")

</div>

Well, if you have one, you can leave it, and add latest version in Docker, or if you don't need the existing 6.4 data, then do both in Docker - use a named Volume for storage for each; easy way to test, add versions, etc. You can also run both matching Kibana versions, etc. We have a test VM with 4-5 versions all running at once this way.

---

<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 25, 2020, 6:50am UTC](https://discuss.elastic.co/t/use-2-version-es-on-one-server/242415/6 "2020-08-25T06:50:19Z")

</div>

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