When you look at k6 tests from the side of your server, it’s often helpful to know which IPs are associated with k6 Cloud tests. For example, you could use the IPs to identify traffic sources, or to bypass network rate limits.
IP addresses used by the k6 app
k6 uses AWS for load generators. Generally, the app and documentation refer to geographically distributed load generators as load zones. For the IP addresses used in the different load zones and filtering methods, refer directly to the Amazon IP ranges.
If you prefer to view the ranges directly, this
ip-ranges.json file provides the updated list of IP addresses used by our load generators.
To find the IP ranges that you can use, filter the
service of type EC2 and the
region of the selected load zones in your test configuration.
The zone codes are mapped as follows:
af-south-1: Cape Town
ap-east-1: Hong Kong
us-west-1: Palo Alto
sa-east-1: São Paulo
Maximum VUs per IP
If your tests have specific requirements, contact k6 support for a custom solution.
k6 has 3 tiers of hardware for load generation. The tier k6 chooses depends on the number of VUs allocated to a load zone.
- Tier 1
- 1-999 VUs allocated to the load zone
- Tier 2
- 1000-4001 VUs allocated to the load zone
- Tier 3
- 4001-5000 VUs allocated to the load zone
Regardless of the tier, the amount of resources (CPU, Memory, Network) per VU is the same. For example, if you start a test with 400VUs, k6 uses 1 Tier 1 server, meaning that the traffic generated from our service comes from 1 IP.
If you start a test with 1000VUs in a single load zone, k6 uses one Tier 2 server. If the same test is started in 2 load zones, k6 would allocate 500VUs per load zone and use two Tier 1 servers.