Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 845 Bytes

Readme.md

File metadata and controls

17 lines (15 loc) · 845 Bytes

To run the experiments, run the following commands:

cd terraform/
# initialize working directory:
terraform init
# provision the droplets and run the experiments:
terraform apply -var="DO_API_TOKEN=use_your_own_do_token" -var="SSH_KEY_FILE=$HOME/.ssh/id_rsa.pub" -var="pvt_key=$HOME/.ssh/id_rsa" -var="NODES=10" -var="ROUNDS=25" -var="NUM_LEAVES=32"

Check out variables.tf for more variables. These variables can be assigned on the commandline. Check out the terraform documentation on assigning variables.

To destroy the droplets that were created above afterwards:

terraform destroy -var="DO_API_TOKEN=use_your_own_do_token" -var="SSH_KEY_FILE=$HOME/.ssh/id_rsa.pub" -var="pvt_key=$HOME/.ssh/id_rsa"