Hi @DeSilvaMPD
Welcome to the community forums
k6 distributed test execution assumes you will be running the test on Kubernetes. So there is no way to run those in bare EC2 machines. They should “belong” to a Kubernetes cluster using the k6-operator. Alternatively you could run this on the k6 cloud. For example, you can run this on EKS.
That is to say, if you need to run the scripts in a distributed fashion.
You should find more information in:
- GitHub - grafana/k6-operator: An operator for running distributed k6 tests..
- The Running distributed k6 tests on Kubernetes tutorial.
- A concrete example in my colleague Paul’s repo: GitHub - javaducky/demo-k6-operator: Project for demonstrating the use of k6-operator within Kubernetes clusters. which was discussed during the k6 Office Hours.
I hope this helps. Let us know if you have further questions or doubts.
Cheers!