Scenarios
When you no longer need a prepaid yearly/monthly subscription database instance, you can proactively initiate a refund. When you need to immediately release a pay-as-you-go database instance, you can perform the termination operation. After instance termination, its billing stops accordingly. Typical operation scenarios are shown below.
Data in the instance has been migrated to a new instance or new architecture. The old resources need to be released.
During off-peak service periods or after traffic decreases, terminate non-core instances to reduce costs.
Instances created for temporary data processing, development and testing, or load testing tasks need to be released immediately upon task completion.
Version Description
Impact Description
After a "refund" (yearly/monthly subscription) or "termination" (pay-as-you-go) operation is performed, the following effects will occur. Please be sure to note them:
|
Billing Impact | Billing stops: When the instance status changes to "Isolated", billing stops immediately. Refund rules: The refund amount will be returned to your Tencent Cloud account through the original payment channel, based on the proportion of cash and free credit used at the time of your initial purchase. |
Data Lifecycle | After the instance is returned or terminated, it will go to the following process, during which you can choose to restore or permanently terminate the data: 1. Recycle Bin Retention Period (7 days) The instance will be moved to the recycle bin and cannot be directly accessed during this period. 2. Backup Retention Period (Additional 8 Days) After 7 days, the instance itself will be automatically deleted from the recycle bin. However, the system will retain instance backups in the background for an additional 8 days. During this period, you will not be able to perform self-recovery. Please contact technical support or submit a ticket to request assistance from Tencent Cloud engineers in retrieving your data. 3. Permanent Deletion After the backup retention period (8 days) expires, all related data will be permanently deleted and cannot be recovered. |
Associated Instance | After the primary instance is terminated, its associated read-only instances will not be automatically terminated, but synchronization with the primary instance will be interrupted. After the primary instance is terminated, the DR instance will automatically disconnect from the synchronization link and be promoted to an independent read-write primary instance. |
Prerequisites
The TencentDB for MongoDB instance is in the Running state.
The instance has been confirmed as no longer in use.
Returns yearly/monthly subscription instances
2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Shard Instance. The operations for Replica Set Instance and Shard Instance are similar.
3. Above the Instance List page on the right, select the target region.
4. In the instance list, find the target instance.
5. In the Operation column of the target instance, choose More > Return and Refund.
Note:
For yearly/monthly subscription instances, when the return button is unavailable, it means that the account has used up the quota for self-service return of yearly/monthly subscription instances, indicating that the yearly/monthly subscription instances cannot be manually terminated and will be automatically terminated after expiration.
6. In the pop-up dialog box, click View Details and confirm the information of the instance to be terminated.
7. Carefully review the notes for terminating the instance, select I have read and agree, confirm the termination, and click OK.
8. On the Please confirm the following refund information page, confirm the Refund List information, verify the refund fees, ensure they are correct, and click Confirm Refund.
Terminating Pay-as-You-Go Instances
2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Shard Instance. The operations for Replica Set Instance and Shard Instance are similar.
3. Above the Instance List page on the right, select the target region.
4. In the instance list, find the target instance.
5. In the Operation column of the target instance, choose More > Terminate.
6. In the pop-up dialog box, carefully review the prompt, confirm the instance termination, and click OK.
Recycle Bin
Terminated instances are moved to the recycle bin and retained there. You can restore terminated instances within the retention period. For details, see Recycle Bin. Related APIs
|
| Isolating a pay-as-you-go instance |
| Refunding a yearly/monthly subscription instance |
| Setting instance termination protection |