Help Center/ Migration Center/ FAQs/ TCO Analysis/ How Are the Estimated Prices Calculated?
Updated on 2024-09-05 GMT+08:00

How Are the Estimated Prices Calculated?

The following describes how MgC estimates the prices of resources.

Total Usage

  • MgC reviews your bills and refers to the usage duration or used capacity of a resource in the specified bill period.
  • The time when a resource was used is not displayed.
  • The unit can be hour or GB depending on the resource category.
  • When calculating the total usage of a yearly/monthly compute resource, MgC treats one month as 720 hours.

Estimated Average Monthly Usage

  • The collected source bills do not include the specific time when a resource was used. MgC assumes that the resource was used all of the time during the bill period. For example, if the specified bill period is two months, MgC assumes that a resource was used constantly in the two months.
  • Unlike Total Usage, Estimated Average Monthly Usage is a ratio and has no unit. The formula depends on the billing mode of resources.
    • For pay-per-use resources:

      Estimated average monthly usage = Total usage/Number of months in the bill period/720

      Assume that a pay-per-use resource is used for 23.66 hours during the bill period of one month (720 hours). The estimated average monthly usage of resource is 0.0328 (23.66/1/720).

    • For yearly/monthly resources:

      Estimated average monthly usage = Number of a resource

      Assume that two yearly/monthly cloud servers are used in the bill period, one month. The average monthly usage of the servers is 2. The total usage of the servers is 1440 hours (2 x 1 x 720).

  • Estimated average monthly usage is designed to facilitate price calculation when the billing mode of a source resource differs from that of the desired target resource.

Conversion Price

  • Conversion price at the source = Bill price (after discount)/Number of months in the bill period
  • Conversion price on Huawei Cloud
    • Conversion price of a pay-per-use resource = Official price (before discount) x Estimated average monthly usage x 720
    • Conversion price of a yearly/monthly resource = Official price (before discount) x Estimated average monthly usage

    Assume that a source resource is billed on a per-pay-use basis on the source cloud, but you want to use a yearly/monthly resource of the same specifications on Huawei Cloud. MgC uses the estimated average monthly usage to convert the pay-per-use pricing on the source cloud to a yearly/monthly equivalent on Huawei Cloud.

Examples

  • Example 1: Assume that a pay-per-use source resource was used for 100 hours over a bill period of five months, and the total cost was $68.4 USD. The price of the mapped Huawei Cloud resource is $1.5 USD/hour or $684.4 USD/month.
    Table 1 Conversion prices

    Item

    Source

    Huawei Cloud

    Total usage

    100 hours

    100 hours

    Estimated average monthly usage

    100/5/720 = 0.0278

    100/5/720 = 0.0278

    Conversion price (pay-per-use)

    68.4/5 = $13.68 USD

    1.5 x 0.0278 x 720 = $30.02 USD

    Conversion price (monthly)

    -

    684.4 x 0.0278 = $19.03 USD

    Based on the comparison, the source resource costs less than the Huawei Cloud resource, regardless of whether pay-per-use or yearly/monthly is used.

  • Example 2: Assume that a yearly/monthly source resource costed $68.4 USD during a bill period of five months. The price of the mapped Huawei Cloud resource is $0.03 USD/hour or $11 USD/month.
    Table 2 Conversion prices

    Item

    Source

    Huawei Cloud

    Total usage

    720 x 5 = 3600 hours

    3600 hours

    Estimated average monthly usage

    1

    1

    Conversion price (pay-per-use)

    -

    0.03 x 1x 720 = 21.6

    Conversion price (monthly)

    68.4/5 = $13.68 USD

    11 x 1 = $11 USD

    Based on the comparison, the source resource costs more than the Huawei Cloud resource if pay-per-use is used, and costs less than the Huawei Cloud resource if yearly/monthly is used.