Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mettjus/terraform-aws-locust
Deploy a locust.io stress test cluster on AWS based on CoreOS/Docker
https://github.com/mettjus/terraform-aws-locust
Last synced: 28 days ago
JSON representation
Deploy a locust.io stress test cluster on AWS based on CoreOS/Docker
- Host: GitHub
- URL: https://github.com/mettjus/terraform-aws-locust
- Owner: mettjus
- Created: 2016-02-05T15:44:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T21:08:52.000Z (almost 9 years ago)
- Last Synced: 2024-08-04T02:07:53.373Z (4 months ago)
- Language: HCL
- Size: 3.91 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-locust - terraform-aws-locust - Deploy a Locust stress test cluster on AWS based on CoreOS/Docker. (Tools / Configuration Management)
README
# terraform-aws-locust
Deploy a locust.io stress test cluster on AWS based on CoreOS/Docker## WARNING!!!
This is going to create more-or-less a distributed denial-of-service attack in a fancy package and, therefore, if you point `target_host` at any server you don’t own you will behaving *unethically*, have your Amazon Web Services account *locked-out*, and be *liable* in a court of law for any downtime you cause.
Also keep in mind AWS Pricing for used EC2 instances will be applied.
You have been warned.
## Requirements
* Terraform
* AWS Account## Usage
Create a file named `terraform.tfvars` and specify custom variables. Example:
ssh_key_name = ""
access_key = ""
secret_key = ""
target_host = "http://example.com"
instance_type = "t2.small"
num_slaves = 3
...Refer to `variables.tf` to know what variables are available for overwrite.
## Update test configuration
- modify target host via tf variable in terraform.tfvars
- modify test.py
- update by running `make prepare-update && make apply` (taints necessary tf resources, re-uploads test file)