Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconinstall-open-jdk
file-type-iconzookeeper-ami
file-type-iconzookeeper-cluster
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-icon.pre-commit-hooks.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md

Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconinstall-open-jdk
file-type-iconzookeeper-ami
file-type-iconzookeeper-cluster
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-icon.pre-commit-hooks.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
Apache ZooKeeper

Apache ZooKeeper

Deploy an Apache ZooKeeper cluster. Supports automatic bootstrap, Exhibitor, zero-downtime rolling deployment, and auto healing.

Code Preview

Preview the Code

mobile file icon

README.md

down

ZooKeeper Cluster Example

This folder shows an example of how to use the zookeeper-cluster module to deploy a ZooKeeper Cluster.

How do you run this example?

To run this example, you need to do the following:

  1. Build the AMI
  2. Apply the Terraform code

Build the AMI

See the zookeeper-ami docs.

Apply the Terraform code

To apply the Terraform templates:

  1. Install Terraform
  2. Open vars.tf, set the environment variables specified at the top of the file, and fill in any other variables that don't have a default. This includes setting the ami_id variable to the ID of the AMI you just built.
  3. Run terraform init.
  4. Run terraform plan.
  5. If the plan looks good, run terraform apply.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?