All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Release a private endpoint

Last Updated:Mar 27, 2026

Release the private endpoint of an ApsaraDB for Redis instance to disable direct connection mode. This is required before certain operations that direct connection mode does not support, such as changing instance configurations or upgrading a major version.

Warning

After the private endpoint is released, clients using that endpoint can no longer connect to the instance. Update your application's connection configuration before you proceed.

Prerequisites

Before you begin, ensure that you have:

  • An instance that uses the classic deployment mode and the cluster architecture

  • Direct connection mode enabled on the instance. See Enable the direct connection mode

  • Updated your application to use a different endpoint, such as the internal endpoint in proxy mode. See View endpoints

Release the private endpoint

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region where the instance resides, and then click the instance ID.

  2. In the Connection Information section, click Release Endpoint to the right of Private Endpoint.

  3. In the panel that appears, click OK.

API reference

OperationDescription
AllocateDirectConnectionApplies for a private endpoint for an instance
ReleaseDirectConnectionReleases a private endpoint for an instance

What's next

After releasing the private endpoint, verify that your application connects successfully using the new endpoint. To re-enable direct connection mode later, see Enable the direct connection mode.