Start a cluster of zetta hubs on AWS with Terraform
JavaScript HCL Harbour Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
services
zetta-client
.gitignore
README.md
cluster.tf
compile-user-data.js
package.json
tele.conf
user-data.hb
variables.tf
verify-api.sh

README.md

Load testing cluster

Prerequisites

  1. Install terraform
  2. Ensure you have aws credentials in ~/.aws/credentials
  3. Nodejs

Deploying cluster

  1. First you need to configure parameters. Look at compile-user-data.js. Important ones are CLOUD_URL, CLIENTS, DEVICES

  2. Compile .user-data file node compile-user-data

  3. Start cluster terraform apply -var 'key_name=<keypair name>'

  4. To remove cluster terraform destroy -var 'key_name=<keypair name>'