This topic describes how to change the retention period of internal endpoints on the classic network of an ApsaraDB for MongoDB instance.

Prerequisites

The instance is in hybrid network access mode. For more information, see Configure a hybrid access solution to switch the network type of an ApsaraDB for MongoDB instance from classic network to VPC.

Background information

After an internal endpoint on the classic network expires, the endpoint is released. You can change the retention period of such an internal endpoint before the endpoint expires.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.
  4. Click the ID of an instance, or click More icon in the Actions column corresponding to the instance and select Manage.
  5. In the left-side navigation pane of the instance details page, click Database Connections.
  6. In the Retained Classic Network Address section, click Change Expiration Time .
  7. In the Change Expiration Time panel, specify a retention period for the endpoint.
    Note
    • You can set the retention period to 14, 30, 60, or 120 days.
    • You can also click Release now to release the classic network.
  8. Click OK.