Coder Social home page Coder Social logo

consulsqldemo's Introduction

README

This repository contains files for provisioning a Consul cluster using Vagrant. The cluster is intended for use as part of development or testing and allows you to run a cluster of 3 Consul servers plus a Consul client which runs the Consul Web UI.

Much of the content was derived from a blog post by Justin Ellingwood, How to Configure Consul in a Production Environment on Ubuntu 14.04. There are diffences between Justin's implementation and that given here with the key difference being that Vagrant is used to provision the cluster. The virtual machines are also based on the hashicorp/precise64 box, a packaged standard Ubuntu 12.04 LTS 64-bit box.

Overview

For an overview of what's been done here please refer to the following blog posts:

Prerequisites

You will need to have installed Vagrant and VirtualBox.

Usage

Once you have downloaded the files open a command prompt and change to the directory containing the Vagrantfile. To start the bootstrap server type the following:

vagrant up consul1

Thereafter you can start the other 2 servers:

vagrant up consul2
vagrant up consul3

The client instance is started in much the same way:

vagrant up consulclient

For full details please refer to the blog posts mentioned above.

Accessing the Consul Web UI

Once the cluster is up-and-running you will be able to access the Consul Web UI from a browser running on your host workstation by going to the following URL: http://172.20.20.40:8500/ui/.

consulsqldemo's People

Contributors

guessmyname avatar

Watchers

James Cloos avatar  avatar

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.