This topic describes how to use the auto-renewal feature for an ApsaraDB RDS for PostgreSQL instance. If you enable the auto-renewal feature for your RDS instance, you do not need to manually renew your subscription or be concerned about service interruptions caused by subscription expiration.
If you do not renew your subscription RDS instance before the expiration date, your workloads are interrupted, and your data may be lost. For more information, see Overdue payments.
Pay-as-you-go and serverless RDS instances do not expire and therefore do not require renewal.
Usage notes
If you enable auto-renewal for your RDS instance, the system deducts the renewal fee at 08:00 on two days before the RDS instance expires. If the deduction fails, the system attempts to deduct the fee once every day for the remaining two-day subscription duration until the deduction is successful.
WarningMake sure you have sufficient balance in your Alibaba Cloud account to ensure that auto-renewal is successful. If all the deduction attempts fail, you must manually renew your RDS instance before the expiration date. This prevents instance downtime that may cause data loss.
If you have manually renewed your RDS instance before the renewal fee is automatically deducted, no renewal fees are automatically deducted until next time the expiration date approaches.
The auto-renewal feature takes effect the next day after it is enabled. If your RDS instance is due to expire the next day, we recommend that you manually renew the instance to prevent service interruptions. For more information, see Manually renew an ApsaraDB RDS for PostgreSQL instance.
Enable auto-renewal when you purchase an instance
When you purchase a subscription instance, you can select Auto-Renew. The renewal cycle for a monthly subscription is one month, and the renewal cycle for a yearly subscription is one year. For example, if you purchase a six-month subscription instance and select the auto-renewal feature, the system automatically renews the instance for one month when the instance is about to expire.
Enable the auto-renewal feature after you purchase an RDS instance
Log on to the ApsaraDB RDS console.
In the upper-right corner of the RDS console, hover over Expenses and select Renewal Management from the drop-down list.

On the Renewal page, use the search and filter features to find the destination instance on the Manual Renewal or Non-renewal tab. You can enable auto-renewal for a single instance or for multiple instances in a batch.
Individual Activation
In the Actions column of the destination instance, click Enable Auto-renewal.
In the dialog box that appears, select an Auto-renewal Cycle and click Enable Auto renewal.
Enable in Batches
Select multiple destination instances and click Enable Auto renewal.
In the dialog box that appears, select an Unified Auto Renewal Cycle and click Enable Auto renewal.
Change the auto-renewal cycle
Log on to the ApsaraDB RDS console.
In the upper-right corner of the RDS console, hover over Expenses and select Renewal Management from the drop-down list.

On the Renewal page, find the destination instance on the Auto-renewal tab and click Modify Auto-renewal Settings in the Actions column.
In the dialog box that appears, change the Unified Auto Renewal Cycle and click OK.
Disable the auto-renewal feature
Log on to the ApsaraDB RDS console.
In the upper-right corner of the RDS console, hover over Expenses and select Renewal Management from the drop-down list.

On the Auto tab, find the destination instance and click Enable Manual Renewal in the Actions column.
In the message that appears, click OK.
Related operations
API | Description |
Creates an instance. Note You can call this operation to enable the auto-renewal feature for an instance when you create the instance. | |
Renews a subscription instance. Note You can call this operation to enable the auto-renewal feature for an instance after you create the instance. |