# Automation for version upgrade of elastic search

**URL:** <https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281>\
**Category:** Elasticsearch\
**Created:** [April 1, 2022, 4:46am UTC](https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281 "2022-04-01T04:46:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman123](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aman123](https://discuss.elastic.co/u/aman123)\
**Post date:** [April 1, 2022, 4:46am UTC](https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281/1 "2022-04-01T04:46:41Z")

</div>

Hi All,

I'm planning to set the automatic jenkins pipeline for the automatic upgrade of the Elasticsearch.  
Is there any better way to setup the automation for the same.

---

<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:** [April 4, 2022, 12:43am UTC](https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281/2 "2022-04-04T00:43:54Z")

</div>

"Better" is entirely subjective. So I guess it depends on what sort of deployment services you have available.

---

<div class="post-metadata">

**Author:** ![aman123](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aman123](https://discuss.elastic.co/u/aman123)\
**Post date:** [April 6, 2022, 6:08am UTC](https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281/3 "2022-04-06T06:08:00Z")

</div>

We have jenkins in place , building latest image with the latest Elasticsearch version and and jenkins through jenkins pipeline via tf execution taking one node down and launching new node with latest ES version and so on for other nodes as well. But I didnt tested this because we do not have any test env for this.

---

<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:** [May 4, 2022, 6:08am UTC](https://discuss.elastic.co/t/automation-for-version-upgrade-of-elastic-search/301281/4 "2022-05-04T06:08:37Z")

</div>

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