-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Provisioning Example for Distributed Execution Using IaC - Terraform/AWS/EC2 #1933
New Provisioning Example for Distributed Execution Using IaC - Terraform/AWS/EC2 #1933
Conversation
Cool stuff!
|
Perhaps you could also show how locust settings can be set? (locust supports environment vars, command line and .conf-file, whatever is easiest, but you dont have to support all of them) |
Thanks @cyberw , I will do what you said and updates PR. |
Hi @cyberw , I made the first considerations you pointed out. Could you please validate if it is as expected? Tks. Obs: I'll prepare an example covering the other ways to configure locust and I promise to send it in the next PR. |
The docs ended up a little weird. Can you take a look? https://docs.locust.io/en/latest/running-cloud-integration.html |
Perhaps it is better to make the documentation shorter and just link to the markdown file? |
(the documentation could state what what it is useful for and give a brief description, but the details are a little too verbose to have in the docs) |
The proposal is to offer an uncomplicated example of distributed load execution.
With just a few steps we have Locust provisioned and distributed in the number of nodes provided, running in the aws cloud under ec2.
1. AWS Authentication
2. Configure your provisioning
variables.tf
3. Execute Terraform
cd examples/distribuited_execution_terraform/aws terraform init terraform apply --auto-approve
4. Access UI
Click on the link below to access the UI:
Result exemple:
5. Cleanup
6. More information
Terraform aws-get-started >> install-terraform-on-linux
Terraform module aws loadtest distribuited