ApsaraDB for Redis supports manual hot upgrades of proxy servers. After you upgrade proxy servers, you can use the latest features. For example, you can view the audit logs of proxy servers. This topic describes how to upgrade proxy servers.

Prerequisites

The ApsaraDB for Redis instance to which the proxy servers belong must meet the following requirements:

View the minor version of proxy servers

You can view the minor version of proxy servers in the ApsaraDB for Redis console. For more information, see Update the minor version.

Figure 1. View the minor version of proxy servers
View the minor version of proxy servers
Note For more information about the detailed release notes of minor versions, see ApsaraDB for Redis proxy servers.

Impacts

  • Proxy servers support hot upgrades. Proxy servers of the new version can restore a connection based on the client connection information of the proxy servers of the earlier version. This ensures that upgrades do not interrupt services. However, a millisecond-level latency jitter may occur during the upgrades.
  • The hot upgrades are valid only for normal connections. The execution of the block, transaction, Pub, and Sub commands is interrupted. Make sure that these commands support the reconnection mechanism.
  • If a Redis client uses a private endpoint to connect to the ApsaraDB for Redis instance, no commands are affected by a proxy upgrade.
Note For more information about proxy addresses and private endpoints, see Proxy mode and Direct connect mode.

Procedure

  1. Log on to the ApsaraDB for Redis console.
  2. In the top navigation bar of the page, select the region in which the instance is deployed.
  3. On the Instances page, click the ID of the instance.
  4. In the left-side navigation pane, click Service Availability.
  5. In the Proxy Servers section, click Upgrade Proxy.
    Click Upgrade Proxy
    Note All proxy servers are upgraded at the same time. You cannot upgrade specified proxy servers.
  6. In the panel that appears, select the time when you want the upgrade to take effect.
    • Immediate: immediately upgrades proxy servers.
    • Maintenance Window: upgrades proxy servers within the specified maintenance window. For more information about how to modify the maintenance window of an instance, see Specify a maintenance window.
  7. Click OK.