Code Monkey home page Code Monkey logo

terraform-vault-raft-ha's Introduction

Vault HA with integrated storage on AWS

This project is an implementation of Andre's great module

this takes a couple of minutes to get up and running correctly but should leave you with an

Terraform Variables

# Module Configuration Variables
zone_id="<AWS_ZONE53_ZONE_ID>"
license_file="<VAULT_ENT_LICENSE_TEXT>"
namespace="guyvault"
owner="guybarros"

Terraform Outputs

the Terraform code outputs what you need to run this session, including the URL to access the Consul UI and a facilitator to ssh into each of the boxes.

Apply complete! Resources: 36 added, 0 changed, 0 destroyed.

Outputs:


endpoints = 
  vault_transit (3.8.126.208) | internal: (10.0.1.21)
    - Initialized and unsealed.
    - The root token creates a transit key that enables the other Vaults to auto-unseal.
    - Does not join the High-Availability (HA) cluster.

  vault_leader (3.8.49.29) | internal: (10.0.1.22)
    - Initialized and unsealed.
    - The root token and recovery key is stored in /tmp/key.json.
    - K/V-V2 secret engine enabled and secret stored.
    - Leader of HA cluster
    $ ssh -l ubuntu 3.8.49.29 -i ~/.ssh/id_rsa.pub
    # Root token:
    $ ssh -l ubuntu 3.8.49.29 -i ~/.ssh/id_rsa.pub "cat ~/root_token"
    # Recovery key:
    $ ssh -l ubuntu 3.8.49.29 -i ~/.ssh/id_rsa.pub "cat ~/recovery_key"

  vault_3 (3.8.156.170) | internal: (10.0.1.23)
    - Started
    $ ssh -l ubuntu 3.8.156.170 -i ~/.ssh/id_rsa.pub

  vault_4 (18.130.180.207) | internal: (10.0.1.24)
    - Started
    $ ssh -l ubuntu 18.130.180.207 -i ~/.ssh/id_rsa.pub

  Vault LB for GUI HTTPS:
  https://vault.guyvault.guy.aws.hashidemos.io:8200

Running the demo

Pre requisites

there is a little bit of a set up that we need to be able to run this demo. namely, start mongodb and start the Chat application.

terraform-vault-raft-ha's People

Contributors

andrefcpimentel2 avatar guybarros avatar

Watchers

James Cloos 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.