No Description

Steven Jacobs 95ab717c13 clean up linode vars 5 months ago
files 95ab717c13 clean up linode vars 5 months ago
scripts 21525dd41f build from master with full erlang otp suite 5 months ago
.gitignore 50dae79c6b init repo 8 months ago
README.md 50dae79c6b init repo 8 months ago
main.tf 42644c2f29 increase runners to 10 5 months ago
output.tf 50dae79c6b init repo 8 months ago
providers.tf be647659a2 drop maxuser to match file descriptors 5 months ago
variables.tf 95ab717c13 clean up linode vars 5 months ago

README.md

terraform-linode-tsung

This is still a work in progress. It will install the Tsung cluster and set up some basic firewall rules, but it is not yet ready for real world usage.

Initialize and apply.

export TF_VAR_linode_token=${LINODE_API_TOKEN} 

terraform init
terraform apply

usage

local machine:

# replace ${linode_instance.tsung-server.0.ip_addresses} with provided IP
ssh -A root@${linode_instance.tsung-server.0.ip_addresses}

on tsung-server:

Required environment variables:

TSUNG_HOST # host to test against ("example.com")

Optional environment variables:

TSUNG_PATH # path to test on                               ("/")
TSUNG_TEST # test to run from /etc/tsung/${TSUNG_TEST}.xml ("ab")

To run:

TSUNG_HOST=example.com tsung-run

Visit the tsung-server IP address on port 8091 to view the report as the test runs.

cleanup

terraform destroy

todo

  • Firewall
  • Let's Encrypt certificate
  • DNS setup
  • User setup
  • Block Storage volume for persistent data and backups