Pay-as-you-go
E-MapReduce (EMR) supports two billing methods: subscription and pay-as-you-go. Pay-as-you-go lets you create and release cluster resources at any time without upfront commitment — you are billed only for what you use, measured by the second.
When to use pay-as-you-go
Pay-as-you-go works best for short-lived or unpredictable workloads:
Development and testing — spin up a cluster, run your jobs, and release it when done
Temporary workloads — one-off or periodic jobs that don't justify a subscription commitment
Billing cycle
Bills are generated hourly at the top of every hour (UTC+8). Within each hourly cycle, usage is metered by the second (UTC+8).
Example 1: Pay-as-you-go cluster
You create a pay-as-you-go EMR cluster at 01:30:30 and release it at 01:55:30.
Value | |
Settlement period | 01:00:00–02:00:00 |
Charged period | 01:30:30–01:55:30 |
Billing duration | 1,500 seconds |
Example 2: Pay-as-you-go task node group in a subscription cluster
You add an ECS instance to a pay-as-you-go task node group at 10:59:30, then remove it at 11:50:30.
Settlement period | Charged period | Billing duration |
10:00:00–11:00:00 | 10:59:30–11:00:00 | 30 seconds |
11:00:00–12:00:00 | 11:00:00–11:50:30 | 3,030 seconds |
Pricing
To view the price for a pay-as-you-go EMR cluster, check the order generated when you purchase the cluster in the EMR console.
Account balance requirements
Before creating a pay-as-you-go EMR cluster, make sure the available balance in your Alibaba Cloud account — including cash, vouchers, and coupons — is at least CNY 100. If the balance is insufficient, cluster creation fails.
If your account balance plus vouchers falls below the amount due, Alibaba Cloud notifies you by text message or email.
Overdue payments
For more information, see Overdue payments.
Switch billing methods
You can switch an existing pay-as-you-go EMR cluster to subscription billing.
To switch from pay-as-you-go to subscription, see Switch from pay-as-you-go to subscription.
Billing example
The prices in this example are for reference only. Actual costs are based on the prices on the purchase page.
Assume you create a cluster with the following configuration:
Item | Details |
Region | China (Hangzhou) |
EMR version | 5.18.1 |
Scenarios | Data Lake (high availability enabled) |
Selected services | Hadoop-Common (3.2.1)+HDFS (3.2.1)+YARN (3.2.1)+Hive (3.1.3)+Spark3 (3.5.3)+TEZ (0.10.2)+OpenLDAP (2.4.46)+Zookeeper (3.8.4)+ Knox (1.5.0) |
Master node group | 3 × ecs.g7.xlarge instances (4 vCPU, 16 GiB memory, 3 Gbps) with 1 system disk and 1 data disk each |
Core node group | 2 × ecs.g7.xlarge instances (4 vCPU, 16 GiB memory, 3 Gbps) with 1 system disk and 4 data disks each. |
Billing method | Pay-as-you-go |
The billing for EMR on ECS is as follows:
Node group type | Node group name | Instance type | System disk | Data disk | Number of nodes | ECS fee (per node/hour) | EMR service fee (per node/hour) |
Master | emr-master | General-purpose (ecs.g7.xlarge) 4 vCPU, 16 GiB, 3 Gbps | 1 × 80 GiB ESSD cloud disk | 1 × 80 GiB ESSD cloud disk | 3 | CNY 1.3825 | CNY 0.1572 |
Core | emr-core | General-purpose (ecs.g7.xlarge) 4 vCPU, 16 GiB, 3 Gbps | 1 × 80 GiB ESSD cloud disk | 4 × 80 GiB ESSD cloud disk | 2 | CNY 1.8865 | CNY 0.1572 |
On the Bill Details page, which is under in the console, the total ECS fee is broken down into an ECS bill (which covers the instance fee and the system disk block storage fee) and separate block storage bills for each data disk.
Pay-as-you-go is a post-paid model, so no order is generated when you create a cluster. Instead, charges are calculated on the hour. You can view the actual charges on the Bill Details page under in the console. Assume a cluster is created at 10:59:30. The bills are as follows:
Bill 1:
The first billing cycle is from 10:00 to 11:00. The cluster was used from 10:59:30 to 11:00:00, a duration of 30 seconds.
ECS fee calculation: (Number of nodes × Hourly price per node / 3,600) × Billed duration in seconds: (3 × 1.3825 / 3600 × 30) + (2 × 1.8865 / 3600 × 30) = CNY 0.066
EMR service fee calculation: (Number of nodes × Hourly service fee per node / 3,600) × Billed duration in seconds: 5 × 0.1572 / 3600 × 30 = CNY 0.0066
Total cost (ECS fee + EMR service fee): 0.066 + 0.0066 = CNY 0.0726
Bill 2:
In subsequent hourly billing cycles, the billed duration is 3,600 seconds (1 hour).
ECS fee calculation: (Number of nodes × Hourly price per node) × Billed duration in hours: (3 × 1.3825 × 1) + (2 × 1.8865 × 1) = CNY 7.9205
EMR service fee calculation: (Number of nodes × Hourly service fee per node) × Billed duration in hours: 5 × 0.1572 × 1 = CNY 0.786
Total cost (ECS fee + EMR service fee): 7.9205 + 0.786 = CNY 8.7065