After you purchase a pay-as-you-go instance, you can change its billing method to subscription.

Prerequisites

  • The billing method of the instance is pay-as-you-go and the instance is in the Running state.
    Note Before you pay for an order for changing the billing method of a pay-as-you-go instance to subscription, if the state of this instance changes (for example, to Locked), your payment may fail. You can continue to pay for the order only after the state of the instance changes back to Running.
  • You have no unpaid orders in your account for the instance for which you want to change the billing method.

Precautions

  • Unexpired subscription instances cannot be released.
  • An instance starts to be billed on a subscription basis immediately after the billing method of the instance is changed from pay-as-you-go to subscription.
  • When you change the billing method of a pay-as-you-go instance to subscription, the system generates an order. The new billing method takes effect only after you pay for this order. If you have unpaid or pending orders,these orders are displayed on the Orders page. In this case, you cannot purchase a new instance or change the billing method of another instance until you pay these orders.
    Note
    • If you have an unpaid order for changing the billing method of a pay-as-you-go instance to subscription and you have scaled up the instance, the order amount is insufficient for the billing method change due to changed instance configurations. The order cannot be paid. You must cancel this unpaid order and change the billing method of the instance again.
    • If you want to cancel the order, you can cancel the order on the Orders page in the Billing Management console.

Procedure

  1. Log on to the ApsaraDB for Redis console and go to the Instances page. In the top navigation bar, select the region in which the instance is deployed.
  2. Find the instance for which you want to change the billing method. In the Actions column, choose More > Switch to Subscription.
  3. Select a period for Subscription Duration.
  4. Read and select ApsaraDB for Redis (Subscription) Terms of Service. Click Buy Now and pay for the order.

Related API operations

Operation Description
TransformToPrePaid Changes the billing method of an ApsaraDB for Redis instance from pay-as-you-go to subscription.