Akka Cluster Provision
Terraform script for bootstrapping an Akka Cluster on AWS.
This requires a Consul server (or cluster) to already run, which can be created here.
This will result in the creation of an AWS security group which you'll need in the next step.
To run a cluster, provide the following variables (the Papertrail variables are optional but useful to get aggregated logs):
terraform apply -var 'region=us-east-1' \ -var 'key_name=akka' \ -var 'key_path=/home/ubuntu/.ssh/akka.pem' \ -var 'consul_server_address=x.x.x.x' \ -var 'servers=3' \ -var 'members=3' \ -var 'aws_security_group=sg-1234567' \ -var 'papertrail_host=logsN.papertrailapp.com' \ -var 'papertrail_port=1234'