This repository is my record of an attempt to get a secured Apache Kafka cluster running in Docker containers orchestrated by Hashicorp Nomad.
- Install Terraform, Nomad, and Consul. Note that for Nomad and Consul you need only install the binaries, not set up servers.
This repository has a number of sub-modules for creating a complete Nomad cluster setup on various providers using Terraform. If you did not clone the repository using the --recurse-submodules
option, make sure you run git submodule update --init
to download everything.
Follow these steps to deploy a Nomad cluster on AWS. This assumes you have a valid AWS CLI profile already configured.
- Navigate in a command prompt to the
nomad-lab/aws
directory in the repository. - Run the following commands:
export AWS_REGION=us-east-1 terraform init terraform plan -out out.tfplan -var-file ../lab.tfvars terraform apply out.tfplan
- Run the
examples/nomad-examples-helper/nomad-examples-helpers.sh
script to output useful information, such as the IP address of the Nomad master server.