zookeeper-cluster: A Terraform module to run a cluster of ZooKeeper nodes with ENIs
and EBS Volumes attached, zero-downtime deployment, and auto-recovery of failed nodes.
install-supervisord: Install Supervisord. You can use Supervisord as a process
supervisor for Exhibitor (which itself is a process supervisor for ZooKeeper).
exhibitor-shared-config: Create an S3 bucket and permissions that allow Exhibitor
to store shared ZooKeeper config in an S3 bucket.
zookeeper-iam-permissions: A Terraform module to configure the IAM permissions
used by ZooKeeper and Exhibitor.
Apache ZooKeeper is an open source, distributed, hierarchical, key-value store. It
implements a distributed consensus protocol, which makes it a useful primitive in other distributed systems (e.g.,
Kafka, Mesos, Neo4j) as a way to do leader election, synchronization, coordination, locking, naming registry, and so
on.
What is Exhibitor?
Exhibitor is a supervisor system for ZooKeeper that provides a number of
features, including starting the ZooKeeper process, restarting the process if it fails, performing periodic cleanup
of ZooKeeper's log directory, and offering a GUI for viewing ZooKeeper nodes.
What is a Gruntwork module?
At Gruntwork, we've taken the thousands of hours we spent building infrastructure on AWS and
condensed all that experience and code into pre-built packages or modules. Each module is a battle-tested,
best-practices definition of a piece of infrastructure, such as a VPC, ECS cluster, or an Auto Scaling Group. Modules
are versioned using Semantic Versioning to allow Gruntwork clients to keep up to date with the
latest infrastructure best practices in a systematic way.
To use a module in your Terraform templates, create a module resource and set its source field to the Git URL of
this repo. You should also set the ref parameter so you're fixed to a specific version of this repo, as the master
branch may have backwards incompatible changes (see module
sources).
For example, to use v1.0.8 of the standalone-server module, you would add the following:
module"ecs_cluster" {
source = "git::git@github.com:gruntwork-io/terraform-aws-server.git//modules/standalone-server?ref=v1.0.8"// set the parameters for the standalone-server module
}
Note: the double slash (//) is intentional and required. It's part of Terraform's Git syntax (see module
sources).
See the module's documentation and vars.tf file for all the parameters you can set. Run terraform get -update to
pull the latest version of this module from this repo before running the standard terraform plan and
terraform apply commands.
Using scripts & binaries
You can install the scripts and binaries in the modules folder of any repo using the Gruntwork
Installer. For example, if the scripts you want to install are
in the modules/ecs-scripts folder of the https://github.com/gruntwork-io/terraform-aws-ecs repo, you could install them
as follows:
See the docs for each script & binary for detailed instructions on how to use them.
Developing a module
Versioning
We are following the principles of Semantic Versioning. During initial development, the major
version is to 0 (e.g., 0.x.y), which indicates the code does not yet have a stable API. Once we hit 1.0.0, we will
follow these rules:
Increment the patch version for backwards-compatible bug fixes (e.g., v1.0.8 -> v1.0.9).
Increment the minor version for new features that are backwards-compatible (e.g., v1.0.8 -> 1.1.0).
Increment the major version for any backwards-incompatible changes (e.g. 1.0.8 -> 2.0.0).
The version is defined using Git tags. Use GitHub to create a release, which will have the effect of adding a git tag.
{"treedata":{"name":"root","toggled":true,"children":[{"name":".circleci","children":[{"name":"config.yml","path":".circleci/config.yml","sha":"d54961191061c3c2777e46410fe6f685eac9a8c6"}]},{"name":".gitignore","path":".gitignore","sha":"680445c9f2a64093b79e862110e7ba5a1631396b"},{"name":".pre-commit-config.yaml","path":".pre-commit-config.yaml","sha":"54c0821e8bc133285e4b99948cab34ee7088fd5b"},{"name":"CODEOWNERS","path":"CODEOWNERS","sha":"4be01a6334d39aa5bf6abe6baae701f5e2a8c5ac"},{"name":"LICENSE.txt","path":"LICENSE.txt","sha":"689cf10ec98e3297a75bdd9b9fb5da10b7a675f8"},{"name":"README.md","path":"README.md","sha":"a45d4c5609fff85a2c844f45a078db4b6ad7f4b7","toggled":true},{"name":"examples","children":[{"name":"install-open-jdk","children":[{"name":"main.tf","path":"examples/install-open-jdk/main.tf","sha":"d282547d6809ce3f163dcef3e6bb774ae9abb300"},{"name":"outputs.tf","path":"examples/install-open-jdk/outputs.tf","sha":"6d1b9b915cdb10c8ba114d61d0c47f0babd2ebe8"},{"name":"packer","children":[{"name":"build.json","path":"examples/install-open-jdk/packer/build.json","sha":"a52ffa21b70d809026886f0c539de5340159102d"}]},{"name":"vars.tf","path":"examples/install-open-jdk/vars.tf","sha":"d1eba93458ba1cfdf6b588d968e558f756087e9f"}]},{"name":"zookeeper-ami","children":[{"name":"README.md","path":"examples/zookeeper-ami/README.md","sha":"05c95c33022491de1a986d0aca53019913a1f44a"},{"name":"configure-image.sh","path":"examples/zookeeper-ami/configure-image.sh","sha":"1284a3e34391d6d45e93ba03a325accad284c496"},{"name":"docker-compose.yml","path":"examples/zookeeper-ami/docker-compose.yml","sha":"4a19a656e2f87a6cbf054f03e561af25293cc50e"},{"name":"mock","children":[{"name":"README.md","path":"examples/zookeeper-ami/mock/README.md","sha":"281f2d6e28652e1269003052189206637f7a39e1"},{"name":"bash-commons","children":[{"name":"aws.sh","path":"examples/zookeeper-ami/mock/bash-commons/aws.sh","sha":"c3d5b6b6c112ad9296f3207404e5aa183a6346e6"}]},{"name":"modules","children":[{"name":"attach-eni","path":"examples/zookeeper-ami/mock/modules/attach-eni","sha":"da052caea4586b27c2dc13e521092e9403fcc327"},{"name":"mount-ebs-volume","path":"examples/zookeeper-ami/mock/modules/mount-ebs-volume","sha":"e0171fef05dbd120dc8668ceeca176cc5c0dfce4"}]},{"name":"user-data","children":[{"name":"user-data.sh","path":"examples/zookeeper-ami/mock/user-data/user-data.sh","sha":"43a641aa2937ba6f7c07c8391c947de2f65b7920"}]}]},{"name":"zookeeper.json","path":"examples/zookeeper-ami/zookeeper.json","sha":"8c4b84869fd40a1db9bc8bef61d6b3a19b3762c0"}]},{"name":"zookeeper-cluster","children":[{"name":"README.md","path":"examples/zookeeper-cluster/README.md","sha":"eda7e80c820a57b327129083f52b73e0713ae6b3"},{"name":"main.tf","path":"examples/zookeeper-cluster/main.tf","sha":"0c30465554c11d219c534ea4dfc3ddd2cf1360b2"},{"name":"outputs.tf","path":"examples/zookeeper-cluster/outputs.tf","sha":"b975f1a72a486b619e310e8140110b84dfc29085"},{"name":"user-data","children":[{"name":"user-data.sh","path":"examples/zookeeper-cluster/user-data/user-data.sh","sha":"e9791f80ed83847ba70305ce8ae5ef069f5c650a"}]},{"name":"vars.tf","path":"examples/zookeeper-cluster/vars.tf","sha":"ad3d6ba8d303e025fa8afd2a618510deeafd2e20"}]}]},{"name":"modules","children":[{"name":"bash-commons","children":[{"name":"README.md","path":"modules/bash-commons/README.md","sha":"36085f6f3d8ce299f64aa01f05761f60037a307b"},{"name":"install.sh","path":"modules/bash-commons/install.sh","sha":"aef9fac2b81593e7fe9bbc54c775d77883b78904"},{"name":"lib","children":[{"name":"assert.sh","path":"modules/bash-commons/lib/assert.sh","sha":"46db8af49acb3e8d707447827dc614740add6a63"},{"name":"aws.sh","path":"modules/bash-commons/lib/aws.sh","sha":"3f14d36e2c7b57c91be34bdf30fff4f400a7d1aa"},{"name":"log.sh","path":"modules/bash-commons/lib/log.sh","sha":"66f936873d4d104c94693d3e68790cc0b9d36c63"},{"name":"os.sh","path":"modules/bash-commons/lib/os.sh","sha":"435e592c0e992f2266247a2da797a0eefc429f35"},{"name":"strings.sh","path":"modules/bash-commons/lib/strings.sh","sha":"19dbfe630edfbe71e7c8c1beee3d50fffdd5b1e6"}]}]},{"name":"exhibitor-shared-config","children":[{"name":"README.md","path":"modules/exhibitor-shared-config/README.md","sha":"736686bba5c252be2acf0eb14a00dd59a23d72a0"},{"name":"main.tf","path":"modules/exhibitor-shared-config/main.tf","sha":"d5ad468ec600564e4d17608aa318c470a8b3d676"},{"name":"outputs.tf","path":"modules/exhibitor-shared-config/outputs.tf","sha":"f25b449e17b3d611d5248bd58499219511792c79"},{"name":"vars.tf","path":"modules/exhibitor-shared-config/vars.tf","sha":"627fa84d0ef4c7c765e312acc8d9ca775688ed4b"}]},{"name":"install-exhibitor","children":[{"name":"README.md","path":"modules/install-exhibitor/README.md","sha":"95b622d4e7ed592c3a1c042c387b3d1ece4c0747"},{"name":"install.sh","path":"modules/install-exhibitor/install.sh","sha":"28dd29660f548949746261ab88d831897961b104"},{"name":"pom.xml","path":"modules/install-exhibitor/pom.xml","sha":"e5cca292196cdaa093cc484465eb5bc2d48ed618"},{"name":"zookeeper-log4j.properties","path":"modules/install-exhibitor/zookeeper-log4j.properties","sha":"80e3ae28555ed63b5a74d127796ff3f2adfce223"}]},{"name":"install-open-jdk","children":[{"name":"README.md","path":"modules/install-open-jdk/README.md","sha":"ecf31489edfe0016cd78d7bf6225056dd3981173"},{"name":"install.sh","path":"modules/install-open-jdk/install.sh","sha":"529b9561847a8cedc53ea14c9703031f789f634d"}]},{"name":"install-oracle-jdk","children":[{"name":"README.md","path":"modules/install-oracle-jdk/README.md","sha":"1e4be20a4464add964f1311b17da9e4e069bd2a8"},{"name":"install.sh","path":"modules/install-oracle-jdk/install.sh","sha":"53b798bd0984de5fd27048d3dfcd437d0687c117"}]},{"name":"install-supervisord","children":[{"name":"README.md","path":"modules/install-supervisord/README.md","sha":"5575c3cb66fcf12358a924249d5fec9febd275c2"},{"name":"install.sh","path":"modules/install-supervisord/install.sh","sha":"9a29cb5400e16f30a203e4e4d617dd2e51360594"},{"name":"supervisor-initd-script.sh","path":"modules/install-supervisord/supervisor-initd-script.sh","sha":"171b91613e98ab2bd10282025caff1707918c95a"},{"name":"supervisor-systemd-unit.service","path":"modules/install-supervisord/supervisor-systemd-unit.service","sha":"76b13943df6585299f93c101873bdfd81ca3fa19"},{"name":"supervisord.conf","path":"modules/install-supervisord/supervisord.conf","sha":"d96beb0ca9a16279ed1bdf74cbb6516275d85085"}]},{"name":"install-zookeeper","children":[{"name":"README.md","path":"modules/install-zookeeper/README.md","sha":"25009f48b77b50b22a6f3deae8235d640d457728"},{"name":"install.sh","path":"modules/install-zookeeper/install.sh","sha":"b3dda6fbc583db6c436b935f95b1cd2ff84305f6"},{"name":"security","children":[{"name":"zookeeper.KEYS","path":"modules/install-zookeeper/security/zookeeper.KEYS","sha":"f23552bd9489de0f229bb4bb27dfb6a0376904f4"},{"name":"zookeeper.asc","path":"modules/install-zookeeper/security/zookeeper.asc","sha":"de701fc5a9b18af3095d32de998b95d7f25667ef"}]}]},{"name":"run-exhibitor","children":[{"name":"README.md","path":"modules/run-exhibitor/README.md","sha":"473183248833afc4c2912d6abe1ab13ebc79f91d"},{"name":"bin","children":[{"name":"run-exhibitor","path":"modules/run-exhibitor/bin/run-exhibitor","sha":"c0371037f11c72bb3e2b05ce7c47ba81d3f74785"}]},{"name":"install.sh","path":"modules/run-exhibitor/install.sh","sha":"995fb51d8fd686483a67be21d2a5e6005e27c2cf"}]},{"name":"run-health-checker","children":[{"name":"README.md","path":"modules/run-health-checker/README.md","sha":"4610cc44b430ad38e7ddf4475bcc2609bdbd5fbc"},{"name":"bin","children":[{"name":"check-zookeeper","path":"modules/run-health-checker/bin/check-zookeeper","sha":"c952376818aa1b3c08e6ce54c6b7b44811911696"},{"name":"run-health-checker","path":"modules/run-health-checker/bin/run-health-checker","sha":"3b663fa426632481b1e618285ef983cffd395809"}]},{"name":"install.sh","path":"modules/run-health-checker/install.sh","sha":"029e28e68fe5a1f7698afbec47879694e4f12c92"}]},{"name":"zookeeper-cluster","children":[{"name":"README.md","path":"modules/zookeeper-cluster/README.md","sha":"0567ae6a33387ef0a8afe59bad3b0bc6933d6b37"},{"name":"main.tf","path":"modules/zookeeper-cluster/main.tf","sha":"f47a0165e0698da1247b41746cb6dae3d0fe9483"},{"name":"outputs.tf","path":"modules/zookeeper-cluster/outputs.tf","sha":"424dada690378a4bd7aa8e903c61ad77746ebf99"},{"name":"vars.tf","path":"modules/zookeeper-cluster/vars.tf","sha":"8474ebfa78cc045581dbea258aba97b7fea65b42"}]},{"name":"zookeeper-iam-permissions","children":[{"name":"README.md","path":"modules/zookeeper-iam-permissions/README.md","sha":"2399cd6680bfbf24b2b13cca69048d06d6afc5ed"},{"name":"main.tf","path":"modules/zookeeper-iam-permissions/main.tf","sha":"f430c2d2634e49c0981545bf9f42930c4c1ba954"},{"name":"vars.tf","path":"modules/zookeeper-iam-permissions/vars.tf","sha":"9c3a5c00d0591fd79c9e63b6c8bf753cc14cda61"}]},{"name":"zookeeper-security-group-rules","children":[{"name":"README.md","path":"modules/zookeeper-security-group-rules/README.md","sha":"dbc968a1d10180608a86efe6adfdb83f658be2b0"},{"name":"main.tf","path":"modules/zookeeper-security-group-rules/main.tf","sha":"f337a48713e1e19889b8cebb8bc4dec1238b303b"},{"name":"vars.tf","path":"modules/zookeeper-security-group-rules/vars.tf","sha":"6319feab9b2eb4407d562436d716e64ef57b17fd"}]}]},{"name":"terraform-cloud-enterprise-private-module-registry-placeholder.tf","path":"terraform-cloud-enterprise-private-module-registry-placeholder.tf","sha":"ae586c0fe830819580e1009d41a9074f16e65bed"},{"name":"test","children":[{"name":"README.md","path":"test/README.md","sha":"a3b551ce00165ed25029229aae7a5ac5d9c33f91"},{"name":"go.mod","path":"test/go.mod","sha":"b4b99b68c1b6452e558d5a0905159250e58ed803"},{"name":"go.sum","path":"test/go.sum","sha":"a797de11b2ad5f592dd5dae1493c7602d7517fb4"},{"name":"open_jdk_test.go","path":"test/open_jdk_test.go","sha":"18e6c2f4c4e5c5a22ae4c85fb1934d6275858fb9"},{"name":"zookeeper_cluster_test.go","path":"test/zookeeper_cluster_test.go","sha":"84fc388e44cd82e7cf52a5a8011ea2f4a37a7571"}]}]},"detailsContent":"<p><img src=\"https://img.shields.io/badge/tf-%3E%3D0.15.0-blue.svg\" alt=\"Terraform Version\" class=\"preview__body--diagram\"></p>\n<h1 class=\"preview__body--title\" id=\"zoo-keeper\">ZooKeeper</h1><div class=\"preview__body--border\"></div><p>This repo contains modules for deploying and managing <a href=\"https://zookeeper.apache.org/\" class=\"preview__body--description--blue\" target=\"_blank\">Apache ZooKeeper</a> along with\n<a href=\"https://github.com/soabase/exhibitor/\" class=\"preview__body--description--blue\" target=\"_blank\">Exhibitor</a>.</p>\n<p>The main modules are:</p>\n<ul>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/zookeeper-cluster\" class=\"preview__body--description--blue\">zookeeper-cluster</a>: A Terraform module to run a cluster of ZooKeeper nodes with ENIs\nand EBS Volumes attached, zero-downtime deployment, and auto-recovery of failed nodes.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/install-zookeeper\" class=\"preview__body--description--blue\">install-zookeeper</a>: Install Apache ZooKeeper.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/install-exhibitor\" class=\"preview__body--description--blue\">install-exhibitor</a>: Install Exhibitor, a process supervisor for ZooKeeper.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/run-exhibitor\" class=\"preview__body--description--blue\">run-exhibitor</a>: Start Exhibitor, which, in turn, will start ZooKeeper.</p>\n</li>\n</ul>\n<p>The supporting modules are:</p>\n<ul>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/install-oracle-jdk\" class=\"preview__body--description--blue\">install-oracle-jdk</a>: Install the Oracle JDK.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/install-supervisord\" class=\"preview__body--description--blue\">install-supervisord</a>: Install Supervisord. You can use Supervisord as a process\nsupervisor for Exhibitor (which itself is a process supervisor for ZooKeeper).</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/exhibitor-shared-config\" class=\"preview__body--description--blue\">exhibitor-shared-config</a>: Create an S3 bucket and permissions that allow Exhibitor\nto store shared ZooKeeper config in an S3 bucket.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/zookeeper-iam-permissions\" class=\"preview__body--description--blue\">zookeeper-iam-permissions</a>: A Terraform module to configure the IAM permissions\nused by ZooKeeper and Exhibitor.</p>\n</li>\n<li>\n<p><a href=\"/repos/v0.11.0/package-zookeeper/modules/zookeeper-security-group-rules\" class=\"preview__body--description--blue\">zookeeper-security-group-rules</a>: A Terraform module to set up security\ngroup rules for ZooKeeper and Exhibitor.</p>\n</li>\n</ul>\n<p>Click on each module above to see its documentation.</p>\n<h2 class=\"preview__body--subtitle\" id=\"getting-started\">Getting started</h2>\n<p>Head over to the <a href=\"/repos/v0.11.0/package-zookeeper/examples\" class=\"preview__body--description--blue\">examples folder</a> for working example code.</p>\n<h2 class=\"preview__body--subtitle\" id=\"what-is-zoo-keeper\">What is ZooKeeper?</h2>\n<p><a href=\"https://zookeeper.apache.org/\" class=\"preview__body--description--blue\" target=\"_blank\">Apache ZooKeeper</a> is an open source, distributed, hierarchical, key-value store. It\nimplements a distributed consensus protocol, which makes it a useful primitive in other distributed systems (e.g.,\nKafka, Mesos, Neo4j) as a way to do leader election, synchronization, coordination, locking, naming registry, and so\non.</p>\n<h2 class=\"preview__body--subtitle\" id=\"what-is-exhibitor\">What is Exhibitor?</h2>\n<p><a href=\"https://github.com/soabase/exhibitor/\" class=\"preview__body--description--blue\" target=\"_blank\">Exhibitor</a> is a supervisor system for ZooKeeper that provides a number of\nfeatures, including starting the ZooKeeper process, restarting the process if it fails, performing periodic cleanup\nof ZooKeeper's log directory, and offering a GUI for viewing ZooKeeper nodes.</p>\n<h2 class=\"preview__body--subtitle\" id=\"what-is-a-gruntwork-module\">What is a Gruntwork module?</h2>\n<p>At <a href=\"http://www.gruntwork.io\" class=\"preview__body--description--blue\" target=\"_blank\">Gruntwork</a>, we've taken the thousands of hours we spent building infrastructure on AWS and\ncondensed all that experience and code into pre-built <strong>packages</strong> or <strong>modules</strong>. Each module is a battle-tested,\nbest-practices definition of a piece of infrastructure, such as a VPC, ECS cluster, or an Auto Scaling Group. Modules\nare versioned using <a href=\"http://semver.org/\" class=\"preview__body--description--blue\" target=\"_blank\">Semantic Versioning</a> to allow Gruntwork clients to keep up to date with the\nlatest infrastructure best practices in a systematic way.</p>\n<h2 class=\"preview__body--subtitle\" id=\"how-do-you-use-a-module\">How do you use a module?</h2>\n<p>Most of our modules contain either:</p>\n<ol>\n<li><a href=\"https://www.terraform.io/\" class=\"preview__body--description--blue\" target=\"_blank\">Terraform</a> code</li>\n<li>Scripts & binaries</li>\n</ol>\n<h3 class=\"preview__body--subtitle\" id=\"using-a-terraform-module\">Using a Terraform Module</h3>\n<p>To use a module in your Terraform templates, create a <code>module</code> resource and set its <code>source</code> field to the Git URL of\nthis repo. You should also set the <code>ref</code> parameter so you're fixed to a specific version of this repo, as the <code>master</code>\nbranch may have backwards incompatible changes (see <a href=\"https://www.terraform.io/docs/modules/sources.html\" class=\"preview__body--description--blue\" target=\"_blank\">module\nsources</a>).</p>\n<p>For example, to use <code>v1.0.8</code> of the standalone-server module, you would add the following:</p>\n<pre><span class=\"hljs-keyword\">module</span> <span class=\"hljs-string\">\"ecs_cluster\"</span> {\n source = <span class=\"hljs-string\">\"git::git@github.com:gruntwork-io/terraform-aws-server.git//modules/standalone-server?ref=v1.0.8\"</span>\n\n <span class=\"hljs-comment\">// set the parameters for the standalone-server module</span>\n}\n</pre>\n<p><em>Note: the double slash (<code>//</code>) is intentional and required. It's part of Terraform's Git syntax (see <a href=\"https://www.terraform.io/docs/modules/sources.html\" class=\"preview__body--description--blue\" target=\"_blank\">module\nsources</a>).</em></p>\n<p>See the module's documentation and <code>vars.tf</code> file for all the parameters you can set. Run <code>terraform get -update</code> to\npull the latest version of this module from this repo before running the standard <code>terraform plan</code> and\n<code>terraform apply</code> commands.</p>\n<h3 class=\"preview__body--subtitle\" id=\"using-scripts-binaries\">Using scripts & binaries</h3>\n<p>You can install the scripts and binaries in the <code>modules</code> folder of any repo using the <a href=\"/repos/gruntwork-installer\" class=\"preview__body--description--blue\">Gruntwork\nInstaller</a>. For example, if the scripts you want to install are\nin the <code>modules/ecs-scripts</code> folder of the https://github.com/gruntwork-io/terraform-aws-ecs repo, you could install them\nas follows:</p>\n<pre><span class=\"hljs-string\">gruntwork-install </span><span class=\"hljs-built_in\">--module-name</span> <span class=\"hljs-string\">\"ecs-scripts\"</span> <span class=\"hljs-built_in\">--repo</span> <span class=\"hljs-string\">\"https://github.com/gruntwork-io/terraform-aws-ecs\"</span> <span class=\"hljs-built_in\">--tag</span> <span class=\"hljs-string\">\"0.0.1\"</span>\n</pre>\n<p>See the docs for each script & binary for detailed instructions on how to use them.</p>\n<h2 class=\"preview__body--subtitle\" id=\"developing-a-module\">Developing a module</h2>\n<h3 class=\"preview__body--subtitle\" id=\"versioning\">Versioning</h3>\n<p>We are following the principles of <a href=\"http://semver.org/\" class=\"preview__body--description--blue\" target=\"_blank\">Semantic Versioning</a>. During initial development, the major\nversion is to 0 (e.g., <code>0.x.y</code>), which indicates the code does not yet have a stable API. Once we hit <code>1.0.0</code>, we will\nfollow these rules:</p>\n<ol>\n<li>Increment the patch version for backwards-compatible bug fixes (e.g., <code>v1.0.8 -> v1.0.9</code>).</li>\n<li>Increment the minor version for new features that are backwards-compatible (e.g., <code>v1.0.8 -> 1.1.0</code>).</li>\n<li>Increment the major version for any backwards-incompatible changes (e.g. <code>1.0.8 -> 2.0.0</code>).</li>\n</ol>\n<p>The version is defined using Git tags. Use GitHub to create a release, which will have the effect of adding a git tag.</p>\n<h3 class=\"preview__body--subtitle\" id=\"tests\">Tests</h3>\n<p>See the <a href=\"/repos/v0.11.0/package-zookeeper/test\" class=\"preview__body--description--blue\">test</a> folder for details.</p>\n<h2 class=\"preview__body--subtitle\" id=\"license\">License</h2>\n<p>Please see <a href=\"/repos/v0.11.0/package-zookeeper/LICENSE.txt\" class=\"preview__body--description--blue\">LICENSE.txt</a> for details on how the code in this repo is licensed.</p>\n","repoName":"package-zookeeper","repoRef":"v0.11.0","serviceDescriptor":{"serviceName":"Apache ZooKeeper","serviceRepoName":"package-zookeeper","serviceRepoOrg":"gruntwork-io","cloudProviders":["aws"],"description":"Deploy an Apache ZooKeeper cluster. Supports automatic bootstrap, Exhibitor, zero-downtime rolling deployment, and auto healing.","imageUrl":"zookeeper.png","licenseType":"subscriber","technologies":["Terraform","Bash"],"compliance":[],"tags":[""]},"serviceCategoryName":"NoSQL","fileName":"README.md","filePath":"","title":"Repo Browser: Apache ZooKeeper","description":"Browse the repos in the Gruntwork Infrastructure as Code Library."}