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

# Upgrading an API Co-signer Without Interrupting Signing

> Choose an API Co-signer upgrade approach that keeps signing available: upgrade Co-signers in high availability one at a time, or add a second Co-signer first.

This page helps you choose an upgrade approach and sequence the steps so that your workspace can keep signing while an API Co-signer is upgraded. The platform Maintenance pages describe in-place upgrades that stop the Co-signer, so a single Co-signer can't sign during its upgrade. Fireblocks recommends upgrading Co-signers that run in [high availability (active-active)](https://developers.fireblocks.com/cosigners/operations/multiple-cosigners-high-availability.md) one at a time, so the others keep signing.

This page covers the order of the steps and what to verify between them. The procedures themselves are on the pages linked at each step.

## Choose an approach

| Your setup | Approach | Why |
| :- | :- | :- |
| You already run two or more Co-signers | [Upgrade one Co-signer at a time](#upgrade-one-co-signer-at-a-time). Verify the upgraded Co-signer is healthy before you start the next. | While one Co-signer is stopped, the others paired with API users in the same Policy rule keep signing. |
| You run one Co-signer | [Add a second Co-signer before upgrading](#add-a-second-co-signer-before-upgrading), then upgrade. | An in-place upgrade stops the Co-signer, so adding a second Co-signer first is the way to keep signing available. |

Both approaches need at least two Co-signers. They work on SGX, AWS Nitro, and GCP Confidential Space, and the Co-signers can run on different platforms.

## Upgrade one Co-signer at a time

**1. Confirm the Co-signers sign in parallel**

Check that every Policy rule that designates a Co-signer lists API users paired with more than one Co-signer, as described in [Configuring Multiple API Co-signers in High Availability](https://developers.fireblocks.com/cosigners/operations/multiple-cosigners-high-availability.md#configuring-multiple-co-signers-to-work-in-parallel).

**2. Upgrade the first Co-signer**

Upgrade one Co-signer only, following the update steps for its platform: [SGX](https://developers.fireblocks.com/cosigners/sgx/api-cosigner-maintenance-sgx#update-the-co-signer), [AWS Nitro](https://developers.fireblocks.com/cosigners/aws/api-cosigner-maintenance-aws-nitro.md#update-the-co-signer), or [GCP Confidential Space](https://developers.fireblocks.com/cosigners/google-cloud/api-cosigner-maintenance-gcp-confspace.md#update-the-co-signer).

**3. Verify the upgraded Co-signer**

Confirm the upgraded Co-signer is online, either from its status in the Console or from the `lastSeen` value in [Check Co-signer status via API](https://developers.fireblocks.com/cosigners/operations/api-cosigner-maintenance.md#check-co-signer-status-via-api), and that it shows the new version, as described in [Confirm the upgrade](https://developers.fireblocks.com/cosigners/operations/api-cosigner-newer-version.md#confirm-the-upgrade).

**4. Upgrade the next Co-signer**

Repeat the upgrade and verification for each remaining Co-signer, one at a time, starting the next only after the previous one passes verification.

## Add a second Co-signer before upgrading

Plan for approvals before you start. The workspace Owner must approve the new API user's MPC key share, and Policy changes need approval, as described in [Install an API Co-signer](https://developers.fireblocks.com/cosigners/overview/api-cosigner-installation-flow.md#get-the-pairing-token) and [Configuring Multiple API Co-signers in High Availability](https://developers.fireblocks.com/cosigners/operations/multiple-cosigners-high-availability.md#configuring-multiple-co-signers-to-work-in-parallel).

**1. Install a new Co-signer**

Install a second Co-signer on a separate machine by following [Install an API Co-signer](https://developers.fireblocks.com/cosigners/overview/api-cosigner-installation-flow.md) and the Install page for your platform.

**2. Create and pair a new API user**

Create a new API user and pair it with the new Co-signer, as described in [Get the pairing token](https://developers.fireblocks.com/cosigners/overview/api-cosigner-installation-flow.md#get-the-pairing-token). Configure the new API user with the same Callback Handler URL, public key, and connection mode as the original, as described in [Configure the Callback Handler](https://developers.fireblocks.com/cosigners/operations/api-cosigner-operate.md#configure-the-callback-handler).

**3. Add both API users to the Policy rule**

Update the Policy rule so its designated signers list the API users of both Co-signers, as described in [Configuring Multiple API Co-signers in High Availability](https://developers.fireblocks.com/cosigners/operations/multiple-cosigners-high-availability.md#configuring-multiple-co-signers-to-work-in-parallel).

**4. Confirm the new Co-signer is online**

After the Policy update is approved, confirm the new Co-signer is online, either from its status in the Console or from the `lastSeen` value in [Check Co-signer status via API](https://developers.fireblocks.com/cosigners/operations/api-cosigner-maintenance.md#check-co-signer-status-via-api). Fireblocks varies the order of the designated API users for each transaction, so both Co-signers take part in signing.

**5. Upgrade or retire the original Co-signer**

Upgrade the original Co-signer using the update steps for its platform ([SGX](https://developers.fireblocks.com/cosigners/sgx/api-cosigner-maintenance-sgx#update-the-co-signer), [AWS Nitro](https://developers.fireblocks.com/cosigners/aws/api-cosigner-maintenance-aws-nitro.md#update-the-co-signer), or [GCP Confidential Space](https://developers.fireblocks.com/cosigners/google-cloud/api-cosigner-maintenance-gcp-confspace.md#update-the-co-signer)). To retire it instead, remove its API user from the Policy rule, then delete or disable that API user.

## Limits and cautions

* **Exchange and fiat sources:** Policy rules whose source is an exchange or fiat account accept only a single API user as the designated signer, so this approach doesn't apply to those rules. See [Exchange or fiat accounts](https://developers.fireblocks.com/cosigners/operations/multiple-cosigners-high-availability.md#exchange-or-fiat-accounts).
* **API users only:** All designated signers in a rule must be API users. A rule can't combine API users and Console users.

> [!WARNING]
>
> **Upgrading is not migrating:** This page adds a second Co-signer that runs alongside the original. Migrating a Co-signer to a new machine is different: the new machine takes over the existing Co-signer, and the old and new machines must never run at the same time. For that case, see Migrate to a new machine for [SGX](https://developers.fireblocks.com/cosigners/sgx/api-cosigner-maintenance-sgx#migrate-to-a-new-machine), [AWS Nitro](https://developers.fireblocks.com/cosigners/aws/api-cosigner-maintenance-aws-nitro.md#migrate-to-a-new-machine), or [GCP Confidential Space](https://developers.fireblocks.com/cosigners/google-cloud/api-cosigner-maintenance-gcp-confspace.md#migrate-to-a-new-machine).
