Help Center> MapReduce Service> Billing> Billing Examples
Updated on 2023-09-12 GMT+08:00

Billing Examples

Scenario

At 15:30:00 on March 18, 2023, a user purchased a pay-per-use MRS analysis cluster of the common edition. The specifications are as follows:

  • master_node_default_group node group (master node group for short):
    • Number of nodes: 3
    • Node Specifications: c6.2xlarge.2 (8 vCPUs, 16 GB)
    • System disk: ultra-high I/O, 480 GB
    • Data disk: ultra-high I/O, 600 GB
  • core_node_analysis_group node group (Core node group for short):
    • Number of nodes: 3
    • Node specifications: c6.xlarge.4 (4 vCPUs, 16 GB)
    • System disk: general-purpose SSD, 480 GB
    • Data disk: general-purpose SSD, 600 GB

After a period of time, the user finds that the current specifications of the MRS cluster cannot meet service requirements and adds a node to the core_node_analysis_group node group at 09:00:00 on March 20, 2023. Due to continuous service growth, the memory of the master_node_default_group node group is insufficient. At 10:00:00 on March 20, 2023, the specifications of the Master node are upgraded to c6.2xlarge.4 (8 vCPUs, 32 GB). Since the cluster is intended for long-term use, the billing mode is switched to yearly/monthly on Mar 20, 2023, 11:00:00, and the billing period is for one month. How much is the total fee generated by the cluster from March to April?

Billing Analysis

Cluster usage can be divided into two billing modes: pay-per-use billing from 2023/03/18 15:30:00 to 2023/03/20 11:00:00 and yearly/monthly billing from 2023/03/20 11:00:00 to 2023/04/20 23:59:59.

Pay-per-Use

From 2023/03/18 15:30:00 to 2023/03/20 9:00:00, you are billed based on the cluster specifications used during cluster creation for 41.5 hours. The fee is calculated as follows:

If one node is added to the Core node group from 9:00:00 to 10:00:00 on March 20, 2023, 20 for one hour, the fee is calculated as follows:

From 10:00:00 to 11:00:00 on March 20, 2023/03/20, the specifications of the Master node group are upgraded to c6.2xlarge.4 (8 vCPUs, 32 GB) and the billing duration is one hour. The fee is calculated as follows:

Yearly/Monthly

From 2023/03/20 11:00:00 to 2023/04/20 23:59:59, the yearly/monthly billing mode is used. The billing duration is one month. The fee is calculated as follows:

From March to April, the total price of this ECS is $2903.6 USD (176.25 + 4.83 + 5.08 + 2717.44).