I have a script that does some load testing. It makes post requests to an EC2 machine in AWS backed behind a firewall.
When I run scripts locally with k6 run script.js
, the request succeeds. I can call the endpoint of the resource hosted in AWS.
When I run with the cloud option, k6 cloud script.js
it fails with error:
IP (10.219.xx.xx) is in a blacklisted range (10.0.0.0/8) instance_id=0 lz="amazon:us:ashburn" test_run_id=1146113
That is not even my IP address. And I’m not blacklisting any IP in my script
Does it automatically blacklist this IP address?
These are my options:
httpDebug: 'full',
ext: {
loadimpact: {
name: 'activation load testing',
},
},
};```