> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade your Controller and Gateways to the Latest Aviatrix Supported Images (AWS and Azure Only)

> This auto-upgrade process only applies to AWS and Azure. Contact Aviatrix Support if your Controller and Gateways are deployed on other cloud service providers.

<Warning>
  This auto-upgrade process only applies to AWS and Azure. Contact [Aviatrix
  Support](https://support.aviatrix.com) if your Controller and Gateways are
  deployed on other cloud service providers.
</Warning>

For single-version Controller and Gateway upgrade, see

<a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-gateway-upgrade-steps"}>Single-Version Upgrade for Controller and Gateways</a>
.

This documentation aims at providing steps on upgrading your Controller and
Gateways to the latest Aviatrix images.

During the upgrade, the process transfers all settings from the old Controller
to the new Controller, which keeps the same public IP (Elastic IP) but gets a
new private IP. This change helps to maintain seamless service during the
transition. After the upgrade is complete, the old Controller is stopped.
Aviatrix recommends terminating the old Controller to avoid unnecessary costs.

## Major Upgrade Paths Overview

The following diagram illustrates the major upgrade paths for the Aviatrix
Controller and Gateways.

<img src="https://mintcdn.com/aviatrix-14b37c43/t4Yqq2xjeqwvofO4/images/guides/maintenance/upgrade-path-10.1.0.png?fit=max&auto=format&n=t4Yqq2xjeqwvofO4&q=85&s=11b3e93ae7fb74344b59d0b86a1defcb" alt="Major Upgrade Paths for Controller and Gateways" width="1039" height="408" data-path="images/guides/maintenance/upgrade-path-10.1.0.png" />

## Major Upgrade Paths for Controller and Gateways

| Current Version    | End Version                             | Upgrade Path <sup>8</sup>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------ | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 10.0.1             | 10.1.0 (g5) (Latest Controller version) | 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| 9.0.10             | 10.1.0 (g5) (Latest Controller version) | 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways. 10.0.1 introduces the g5 Controller and gateway image generation.<br />2. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| 9.0.x <sup>7</sup> | 10.1.0 (g5) (Latest Controller version) | 9.0.x → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 9.0.x to 9.0.10 of the Controller and all the gateways.<br />2. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />3. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 8.2.x <sup>6</sup> | 10.1.0 (g5) (Latest Controller version) | 8.2.x → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 8.2.x to 8.2.20 of the Controller and all the gateways.<br />2. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />3. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />4. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| 8.1.x <sup>5</sup> | 10.1.0 (g5) (Latest Controller version) | 8.1.x → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 8.1.x to 8.1.40 of the Controller and all the gateways.<br />2. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />3. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />4. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />5. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| 8.0.x <sup>4</sup> | 10.1.0 (g5) (Latest Controller version) | 8.0.x → 8.0.70 → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 8.0.x to 8.0.70 of the Controller and all the gateways.<br />2. Perform a software upgrade from 8.0.70 to 8.1.40 of the Controller and an image upgrade of all the gateways.<br />3. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />4. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />5. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />6. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 7.2.x <sup>3</sup> | 10.1.0 (g5) (Latest Controller version) | 7.2.x → 7.2.5105 → 8.0.70 → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 7.2.x to 7.2.5105 of the Controller and all the gateways.<br />2. Perform an image upgrade from 7.2.5105 to 8.0.70 of the Controller and a software upgrade of all the gateways.<br />3. Perform a software upgrade from 8.0.70 to 8.1.40 of the Controller and an image upgrade of all the gateways.<br />4. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />5. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />6. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />7. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                                                                                                                                                |
| 7.1.4105           | 10.1.0 (g5) (Latest Controller version) | 7.1.4105 → 7.1.4208 → 7.2.5105 → 8.0.70 → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 7.1.4105 to 7.1.4208 of the Controller and all the gateways.<br />2. Perform a software upgrade from 7.1.4208 to 7.2.5105 of the Controller and all the gateways.<br />3. Perform an image upgrade from 7.2.5105 to 8.0.70 of the Controller and a software upgrade of all the gateways.<br />4. Perform a software upgrade from 8.0.70 to 8.1.40 of the Controller and an image upgrade of all the gateways.<br />5. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />6. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />7. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />8. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                                                                                                                          |
| 7.1.x <sup>2</sup> | 10.1.0 (g5) (Latest Controller version) | 7.1.x → 7.1.4101 → 7.1.4208 → 7.2.5105 → 8.0.70 → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 7.1.x to 7.1.4101 of the Controller and all the gateways.<br />2. Perform an image upgrade from 7.1.4101 to 7.1.4208 of the Controller and all the gateways.<br />3. Perform a software upgrade from 7.1.4208 to 7.2.5105 of the Controller and all the gateways.<br />4. Perform an image upgrade from 7.2.5105 to 8.0.70 of the Controller and a software upgrade of all the gateways.<br />5. Perform a software upgrade from 8.0.70 to 8.1.40 of the Controller and an image upgrade of all the gateways.<br />6. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />7. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />8. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />9. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways.                                                                                                                  |
| 7.0.x <sup>1</sup> | 10.1.0 (g5) (Latest Controller version) | 7.0.x → 7.0.2250 → 7.1.4101 → 7.1.4208 → 7.2.5105 → 8.0.70 → 8.1.40 → 8.2.20 → 9.0.10 → 10.0.1 → 10.1.0 <br /><br />1. Perform a software upgrade from 7.0.x to 7.0.2250 of the Controller and all the gateways.<br />2. Perform a software upgrade from 7.0.2250 to 7.1.4101 of the Controller and all the gateways.<br />3. Perform an image upgrade from 7.1.4101 to 7.1.4208 of the Controller and all the gateways.<br />4. Perform a software upgrade from 7.1.4208 to 7.2.5105 of the Controller and all the gateways.<br />5. Perform an image upgrade from 7.2.5105 to 8.0.70 of the Controller and a software upgrade of all the gateways.<br />6. Perform a software upgrade from 8.0.70 to 8.1.40 of the Controller and an image upgrade of all the gateways.<br />7. Perform a software upgrade from 8.1.40 to 8.2.20 of the Controller and all the gateways.<br />8. Perform a software upgrade from 8.2.20 to 9.0.10 of the Controller and all the gateways.<br />9. Perform an image upgrade from 9.0.10 to 10.0.1 of the Controller and an image upgrade of all the gateways.<br />10. Perform a software upgrade from 10.0.1 to 10.1.0 of the Controller and all the gateways. |

<Warning>
  **Azure gateway users starting at 8.1.x or later**: The software upgrade steps
  listed above do not deliver the MANA driver fix. Along your path, the gateway
  portion of **at least one** step landing on a MANA-compatible release (8.1.40,
  8.2.20, or 9.0.10) must be performed as an **image upgrade** instead of a
  software upgrade. For example, on the **8.1.x → 9.0.10** path, replace the
  gateway portion of step 1 (to 8.1.40), step 2 (to 8.2.20), **or** step 3 (to
  9.0.10) with an image upgrade. This requirement does not apply to AWS-only
  environments, or to upgrade paths starting at 8.0.x or earlier (where an image
  upgrade is already a required step). For details, see the{" "}
  <a href={"/docs/enterprise/" + "10.1" + "/reference/release-notices/field-notices/index#long-term-fix-mana-compatible-images-and-upgrade-groups"}>MANA Field Notice (FN-2026-AZ-001)</a>
  .
</Warning>

<Note>
  <sup>1</sup> 7.0.x refers to any 7.0 release earlier than 7.0.2250.

  <sup>2</sup> 7.1.x refers to any 7.1 release earlier than 7.1.4101.

  <sup>3</sup> 7.2.x refers to any 7.2 release earlier than 7.2.5105.

  <sup>4</sup> 8.0.x refers to any 8.0 release earlier than 8.0.70.

  <sup>5</sup> 8.1.x refers to any 8.1 release earlier than 8.1.40.

  <sup>6</sup> 8.2.x refers to any 8.2 release earlier than 8.2.20.

  <sup>7</sup> 9.0.x refers to any 9.0 release earlier than 9.0.10.

  <sup>8</sup> If you are using a private marketplace in Azure, you must subscribe
  to the gateway image offer in the Azure marketplace first. See
  <a href={"/docs/enterprise/" + "10.1" + "/guides/controlplane/azure-powershell-deploy"}>Subscribing Gateway Offers to Azure Private Marketplace for Aviatrix
  Deployments</a>
  .

  <sup>9</sup> If you are using a private marketplace in Azure, you must subscribe to the controller image offer for 7.2.x in Azure marketplace first. See <a href={"/docs/enterprise/" + "10.1" + "/guides/controlplane/azure-powershell-deploy"}>Subscribing Controller Offers to Azure Private Marketplace for Aviatrix Deployments</a>.
</Note>

## Major Upgrade Steps

<Warning>
  Aviatrix recommends performing all platform software lifecycle management
  tasks on the CoPilot UI. If you are not currently using CoPilot, deploy it
  before proceeding with any procedures in this documentation.
</Warning>

The following steps summarize the major upgrade process:

1. Perform a software upgrade of your Controller and gateways to the latest
   release version within the current release. See

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-gateway-upgrade-steps"}>Upgrade of your Controller and gateways within the current release</a>
   .

2. Back up your Controller data. See

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-backup-restore#copilot"}>Back up your Controller data</a>
   .

3. Perform a

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-latest-image#controller-upgrade-dry-run"}>Controller Image Upgrade Dry Run</a>
   to check for potential errors.

4. Resolve any potential errors according to the
   [provided solutions](#troubleshooting-your-controller-and-gateway-upgrade).

5. Perform an Image Upgrade of your Controller to the latest Aviatrix supported
   image. See

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-latest-image#controller-image-upgrade"}>Image Upgrade of your Controller to the Latest Aviatrix Supported Images</a>
   .

   <Note>
     If your Controller has been upgraded to 7.1.3958 or later, you can perform
     a software upgrade to 7.1.4208 (latest 7.1 version). Then perform a
     software upgrade to 7.2.5105. If your Controller is already on 7.2.x, skip
     this step. Then perform a software upgrade to 7.2.5105 (latest 7.2
     version). Then, perform an image upgrade from 7.2.5105 to 8.0.70. Then you
     can perform a software upgrade from 8.0.70 to 8.1.40. Then you can perform
     a software upgrade to 8.2.20. Then you can perform another software upgrade
     to 9.0.10. Then, perform an image upgrade from 9.0.10 to 10.0.1. Then,
     perform a software upgrade from 10.0.1 to 10.1.0 (latest Controller
     version).
   </Note>

6. Verify your

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-latest-image#verify-controller-image-upgrade"}>Controller Upgrade Status</a>
   .

7. Perform an Image Upgrade of all your gateways to the latest Aviatrix
   supported image. See

   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/gateway-upgrade-latest-image#gateway-image-upgrade"}>Image Upgrade of your Gateways to the Latest Aviatrix Supported Images</a>
   .

   <Note>
     If your gateways have been upgraded to 7.1.3958 or later, you can perform a
     software upgrade to 7.1.4208 for the latest 7.1 software release. If your
     Controller is already on 7.2.x, skip this step. You can then perform
     another software upgrade to 7.2.5105 for the latest 7.2 software version.
     Then you can perform a software upgrade from 7.2.5105 to 8.0.70. Then, you
     can perform an image upgrade from 8.0.70 to 8.1.40. Then you can perform a
     software upgrade to 8.2.20. Then you can perform another software upgrade
     to 9.0.10. Then, perform an image upgrade from 9.0.10 to 10.0.1. Then,
     perform a software upgrade from 10.0.1 to 10.1.0 for the latest software
     version.
   </Note>

8. Verify your
   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/gateway-upgrade-latest-image#verify-gateway-upgrade"}>Gateway Upgrade Status</a>
   .

## Prepare for Upgrading your Controller and Gateways to the Latest Aviatrix Supported Images

<Note>
  If you plan to deploy a new Controller from the AWS marketplace or Azure
  marketplace before performing the upgrade, make sure to select the correct
  Controller version. See{" "}
  <a href={"/docs/enterprise/" + "10.1" + "/reference/release-notices/release-notes/controller-images/index"}>Aviatrix Controller and Gateway Image Release Notes</a>
  for the latest Controller version.
</Note>

Check the following prerequisites before upgrading your Controller.

* Make sure your Controller and CoPilot are deployed on AWS or Azure. For
  deployments on other cloud service providers, contact
  [Aviatrix Support](https://support.aviatrix.com) to help you perform the
  upgrade.

* Check your Controller version to ensure it meets the version requirements.
  Perform a software upgrade of your Controller to make sure the Controller
  version is 7.1.4101 or later. See

  <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-gateway-upgrade-controller#upgrade-controller"}>Upgrade your Controller via CoPilot UI</a>
  for more details.

* Ensure that your gateways are in 7.1.4101 version or later. Upgrade any
  gateways that are not in 7.1.4101 to 7.1.4101. See

  <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-gateway-upgrade-controller#upgrade-gateways"}>Upgrade your Gateways via CoPilot UI</a>
  for details.

* Make sure you have installed the latest CoPilot version (>=4.27). See

  <a href={"/docs/enterprise/" + "10.1" + "/guides/controlplane/copilot-deployment"}>Deploy CoPilot</a>
  .

* Make sure that you have subscribed to the

  <a href={"/docs/enterprise/" + "10.1" + "/guides/controlplane/getting-started-guide-aws#subscription-overview"}>Required Aviatrix License and Marketplace Offers</a>
  and have a valid customer ID (license) issued by the Aviatrix Cloud Network
  License Service. For legacy licenses/listings below, contact [Aviatrix
  Support](https://support.aviatrix.com) for the upgrade assistance. \* Aviatrix
  Secure Networking Platform - Enterprise Subscription \* Aviatrix Secure
  Networking Platform Metered 2208 - Copilot & 24x7 Support \* Aviatrix Secure
  Networking Platform PAYG - Metered

* Make sure no CloudN gateways are attached to your Controller. If there are any
  CloudN gateways attached to your Controller, you will first need to migrate to
  Aviatrix Edge. Contact [Aviatrix Support](https://support.aviatrix.com).

* Make sure you have not enabled
  [Private Mode](https://legacy.docs.aviatrix.com/documentation/latest/platform-administration/controller/private-mode.html?expand=true).
  If you are using private mode, contact
  [Aviatrix Support](https://support.aviatrix.com) for the other upgrade
  options.

* For Controller that is configured in HA mode, disable HA before the Controller
  upgrade. You will then need to enable HA mode after the Controller upgrade.
  See
  <a href={"/docs/enterprise/" + "10.1" + "/guides/controlplane/controller-ha-aws#controller-ha-details"}>Controller High Availability in AWS</a>
  for details.

## Before your Controller and Gateway Upgrade

Ensure you complete the following before starting your Controller upgrade.

### Check the General Controller and Gateway Upgrade Guidance

* Check the
  <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-workflow"}>General Controller and Gateways Upgrade Guidance</a>
  .

* Before proceeding with the upgrade in the production environment, perform the
  upgrade in a testing environment.

* It is important to upgrade the Controller first, ensuring it is at the desired
  release version.

* Once the Controller is successfully upgraded, proceed to upgrade the Gateways.

### Go through Checklist of the Controller and Gateway Upgrade

1. Go through the checklist of Controller and Gateway upgrade. See details in
   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-checklist"}>Upgrade Checklist of the Controller and Gateway Upgrade</a>
   .
2. Make sure you have
   <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-planning"}>performed all the pre-upgrade tasks of the Controller and Gateway Upgrade</a>
   .

## Upgrade Controller and Gateways to the Latest Aviatrix Supported Images(AWS and Azure Only)

To upgrade Controller and gateways for the latest Aviatrix Supported Images:

1. <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-upgrade-latest-image"}>Upgrade your Controller for the latest Aviatrix Supported Images (AWS and
   Azure Only)</a>

2. <a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/gateway-upgrade-latest-image"}>Upgrade your Gateways for the latest Aviatrix Supported Images (AWS and
   Azure Only)</a>

## Troubleshooting your Controller and Gateway Upgrade

<Note>
  If the upgrade of your Controller fails, the system reverts the Controller to
  its previous state.
</Note>

See

<a href={"/docs/enterprise/" + "10.1" + "/guides/maintenance/controller-gateway-upgrade-troubleshooting"}>Troubleshooting Controller and Gateway Upgrades</a>
for the detailed troubleshooting solutions.
