All Products
Search
Document Center

Performance Testing:Does stress testing through a public IP address incur traffic fees?

Last Updated:Mar 10, 2026

Whether traffic fees apply depends on how the public bandwidth of your Elastic Compute Service (ECS) instance is billed.

Bandwidth billing methodTraffic fees?Details
Fixed bandwidthNoThe bandwidth cost is included in the ECS instance price at purchase.
Pay-as-you-goYesCharges 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.