Whether traffic fees apply depends on how the public bandwidth of your Elastic Compute Service (ECS) instance is billed.
| Bandwidth billing method | Traffic fees? | Details |
|---|---|---|
| Fixed bandwidth | No | The bandwidth cost is included in the ECS instance price at purchase. |
| Pay-as-you-go | Yes | Charges follow the existing traffic billing policies configured for your ECS instance. |
Avoid traffic fees by using internal addresses
If you do not want to perform stress testing over the Internet, use one of the following addresses in your test script instead of a public IP address:
The private IP address of the Server Load Balancer (SLB) instance associated with your ECS instance
The internal IP address of the ECS instance itself
Both options route test traffic through the internal network, bypassing public bandwidth billing.