---
title: Upgrade SDKs
description: Remotely upgrade SDKs that power APM, Profiler, and Dynamic Instrumentation.
breadcrumbs: Docs > Agent > Fleet Automation > Upgrade SDKs
---

# Upgrade SDKs

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

{% callout %}
##### Join the Preview!

Remotely upgrade the SDKs that power APM, Profiler, Dynamic Instrumentation, and more. Request access to join the preview.

[Request Access](https://www.datadoghq.com/product-preview/remote-upgrade-of-sdk-versions/)
{% /callout %}

Fleet Automation can centrally manage remote upgrades to the SDKs that power APM, Continuous Profiler, Dynamic Instrumentation, and more. Keeping your services' SDK versions up to date lets you benefit from the latest features, performance improvements, bug fixes, and security updates.

{% alert level="info" %}
Scheduling SDK upgrades is not supported.
{% /alert %}

## Prerequisites{% #prerequisites %}

- Services must be instrumented with [Single Step Instrumentation (SSI)](https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/single-step-apm.md).
- Services must be running on Linux or Windows VMs. Remotely upgrading SDKs in containerized or Kubernetes environments is not supported.

## Upgrade SDK versions{% #upgrade-sdk-versions %}

1. In Fleet Automation, open the [Upgrade Agents](https://app.datadoghq.com/fleet/agent-upgrades) tab and click Upgrade Now.

   {% image
      source="https://docs.dd-static.net/images/agent/fleet_automation/upgrade-screen2.6ae4c20285dcf62bf47d7aa48d5990fc.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/agent/fleet_automation/upgrade-screen2.6ae4c20285dcf62bf47d7aa48d5990fc.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="The Upgrade Agents tab with the Upgrade Now button." /%}

1. Select the SDK language and version. You can update one language SDK at a time.

   {% image
      source="https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-language.cc3eca14ef700611e003e9becb4a005c.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-language.cc3eca14ef700611e003e9becb4a005c.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="SDK language and version selection dropdown." /%}

1. Select the hosts to upgrade. Filter by host information or tags to target a specific group.

   {% image
      source="https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-hosts.6022ebb053d5c3cf71b055cc58f2fd5c.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-hosts.6022ebb053d5c3cf71b055cc58f2fd5c.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Service selection screen with filtering options to narrow the list of services to upgrade." /%}

1. Review the deployment plan and click Upgrade Hosts to start the upgrade.

   {% image
      source="https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-plan.e10026f5e5a61bd63d15a18b0df0a1b6.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/agent/fleet_automation/sdk-upgrade-plan.e10026f5e5a61bd63d15a18b0df0a1b6.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Deployment plan view showing the list of services staged for SDK upgrade." /%}

1. Restart the services to start using the upgraded SDKs.

## Further Reading{% #further-reading %}

- [Fleet Automation](https://docs.datadoghq.com/agent/fleet_automation.md)
