Updated on 2024-05-20 GMT+08:00

Pay-per-Use Billing

Pay-per-use billing means you pay nothing up front and are not tied into any contract or commitment. This section describes the billing rules for pay-per-use enterprise routers.

Application Scenarios

Pay-per-use is suitable for applications or services that cannot be interrupted when facing temporary or sudden traffic increases or unpredictable demands, such as e-commerce flash sales, testing, and scientific computing.

Billed Items

Enterprise routers are free. When you attach an instance to an enterprise router, you will be charged for this attachment and the traffic this attachment uses to communicate with the enterprise router.
Table 1 Enterprise Router billed items

Billed Item

Attachment Type

Billing Description

Duration that an attachment is used

  • VPC attachments
  • Virtual gateway attachments
  • VPN gateway attachments
  • Peering connection attachments
  • Global DC gateway attachments

Hourly billing starts when an attachment is created and stops when the attachment is deleted.

If an attachment is created to a shared enterprise router, hourly billing starts when the enterprise router owner accepts the attachment.

Traffic

  • VPC attachments
  • Virtual gateway attachments
  • VPN gateway attachments
  • Global DC gateway attachments

The amount of traffic flows from an attachment to an enterprise router (inbound traffic) is billed.

  • For each peering connection attachments, you will only be charged for the attachment. The traffic cost is included in your global private bandwidth. For details about how global private bandwidths are billed, see Central Network Billing Items.
  • CFW instance attachments and the traffic used by the attachments are free.

An attachment creator pays for the attachment and used traffic.

For example, if a shared enterprise router has VPC attachments from its owner and other accounts. If the owner creates attachments to the enterprise router, the owner pays for the attachments and used traffic. If the other accounts create attachments to the enterprise router, these accounts pay for the attachments and used traffic.

Only VPC attachments can be added to shared enterprise routers.

Billed Usage Period

  • Each attachment is billed hourly and only in full hours. If the duration is less than one hour, the attachment is still billed for a full hour. The following uses a VPC attachment as an example.
    • Scenario 1: You created a VPC attachment to an enterprise router at 12:36 on July 6, 2022 and deleted the attachment at 12:57 on July 6, 2022. In this case, you need to pay for a full hour.
    • Scenario 2: You created a VPC attachment to an enterprise router at 12:59 on July 6, 2022 and deleted the attachment at 13:01 on July 6, 2022. In this case, your usage spanned 2 clock hours, so you need to pay for 2 full hours.
  • The inbound traffic that flows from each attachment to the enterprise router is billed.

Billing Example

Assume that you created a pay-per-use enterprise router at 12:25:30 on July 6, 2023 and created two attachments to it later:
  • You created a VPC attachment at 12:36:00 on July 6, 2023 and deleted it at 18:50:00 on July 7, 2023. A total of 532-GB traffic was used by this attachment.
  • You created a virtual gateway attachment at 13:01:00 on July 6, 2023 and deleted it at 18:55:00 on July 7, 2023. A total of 1,300 GB traffic was used by this attachment.

The enterprise router is free. You are billed for how long each attachment is used and the traffic each attachment uses to communicate with the enterprise router.

In this example, each attachment costs $0.06 USD/hour, and the unit price of traffic is $0.02 USD/GB. Figure 1 shows how the total price is calculated, and Table 2 describes the price of each billed item.
Figure 1 Total price for a pay-per-use enterprise router
Table 2 Enterprise Router pricing details

Attachment Type

Required Duration

Price

Total Price

VPC attachment

From 12:36:30 on July 06, 2023 to 18:50:00 on July 07, 2023

The VPC attachment is used for 30 hours and 14 minutes. The total duration is 31 hours because pricing is listed on a per-hour basis.

  • From 12:36:00 on July 06, 2023 to 13:00:00 on July 06, 2023: 1 hour
  • From 13:00:00 on July 06, 2023 to 18:00:00 on July 07, 2023: 29 hours
  • From 18:00:00 on July 07, 2023 to 18:50:00 on July 07, 2023: 1 hour
  • Attachment price: $0.06 USD x 31 hours = $1.86 USD
  • Traffic price: $0.02 USD x 532 GB = $10.64 USD

$1.86 USD + $10.64 USD = $12.5 USD

Virtual gateway attachment

From 13:01:00 on July 06, 2023 to 18:55:00 on July 07, 2023

The virtual gateway attachment is used for 29 hours and 54 minutes. The total duration is 30 hours because pricing is listed on a per-hour basis.

  • From 13:01:00 on July 06, 2023 to 14:00:00 on July 06, 2023: 1 hour
  • From 14:00:00 on July 06, 2023 to 18:00:00 on July 07, 2023: 28 hours
  • From 18:00:00 on July 07, 2023 to 18:55:00 on July 07, 2023: 1 hour
  • Attachment price: $0.06 USD × 30 hours = $1.8 USD
  • Traffic price: $0.02 USD × 1,300 GB = $26 USD

$1.8 USD + $26 USD = $27.8 USD

The prices are for reference only. For details, see Enterprise Router Pricing Details.

Impacts of Arrears

Figure 2 shows the statuses a pay-per-use ECS can have throughout its lifecycle. After an enterprise router is purchased, it enters the valid period and runs normally during this period. If your account goes into arrears, the enterprise router enters a grace period and then a retention period.

Figure 2 Lifecycle of a pay-per-use enterprise router

Arrears Alert

The system will deduct fees for pay-per-use resources at the end of each billing cycle. If your account goes into arrears, we will notify you by email, SMS, or in-app message.

Impacts of Arrears

If your account is insufficient to pay your amount due, your account goes into arrears, and pay-per-use resources enter the grace period. You are still responsible for expenditures generated during the grace period. You can view the charges on the Billing Center > Overview page and pay any past due balance as needed.

If you do not bring your account balance current before the grace period expires, the resource turns to Frozen and enters a retention period.

If you do not bring your account balance current before the retention period ends, the resources will be released and the data cannot be restored.