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, that is, the instance supports access from both the classic network and VPC. 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

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

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the resource group and the region of the target instance.
  3. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
  4. Find the target instance and click its ID.
  5. In the left-side navigation pane, click Database Connection.
  6. In the Retained Classic Network Address section, click Change Expiration Time .
    Change the retention period
  7. In the dialog box that appears, select a retention period.
    Note You can set the retention period to 14 days, 30 days, 60 days, or 120 days.
  8. Click OK.