Subscription

Updated at:

E-MapReduce (EMR) supports subscription and pay-as-you-go billing. Subscription is a prepaid billing method that lets you reserve resources at discounted rates.

Billing

Feature

Description

Billing overview

Subscription is a prepaid billing method where you pay for resources before you use them. By reserving resources in advance, you receive significant price discounts and maximize cost savings.

Use cases

Subscription is ideal for the following scenarios:

  • Workloads with predictable usage periods.

  • Stable business workloads.

  • Long-term resource requirements.

Pricing

Prices for clusters with the same specifications may vary by region. For details, see the Alibaba Cloud EMR Pricing page.

Billing cycle

A billing cycle is the duration you commit to when placing an order. All times are in UTC+8. A billing cycle starts the moment a resource is created or renewed and ends at 00:00:00 on the day after its expiration date.

Note

Billing cycles measured in years or months refer to calendar years and calendar months. For example:

  • If you purchase a subscription EMR cluster for a three-month term at 10:23:30 on January 1, 2023, the cluster expires at 00:00:00 on April 2, 2023.

  • If your subscription cluster contains pay-as-you-go resources, the ECS instance fees and EMR service fee for those resources are billed using the pay-as-you-go billing method. For more information, see pay-as-you-go.

  • If your subscription cluster has node groups with auto scaling rules, the ECS instance fees and EMR service fee for the auto-scaled resources are billed using the pay-as-you-go billing method. For more information, see Create custom auto scaling policies.

Refund policy

You can request refunds for subscription clusters that have not expired. For more information, see Refunds.

Overdue payments

To learn what happens when a payment becomes overdue, see Overdue payments.

Impact of EMR instance expiration

When the EMR instance for a subscription cluster expires, the following operations are restricted:

  • Service-related operations, such as adding, restarting, stopping, and configuring parameters.

  • User management operations.

  • Auto scaling operations.

  • Node-related operations, including scale-out, scale-in, and scale up.

  • Display of Application Performance Management (APM) information.

  • Bootstrap action and script operations.

Billing example

Note

The prices in this example are for reference only. Actual costs are based on the purchase page.

Assume you create a cluster with the following configuration:

Item

Details

Region

China (Hangzhou)

EMR version

5.18.1

Use case

Data Lake (with 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), and Knox (1.5.0)

master node group

Three ecs.g7.xlarge instances (4 vCPU, 16 GiB memory, 3 Gbps internal bandwidth) + one system disk + one data disk

core node group

Two ecs.g7.xlarge instances (4 vCPU, 16 GiB memory, 3 Gbps internal bandwidth) + one system disk + four data disks.

Billing method

subscription

Subscription duration

1 month

The billing for EMR on ECS is as follows:

Node group type

Node group name

Specifications

System disk

Data disk

Number of nodes

ECS fee (per node/month)

EMR service fee (per node/month)

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 662.32

CNY 75.36

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 902.32

CNY 75.36

  • ECS fee: (3 × 662.32 × 1) + (2 × 902.32 × 1) = CNY 3,791.60

  • EMR service fee: (3 × 75.36 × 1) + (2 × 75.36 × 1) = CNY 376.80

  • Total cost = ECS fee + EMR service fee: 3,791.60 + 376.80 = CNY 4,168.40

Assume you have dynamic computing needs and create a pay-as-you-go task node group with auto scaling rules. You select ecs.g7.xlarge instances and configure one system disk and four data disks. At 10:59:30, the cluster triggers a scale-out event, adding two ECS instances. At 11:50:30, it triggers a scale-in event, removing two ECS instances. Because pay-as-you-go is a post-paid billing method, no order is generated during the scale-out event. The subsequent charges are reflected in Bill Details under Pricing > Cost in the console. The billing is as follows:

Node group type

Node group name

Specifications

System disk

Data disk

Number of nodes

ECS fee (per node/hour)

EMR service fee (per node/hour)

Task

emr-task (custom)

General-purpose (ecs.g7.xlarge) 4 vCPU, 16 GiB, 3 Gbps

1 × 80 GiB ESSD cloud disk

1 × 80 GiB ESSD cloud disk

2

CNY 1.3825

CNY 0.1572

Note

On the Bill Details page, which is under Expenses > Expenses and Costs 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.

The bills are as follows:

Bill 1:

For the billing cycle from 10:00 to 11:00, the instances are billed for usage between 10:59:30 and 11:00:00, a duration of 30 seconds.

  • ECS fee = (Number of nodes × Price per node per hour / 3,600) × Usage duration in seconds: (2 × 1.3825 / 3600) × 30 = CNY 0.0230

  • EMR service fee = (Number of nodes × EMR service fee per node per hour / 3,600) × Usage duration in seconds: (2 × 0.1572 / 3600) × 30 = CNY 0.0026

  • Total cost = ECS fee + EMR service fee: 0.0230 + 0.0026 = CNY 0.0256

Bill 2:

For the billing cycle from 11:00 to 12:00, the instances are billed for usage between 11:00:00 and 11:50:30, a duration of 3,030 seconds.

  • ECS fee = (Number of nodes × Price per node per hour / 3,600) × Usage duration in seconds: (2 × 1.3825 / 3600) × 3030 = CNY 2.3272

  • EMR service fee = (Number of nodes × EMR service fee per node per hour / 3,600) × Usage duration in seconds: (2 × 0.1572 / 3600) × 3030 = CNY 0.2646

  • Total cost = ECS fee + EMR service fee: 2.3272 + 0.2646 = CNY 2.5918