All Products
Search
Document Center

E-MapReduce:Switch from pay-as-you-go to subscription

Last Updated:Jul 08, 2024

After you create a pay-as-you-go E-MapReduce (EMR) cluster or a subscription cluster that contains pay-as-you-go node groups, you can switch the billing method of the pay-as-you-go cluster or node groups to subscription. The subscription billing method allows you to reserve resources in advance and provides more cost savings.

Prerequisites

  • The cluster whose billing method you want to switch meets the following requirements:

    • The cluster belongs to your Alibaba Cloud account.

    • The cluster does not have an unpaid order for billing method switching.

      If an unpaid order for billing method switching exists, you must cancel the unpaid order and place another order to switch the billing method.

    • The cluster is in a normal state.

  • The node groups whose billing method you want to switch meet the following requirements:

    • The node groups are in a normal state and contain nodes.

    • No auto scaling rule is associated with the node groups.

Limits

  • You are not allowed to switch the billing method of a node group for which auto scaling rules are configured from pay-as-you-go to subscription. If you want to switch the billing method of a node group for which auto scaling rules are configured from pay-as-you-go to subscription, delete the auto scaling rules first.

  • You are allowed to switch the billing method of only core, task, or gateway node groups in a subscription cluster from pay-as-you-go to subscription.

Switch the billing method from pay-as-you-go to subscription at the cluster level

Warning

If you switch the billing method from pay-as-you-go to subscription for a cluster, all resources in the cluster are billed based on the new billing method, and you can no longer switch the billing method back to pay-as-you-go from subscription.

  1. Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.

  2. In the top navigation bar, select the region in which your cluster resides and select a resource group based on your business requirements.

  3. On the EMR on ECS page, find the cluster whose billing method you want to switch, move the pointer over the image..png icon in the Actions column, and then select Switch to Subscription.

  4. In the message that appears, click OK.

  5. In the Switch to Subscription dialog box, select an option from the Subscription Duration drop-down list.

  6. Read the terms of service, select E-MapReduce Terms of Service, and then click OK.

Switch the billing method from pay-as-you-go to subscription at the node group level

  1. Go to the Nodes tab.

    1. Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.

    2. In the top navigation bar, select the region in which your cluster resides and select a resource group based on your business requirements.

    3. On the EMR on ECS page, find the desired cluster and click Nodes in the Actions column.

  2. On the Nodes tab, find the desired node group, move the pointer over the image..png icon, and then select Switch to Subscription.

  3. In the message that appears, click OK.

  4. In the Switch to Subscription dialog box, select an option from the Subscription Duration drop-down list.

  5. Read the terms of service, select E-MapReduce Terms of Service, and then click OK.