# Guide for Upgrading from 5.5.2 to 7.8.1

**URL:** <https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220>\
**Category:** Elasticsearch\
**Created:** [August 25, 2020, 6:02am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220 "2020-08-25T06:02:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:02am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/1 "2020-08-25T06:02:49Z")

</div>

Hi Team,

I would like to upgrade my Elastic Stack from V5.5.2 to 7.8.1  
I am using the AWS amazon server and have huge data in indexes.  
Also, I want to move all the dashboards created in 5.5.2

Please help!!!

Thanks in Advance.

---

<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:** [August 25, 2020, 6:03am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/2 "2020-08-25T06:03:28Z")

</div>

Welcome to our community! 😃

Are you using the AWS ES service, or EC2?

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:03am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/3 "2020-08-25T06:03:46Z")

</div>

Thanks.

We have AWS service.

---

<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:** [August 25, 2020, 6:05am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/4 "2020-08-25T06:05:31Z")

</div>

The general upgrade docs are here - [https://www.elastic.co/guide/en/elasticsearch/reference/7.9/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/setup-upgrade.html). You will need to find an approach that works with your requirements and the service you are using.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:08am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/5 "2020-08-25T06:08:12Z")

</div>

Thank you for quick response.

Can i upgrade v5.5.2 to 7.8.1 directly? or I need to move to 6.8 first and then 7.9?

Also I can't see Upgrade Assistance in the V.5.5.2

---

<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:** [August 25, 2020, 6:09am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/6 "2020-08-25T06:09:15Z")

</div>

Per the docs;

1. [Rolling upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/rolling-upgrades.html) to 5.6
2. [Rolling upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html) to 6.8
3. [Rolling upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/rolling-upgrades.html) to 7.9.0

> [@AmitC](#):
>
> Also I can't see Upgrade Assistance in the V.5.5.2

You won't be able to access that on the AWS service at all.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:11am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/7 "2020-08-25T06:11:55Z")

</div>

Thanks I will go through this documents

On local machine I have Kibana 5.5.2 with 30 days trial version even though I can't see Upgrade assistance.

---

<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:** [August 25, 2020, 6:13am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/8 "2020-08-25T06:13:13Z")

</div>

It was released in 5.6.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:17am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/9 "2020-08-25T06:17:12Z")

</div>

OK thanks.

Rolling upgrade gives steps about the Elastic search upgrade. What about Kibana and Logstash?

---

<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:** [August 25, 2020, 6:24am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/10 "2020-08-25T06:24:02Z")

</div>

You should take a look at their respective documentation.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 6:29am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/11 "2020-08-25T06:29:00Z")

</div>

Sure will check respective documents.

In document it is suggest to do below steps for upgrades

1. Upgrade 5.5.2 to 5.6
2. 5.6 to 6.8
3. 6.8 to 7.9

So three migration for version upgrade should be done.

Which option you suggest to be choose?

1. Direct upgrade from 5.5.2 to 7.9.1
2. The above version wise data migration

Also, How much time it will take to data migrate for option you suggest?

Thanks, Amit.

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [August 25, 2020, 7:02am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/12 "2020-08-25T07:02:37Z")

</div>

> [@AmitC](#):
>
> Direct upgrade from 5.5.2 to 7.9.1

As @warkolm said **you can't** directly upgrade to 7.9. You will have to perform the 3 rolling upgrades.

> [@AmitC](#):
>
> How much time it will take

This depends heavily on the amount of data. How big are your indices and how many do you have? I would say that you will need at least a day (If you have terabytes of data) because you will have to reindex all your data in 6.X so that its compatible with 7.X.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 7:08am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/13 "2020-08-25T07:08:06Z")

</div>

OK thanks for the information.

Does rolling upgrade applies to all for Elastic stack( Kibana and Logstash) or they can directly upgrade to the higher versions?

Thanks, Amit.

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [August 25, 2020, 7:13am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/14 "2020-08-25T07:13:02Z")

</div>

As far as I know (maybe @warkolm can verify this) the Kibana data is stored as indices.  
See the [documents](https://www.elastic.co/guide/en/kibana/current/upgrade.html):

> Elasticsearch can read indices created in the previous major version. Before you upgrade to 7.0.0, you must reindex or delete any indices created in 5.x or earlier. For more information, refer to [Upgrading the Elastic Stack](https://www.elastic.co/guide/en/elastic-stack/7.9/upgrading-elastic-stack.html#oss-stack-upgrade).  
> When your reindex is complete, follow the [Standard upgrade](https://www.elastic.co/guide/en/kibana/current/upgrade-standard.html) instructions.

So if you upgrade all Indices with the rolling upgrade and you start the new Kibana 7.X it should work. If you have the newest version of elastic running you can switch to the newest version of Logstash, there should be no problem with that.

Just follow this an you should be fine:

1. [Upgrade to Elastic 8.12.0 | Elastic Installation and Upgrade Guide [master] | Elastic](https://www.elastic.co/guide/en/elastic-stack/master/upgrading-elastic-stack.html)
2. [Upgrade Kibana | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/upgrade.html)

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 7:16am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/15 "2020-08-25T07:16:22Z")

</div>

Sure thanks for the quick responses.

Will go through this documents and try to migrate.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 7:59am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/16 "2020-08-25T07:59:25Z")

</div>

Hi,

I just read about "Upgrading on Elastic Cloud". It is just 1 click process.

What about If i would like to take elastic cloud and move the AWS server data to the cloud with higher version? WIll it be very easy and quick process? Will elastic team take care about the migrations?

Please help.  
Thanks, Amit.

---

<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:** [August 25, 2020, 8:28am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/17 "2020-08-25T08:28:58Z")

</div>

You will still need to get the data into the new cluster. Given you are running such an old version, it may not be a straight forward approach.

> [@AmitC](#):
>
> Will elastic team take care about the migrations?

We have consulting services that can do it for you.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 25, 2020, 8:43am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/18 "2020-08-25T08:43:02Z")

</div>

Given that you need to reindex all the data it may not be quick. You probably would need to start a 6.8 cluster and restore snapshot to this. Then you need to reindex all the data and update index templates. Once this is done you run the migration wizard to see if all is ok before you upgrade to 7.9.

---

<div class="post-metadata">

**Author:** ![AmitC](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@AmitC](https://discuss.elastic.co/u/AmitC)\
**Post date:** [August 25, 2020, 10:13am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/19 "2020-08-25T10:13:56Z")

</div>

ok. Will give a try on my side.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 25, 2020, 10:19am UTC](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220/20 "2020-08-25T10:19:58Z")

</div>

Forgot the step including 5.6 in my description.

[Next page](https://discuss.elastic.co/t/guide-for-upgrading-from-5-5-2-to-7-8-1/246220.md?page=2)
