Skip to content

An attempt to get a secured Kafka cluster running on Hashicorp Nomad

License

Notifications You must be signed in to change notification settings

yardbirdsax/kafka-on-nomad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache Kafka on Hashicorp Nomad.

This repository is my record of an attempt to get a secured Apache Kafka cluster running in Docker containers orchestrated by Hashicorp Nomad.

Pre-Requisites

  1. Install Terraform, Nomad, and Consul. Note that for Nomad and Consul you need only install the binaries, not set up servers.

Creating a Nomad lab cluster

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.

AWS

Follow these steps to deploy a Nomad cluster on AWS. This assumes you have a valid AWS CLI profile already configured.

  1. Navigate in a command prompt to the nomad-lab/aws directory in the repository.
  2. 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
  3. 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.

About

An attempt to get a secured Kafka cluster running on Hashicorp Nomad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages