The fees for a Server Load Balancer (SLB) instance are calculated using the Pay-As-You-Go billing method and are calculated based on your actual traffic usage. You can release a Pay-As-You-Go instance at any time.

To purchase a Pay-As-You-Go SLB instance, go to the purchase page.

Billing items

The following table details the items that are billed. Billing items vary by network type and instance type, as shown in the following table.

Note “-” means that the corresponding item is not billed, and “✔” means that the corresponding item is billed.
Network type Instance type Instance fee Traffic fee Specification fee
Internet Shared-performance instances -
Guaranteed-performance instances
Intranet Shared-performance instances - - -
Guaranteed-performance instances - -

Instance fee

SLB instances that communicate through the Internet incur fees for public IP address reservations. SLB instances that communicate through the intranet do not incur such charges. Instance fees for SLB instances that use the Internet are calculated as follows:

  • Instance fee = unit price × instance reservation time

    The reservation time is the period from the time at which the instance is created to the time at which the instance is released.

  • Instance fees are billed on an hourly basis. If your period of usage is less than one hour, then the bill is rounded up to one hour.

If the price on the purchase page of the console is different from the price listed in the following table, take the price on the purchase page as the standard.

Region Instance fee (USD/hour)
China (Hangzhou), China (Beijing), China (Shenzhen), China (Shanghai), China (Zhangjiakou) 0.003
China (Qingdao) 0.003
Hong Kong 0.009
US (Virginia), US (Silicon Valley) 0.005
Singapore 0.006
Japan (Tokyo) 0.009
Germany (Frankfurt) 0.006
UAE (Dubai) 0.009
Australia (Sydney) 0.006

Traffic fee

SLB instances that communicate through the Internet incur traffic fees based on your usage. However, SLB instances that communicate through the intranet can be used free of charge. Traffic fees for SLB instances that use the Internet are calculated as follows:

  • Internet traffic fee = unit traffic price × time

    Internet traffic is the outbound (downstream) traffic. Inbound (upstream) traffic is not charged.

  • Traffic fees are billed on an hourly basis. If your period of usage is less than one hour, then the bill is rounded up to one hour.

    If the price on the purchase page of the console is different from the price listed in the following table, take the price on the purchase page as the standard.

    Region Traffic fee (USD/Gbit/s)
    China (Hangzhou), China (Beijing), China (Shenzhen), China (Shanghai), China (Zhangjiakou) 0.125
    China (Qingdao) 0.113
    Hong Kong 0.156
    US (Virginia), US (Silicon Valley) 0.078
    Singapore 0.117
    Japan (Tokyo) 0.120
    Germany (Frankfurt) 0.070
    UAE (Dubai) 0.447
    Australia (Sydney) 0.096

Capacity fee

The following are three key performance metrics for guaranteed-performance instances. The limits of these metrics are different for instances of different capacities. For more information, see Guaranteed-performance instance FAQs.

  • Max Connection

    The maximum number of connections to a SLB instance. When the maximum number of connections reaches the limits of the capacity, the new connection will be dropped.

  • Connection Per Second (CPS)

    The rate at which a new connection is established per second. When the CPS reaches the limits of the specification, the new connection will be dropped.

  • Query Per Second (QPS)

    The number of HTTP/HTTPS requests that can be processed per second. This metrics is only available for Layer-7 Server Load Balancer. When the QPS reaches the limits of the specification, the new connection will be dropped.

The capacity fee of a guaranteed-performance instance is charged based on usage regardless of the capacity that you choose. If the actual performance metrics is between two capacities, the cost is calculated according to the larger capacity.

For example, the capacity slb.s3.large (1,000,000; CPS 500,000; QPS 50,000) is selected. The actual usage of your instance in an hour is as follow:
Max Connection CPS QPS
90,000 4,000 11,000
  • From the perspective of Max Connection, the actual metrics 90,000 occurs between the limit 50,000 defined in the Standard I (slb.s2.small) capacity and the limit 100,000 defined in the Standard II (slb.s2.medium) capacity. Therefore, the capacity of the Max Connection metrics in this hour is Standard II (slb.s2.medium).

  • From the perspective of CPS, the actual metrics 4,000 occurs between the limit 3,000 defined in the Small I (slb.s1.small) specification and the limit 5,000 defined in the Standard I (slb.s2.small) specification. Therefore, the specification of the CPS metrics in this hour is Standard I (slb.s2.small).

  • From the perspective of QPS, the actual metrics 11,000 occurs between the limit 10,000 defined in the Standard II (slb.s2.medium) capacity and the limit 20,000 defined in the Higher I (slb.s3.small) capacity. Therefore, the capacity of the QPS metrics in this hour is Higher I (slb.s3.small).

    Comparing these three metrics, the specification of the QPS metrics is highest, therefore, the specification fee of the instance in this hour is charged at the price of the Higher I (slb.s3.small) specification.

The following figure is an example showing how the specification fee is billed for an SLB instance:

The billing of the guaranteed-performance instances is flexible.  The capacity you select when purchasing an instance is the performance limitation of the instance. For example, if slb.s3.medium is selected, the new connections are dropped when the HTTP requests in one second reach 30,000.

The price in the following table is only for reference. Take the price on the console as standard.

Region Capacity Max Connection CPS QPS Specification fee (USD/hour)

China (Hangzhou)

China (Zhangjiakou)

China (Hohhot)

China (Qingdao)

China (Beijing)

China (Shanghai)

China (Shenzhen)

Capacity 1: Small I (slb.s1.small) 5,000 3,000 1,000 Free of charge
Capacity 2: Standard I (slb.s2.small) 50,000 5,000 5,000 0.05
Capacity 3: Standard II (slb.s2.medium) 100,000 10,000 10,000 0.10
Capacity 4: Higher I (slb.s3.small) 200,000 20,000 20,000 0.20
Capacity 5: Higher II (slb.s3.medium) 500,000 50,000 30,000 0.31
Capacity 6: Super I (slb.s3.large) 1,000,000 100,000 50,000 0.51

Singapore

Malaysia (Kuala Lumpur)

Indonesia (Jakarta)

India (Mumbai)

US (Silicon Valley)

US (Virginia)

China (Hong Kong)

Capacity 1: Small I (slb.s1.small) 5,000 3,000 1,000 Free
Capacity 2: Standard I (slb.s2.small) 50,000 5,000 5,000 0.06
Capacity 3: Standard II (slb.s2.medium) 100,000 10,000 10,000 0.12
Capacity 4: Higher I (slb.s3.small) 200,000 20,000 20,000 0.24
Capacity 5: Higher II (slb.s3.medium) 500,000 50,000 30,000 0.37
Capacity 6: Extra I (slb.s3.large) 1,000,000 100,000 50,000 0.61