All Products
Search
Document Center

CDN:Configure resource package quota alerts or auto-renewal

Last Updated:Oct 20, 2026

When the remaining quota of a CDN resource plan reaches a certain level, notifications are sent to the account contacts by email or internal message. This topic describes how to set a resource plan quota alert and an expiration notification, and how to configure an auto-renewal rule for a resource plan.

Set a resource plan quota alert

After you set a resource plan quota alert, when the remaining quota of the resource plan reaches a certain level, notifications are sent to the account contacts by email or internal message.

  1. Log on to the CDN console.

  2. Click Expenses in the top navigation bar to go to the Expenses and Costs page of Alibaba Cloud.

  3. In the left-side navigation pane, click Billing Account.

  4. On the Resource Plans page, click Set Remaining Quota Alert.

  5. In the Set Remaining Quota Alert dialog box, enable the alert, set the quota, and then click OK.

    Note

    You can set the remaining quota alert based on your usage habits. For example, you can set it to send an alert notification to the account contacts when the remaining quota of the resource plan reaches 20%.

Set a resource plan expiration notification

After you set a resource plan expiration notification, when the resource plan is about to expire, notifications are sent to the account contacts by email or internal message.

  1. Log on to the CDN console.

  2. Move the pointer over the Message notification icon in the top navigation bar and click Message Settings.

  1. On the Common Settings page, find Notifications of Product Expiration and select the notification methods.

After a resource plan expires, Alibaba Cloud sends notifications to the contacts of the current account by default. You can also click Modify to add contacts.

Configure auto-renewal for a resource plan

Quota alerts and expiration notifications only send reminders and do not purchase resource plans for you. To automatically purchase a new resource plan when a resource plan is about to expire or is running low, and avoid switching to pay-as-you-go billing, you can configure an auto-renewal rule for the resource plan. All types of resource plans support auto-renewal.

  1. Log on to the CDN console.

  2. Click Expenses in the top navigation bar to go to the Expenses and Costs page of Alibaba Cloud.

  3. In the left-side navigation pane, click Billing Account. On the Billing Account page, click Resource Plans, and then click the Instances tab.

  4. Find the resource plan and click Set Auto-renewal in the Actions column.

  5. In the Set Auto-renewal Rule dialog box, check the instance ID, specification, expiration time, and current remaining quota of the resource plan, select trigger conditions, set the thresholds, and then save the rule.

    The following trigger conditions are available. You can select both conditions. A renewal is triggered when either condition is met, and each rule is triggered only once.

    • N days before expiration: A renewal is triggered when the resource plan is the specified number of days away from its expiration time.

    • Remaining quota ≤ N%: A renewal is triggered when the remaining quota of the resource plan after deduction is less than or equal to the specified percentage.

Note
  • After a trigger condition is met, the system automatically completes the renewal within 1 to 2 minutes.

  • Each time a pay-as-you-go bill is generated, the system checks whether the remaining quota of the resource plan after deduction reaches the threshold, and triggers a renewal if the condition is met. For workloads that require high availability, we recommend that you set a higher remaining quota threshold, such as Remaining quota ≤ 50%.

  • By default, the new resource plan instance inherits the auto-renewal configuration, deduction rules, cost allocation tags, deduction tags, and binding relationships of the original instance.

  • After a renewal is triggered, the system automatically applies the best available coupon and pays for the renewal order. Make sure that your account has a sufficient available balance. If the renewal fails due to reasons such as an insufficient balance, subsequent usage is billed on a pay-as-you-go basis. Adding funds to your account does not trigger the renewal again. You must manually purchase a resource plan on the buy page.