Running Locust distributed with Terraform/AWS¶
Here’s one way to provision Locust using Infrastructure as Code/IaC.
For this we use a Terraform module that provisions 1 leader and “n” worker nodes. This implementation uses AWS and EC2, but you may be able to modify it for other cloud providers.
Further reading: Underlying Terraform module