- Install terraform
- Ensure you have aws credentials in
~/.aws/credentials
- Nodejs
-
First you need to configure parameters. Look at
compile-user-data.js
. Important ones areCLOUD_URL
,CLIENTS
,DEVICES
-
Compile
.user-data
filenode compile-user-data
-
Start cluster
terraform apply -var 'key_name=<keypair name>'
-
To remove cluster
terraform destroy -var 'key_name=<keypair name>'