> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/start/upgrade/tobe.md).

# Switching to Portainer Business Edition

It’s easy and quick to upgrade from Portainer CE (both 1.x and 2.x branches) to Portainer Business Edition without losing your data. The following instructions apply whether you’re using a 5 node free license or you’ve purchased a license for Portainer Business Edition.

From version 2.17, you can upgrade your Portainer CE installation to Portainer BE from within Portainer itself.

{% content-ref url="/pages/Zul2S28HrwiPF908dXG7" %}
[Upgrade to Business Edition from within Portainer Community Edition](/start/upgrade/tobe/inapp.md)
{% endcontent-ref %}

If you would like to upgrade manually, you can find instructions for your environment at the following links:

{% content-ref url="/pages/-MgcpqhMHser75w3yeLp" %}
[Docker Standalone](/start/upgrade/tobe/docker.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MgcpyCysZB-wfPPen19" %}
[Docker Swarm](/start/upgrade/tobe/swarm.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mgcq3YMyRW5k1qNAUpt" %}
[Kubernetes](/start/upgrade/tobe/kubernetes.md)
{% endcontent-ref %}

For Agent-only deployments, you do not need to upgrade the Agent to Business Edition.

{% content-ref url="/pages/bw9offS4R1V52lu9C5hz" %}
[Upgrading Agent-only deployments](/start/upgrade/tobe/agent.md)
{% endcontent-ref %}
