Updated on 2024-10-12 GMT+08:00

Billing Examples

Billing Scenario

A user purchased a pay-per-use Elasticsearch cluster at 15:30:00 on March 18, 2023. The specifications are as follows:

  • Node specifications: ess.spec-4u8g
  • Node storage: common I/O, 40 GB
  • Kibana public network access bandwidth: 6 Mbit/s

After a period of time, the user found that the current cluster specifications no longer met service requirements and updated the specifications to ess.spec-8u16g at 9:00:00 on March 20, 2023. Since the user wanted to use the cluster long term, the user then changed the cluster to yearly/monthly billing with a one-month duration at 10:30:00 on the same day. So how much will the user be billed for this cluster in March and April?

Billing Analysis

The total price of this cluster involves both pay-per-use and yearly/monthly usage:

  1. Pay-per-use usage: March 18, 2023, 15:30:00 to March 20, 2023, 10:30:00
  2. Yearly/monthly usage: March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59

Pay-per-use

From March 18, 2023, 15:30:00 to March 20, 2023, 09:00:00, an ess.spec-4u8g flavor cluster was used for 41.5 hours, so the price would be calculated as follows:

From March 20, 2023, 09:00:00 to March 20, 2023, 10:30:00, an ess.spec-8u16g flavor cluster was used for 1.5 hours, so the price would be calculated as follows:

Yearly/Monthly

From March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59, a cluster purchased using yearly/monthly billing was used for one month, so the price would be calculated as follows.

From March to April, the total fee of the cluster is $345.03 (15.53 + 1.26 + 328.24).