The stress sources of a Performance Testing (PTS)-based stress test support the Internet and Alibaba Cloud virtual private clouds (VPCs).
Internet (default mode)
The stress sources are distributed across Content Delivery Network (CDN) nodes of Internet service providers (ISPs) in hundreds of cities around the world. The node IP addresses are allocated based on the stress level of a stress test.
Alibaba Cloud VPC
If you perform a performance testing in a VPC, the stress testers and the tested servers are located in the same region.
To use Alibaba Cloud VPCs for performance testing, you must select the region, VPC, security group, and vSwitch. For more information, see Stress testing in the internal network of Alibaba Cloud VPCs.
The regions supported by the node on which a performance testing is initiated in a VPC are displayed in the console.
Limits
Performance testing in an Alibaba Cloud VPC is subject to the following limits:
Resource limits: The performance testing capabilities vary from 20,000 to 100,000 transactions per second (TPS) based on the region.
IP address-based limits:
You must select a VPC in which a tested end resides.
All API calls performed during the performance testing must use the private IP address of VPCs or the domain names that are mapped to the private IP addresses. For more information about how to bind a domain name and an IP address, see Domain name-IP address binding.
A scenario supports up to one region. All testing APIs must use internal network services within the same region.
If a VPC is connected to a third-party cloud or an on-premises data center by using leased lines, make sure that the VPC and the third-party cloud or on-premises data center in which you want to perform a performance testing are in the same CIDR block. Example: 10.0.0.0/8.
Whitelist-based access limits:
Internal network access can only be granted manually. Before you conduct the performance testing, familiarize yourself with the operations related to ECS security groups and Server Load Balancer (SLB) instances.
You cannot impose limits on the outbound traffic of security groups. The security groups managed by cloud services are not supported.
Add the CIDR block of the vSwitch to private IP address whitelists of a tested end.
Before a performance testing, check whether your configuration items meet the preceding conditions, especially the IP limits and whitelist-based access limits. Otherwise, network connection is affected.