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

Billing Example

Unit prices in this example are used for reference only, and the prices calculated here are only estimates. As unit prices change from time to time, the prices shown here may differ from actual prices. For details, see the data released at the Huawei Cloud official website.

Billing Scenario

Assume that a user purchased a pay-per-use Enterprise Edition VPN gateway with the following configuration at 15:30:00 on March 18, 2024:

  • Billing mode: pay-per-use
  • Network type: public network
  • Associated with a VPC
  • Specification: Professional 1
  • Number of VPN connection groups: 10
  • HA mode: active-active
  • Bandwidth of the active EIP: 20 Mbit/s
  • Bandwidth of active EIP 2: 20 Mbit/s
  • Public network bandwidth: billed by bandwidth

The pricing of billing items is as follows:

  • Gateway: $0.33 USD/hour per gateway
  • VPN connection group: $0.035 USD/hour per connection group
  • Bandwidth fee (active EIP + active EIP 2): $1.14 USD/hour

The user purchased one VPN connection group at 16:30:00 on March 18, 2024. After a period of time, the user found that the VPN quotas no longer met service requirements, and increased the bandwidth to 30 Mbit/s at 09:00:00 on March 20, 2024. The new bandwidth price is $1.82 USD per hour. Since the VPN gateway was intended for long-term use, the user changed the billing mode of the VPN gateway to yearly/monthly and set the renewal duration to one month at 10:30:00 on March 20, 2024. So how much will the user be billed for this VPN gateway in March and April?

Billing Analysis

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

  • Pay-per-use usage: 15:30:00 on March 18, 2024 to 10:30:00 on March 20, 2024
  • Yearly/Monthly usage: 10:30:00 on March 20, 2024 to 23:59:59 on April 20, 2024
Table 1 Price details

Billing Phase

VPN Connection Group

Billed Duration

Price Details (USD)

Total Price (USD)

Pay-per-use usage from 15:30:00 on March 18, 2024 to 10:30:00 on March 20, 2024

Within the quota

60 minutes

2024/03/18 15:30:00 ~ 2024/03/18 16:30:00

  • VPN gateway: 60/60 x 0.33 x 1 = 0.33
  • VPN connection group: 60/60 x 0 x 10 = 0
  • Bandwidth: 60/60 x 1.14 = 1.14

65.7

Exceeding the quota

2430 minutes

2024/03/18 16:30:00 ~ 2024/03/20 09:00:00

  • VPN gateway: 2430/60 x 0.33 x 1 = 13.365
  • VPN connection group: 2430/60 x 0 x 10 + 2430/60 x 0.035 x 1 = 1.4175
  • Bandwidth: 2430/60 x 1.14 = 46.17

Exceeding the quota

90 minutes

2024/03/20 09:00:00 ~ 2024/03/20 10:30:00

  • VPN gateway: 90/60 x 0.33 x 1 = 0.495
  • VPN connection group: 90/60 x 0 x 10 + 90/60 x 0.035 x 1 = 0.0525
  • Bandwidth: 90/60 x 1.82 = 2.73

Yearly/Monthly usage from 10:30:00 on March 20, 2024 to 23:59:59 on April 20, 2024

Exceeding the quota

One month

2024/03/20 10:30:00~2024/04/20 23:59:59

  • VPN gateway: $209 USD/month
  • VPN connection group: $82.5 USD/month (If more than 10 VPN connection groups are required, the user can purchase additional VPN connection groups as required, which are sold in units of 10.)
  • Bandwidth: $858.60 USD/month

1150.1

From March to April, the total price of the VPN gateway is $1215.8 USD (65.7 + 1150.1).