edit-icon download-icon

Billing

Last Updated: Feb 12, 2018

1. How is Server Load Balancer billed?

For more information, see Billing.

2. Is the inbound traffic of SLB billed?

No.

Only the outbound traffic of SLB is billed. For more information, see Network traffic.

3. Is the traffic generated by health check billed?

No.

The traffic generated by the health check of SLB is not included in the billed traffic.

4. Will the billing of an ECS instance be affected after it is added to the backend server pool of SLB?

No.

No matter the billing method used for the backend ECS instance, the billing method remains the same after you associate the instance with SLB. SLB and the backend ECS instance are billed separately based on usage.

5. Is attack traffic billed?

Integrating with Alibaba Cloud Security, SLB can defend against up to 5 Gbps DDoS attacks. From when Alibaba Cloud Security detects an attack to when cleansing traffic begins, there may be a latency of several seconds. Therefore, the response to attack packets during this period will incur data usage and any corresponding fees. Such an attack also consumes the bandwidth resources of SLB.

6. If all the backend ECS instances of a SLB instance are stopped, or all the backend ECS instances are removed, is the SLB billed?

Yes. Fees may be incurred and billable based on the following:

In the case of billing by traffic, no traffic fee is generated when an instance is stopped, released, or not accessed.

SLB is a traffic distribution control service in front of backend ECS instances and provides services through its service address. If all backend ECS instances are stopped, but the SLB instance is not stopped, inbound traffic can still reach the service address of the SLB instance. In this case, the SLB instance will respond if it discovers that there are no available backend ECS instances by performing health check.

For Layer-4 SLB, only three-way handshake packets are returned. For Layer-7 SLB, a Tengine 503 error page is prompted because the service is provided by Tengine. If there are ongoing requests, SLB will respond continuously. Such response traffic is billed.

This also applies to SLB instances with no ECS instances mounted. Therefore, we recommend that you stop the SLB instance if it is unnecessary in order to avoid extraneous costs.

Thank you! We've received your feedback.