Upgrading 1.x to 7.x

Hi Team,

My current organization using the Elastic Search 1.x and there was a plan to upgrade it to the latest stable version(7.x). Please suggest the better way to handle this without any downtime

Thanks in advance

I do not think you can do that without downtime but how much downtime will likely depend on the use case and how much data you have got.

Around 500GB data is there, how long it may take to migrate.

How long just the reindexing takes will depend on the data and the hardware available. You will need to test.

You will also need to change clients. What is the use case? How are you using Elasticsearch?

Using for Java based applications to log user transactions.

Then you will need to change the client library and probably switch to the high level rest client. You may also need to change how you store data as there has been a lot of breaking changes since Elasticsearch 1.x.

Thanks for the info @Christian_Dahlqvist
As of now, it is a managed cluster, there is no objection to migrate to cloud services like (Amazon Elasticsearch Service) and yes libraries also will get updates.

Did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI, SIEM, Maps UI, AppSearch and what is coming next :slight_smile: ...

Your best option would be to spin up a new cluster, then do a remote reindex to pull the data in.

You will need to adjust mappings for this, along with the other things Christian mentioned.

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