Terraform script to provision an akka cluster with terraform and consul
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.
.gitignore
README.md
akka-cluster-node.tf
akka_upstart.conf
consul_upstart.conf
install.sh
ip_tables.sh
variables.tf

README.md

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'