# Migrate Fleet Agents From Onprem Cluster to Another

**URL:** <https://discuss.elastic.co/t/migrate-fleet-agents-from-onprem-cluster-to-another/369907>\
**Category:** Elastic Agent\
**Created:** [November 1, 2024, 12:31pm UTC](https://discuss.elastic.co/t/migrate-fleet-agents-from-onprem-cluster-to-another/369907 "2024-11-01T12:31:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rz1027](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@rz1027](https://discuss.elastic.co/u/rz1027)\
**Post date:** [November 1, 2024, 12:31pm UTC](https://discuss.elastic.co/t/migrate-fleet-agents-from-onprem-cluster-to-another/369907/1 "2024-11-01T12:31:58Z")

</div>

Hello,

I have a cluster with a setup Elasticfleet with several agents, and I am planning to migrate the cluster to another one. I also have the basic license.

Is there a method to migrate the agents to the other cluster without needing to reinstall or re-enroll all the agents again to the new fleet.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 1, 2024, 1:15pm UTC](https://discuss.elastic.co/t/migrate-fleet-agents-from-onprem-cluster-to-another/369907/2 "2024-11-01T13:15:45Z")

</div>

Hello and welcome,

> [@rz1027](#):
>
> Is there a method to migrate the agents to the other cluster without needing to reinstall or re-enroll all the agents again to the new fleet.

Unfortunately no, you will need to re-enroll all your agents in the new fleet server.

I have the same issue as I'm planning to move cluster and opened a feature request for a way of migrate agents between clusters to be implemented.

But currently the only way is to re-enroll all your agents.

The feature request is this one: [[Fleet] Enhancement: Allow the agents to be migrated to a different cluster without having to run the re-enroll command on them. · Issue #194247 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/194247)
