Files
portainer-docs/faqs/troubleshooting/agents-and-environment-management/how-can-i-move-existing-edge-agent-deployments-to-a-new-portainer-server-instance.md
2026-02-15 21:18:24 +00:00

1.6 KiB

metaLinks
metaLinks
alternates
https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/faqs/troubleshooting/agents-and-environment-management/how-can-i-move-existing-edge-agent-deployments-to-a-new-portainer-server-instance

How can I move existing Edge Agent deployments to a new Portainer Server instance?

In order to change the Portainer server URL for an Edge Agent, a redeployment of the Edge Agent is necessary. A redeployment involves removing the existing Edge Agent from Portainer, stopping and removing the portainer_edge_agent container on the edge device, recreating the Edge Agent in Portainer, and redeploying it on the edge device.

When deploying an Edge Agent, the Portainer server URL is encrypted into the Edge key. This tells the Edge Agent where to look for the Portainer server.

The most typical scenarios that require a change to the Portainer server URL are: