Giter VIP home page Giter VIP logo

zookeeper-ansible-terraform's Introduction

zookeeper-ansible-terraform

Deploys a ZooKeeper cluster on DigitalOcean, using Ansible and Terraform

Usage

  1. Install Ansible
  2. Install Terraform
  3. Get a personal access token from DigitalOcean
  4. Add an SSH key

Retrieve the ID of your SSH key using the following command.

TOKEN=YOUR TOKEN HERE
curl -X GET "https://api.digitalocean.com/v2/account/keys" -H "Authorization: Bearer $TOKEN" | python -m json.tool

Now, create a file named terraform.tfvars in this directory that looks like the following.

digitalocean_token = "YOUR TOKEN HERE"
digitalocean_ssh_key = "YOUR SSH KEY ID HERE"

Finally, use launch.sh to bring up the cluster. You may have to run launch.sh several times, as the droplets can take some time to be ready.

After the cluster is deployed, use test-zk.py to check the status of ZooKeeper.

zookeeper-ansible-terraform's People

Contributors

ianunruh avatar

Stargazers

Keith Chambers avatar

Watchers

James Cloos avatar  avatar Keith Chambers avatar  avatar

Forkers

pellegrino

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.