How can we do elasticsearch and stack migration to new hardware, retaining all old data?

We actually have single node cluster for now. Server is about to expire, so we have to shift this existing stack to new server. But now we dont want to rely on single node cluster, we have 3 new nodes, which will be our new cluster.

  • This new cluster needs to have all settings, configs, indices, documents, data , etc. from the old cluster

What would be the best strategy to do this with zero downtime as we have logs incoming all time to the old cluster (single node setup)?

(What we had come up with it is - join the new nodes to old cluster and remove the old node , is it viable?)

Yep that’s what I’d recommend.