Giter Club home page Giter Club logo

hashistack-config's People

Contributors

dehuszar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hashistack-config's Issues

Chore :: Provision / Build scripts are in a bit of disarray; need to be cleaned up and converted to ansible playbooks

Order to provision and run:

Nomad Clients

  1. provision vault client config

  2. provision vault client tls config

  3. install vault client cert gen service

  4. (if TLS is already enabled) provision starter certificate

  5. build vault config

  6. provision consul client config

  7. provision consul client tls config

  8. provision consul client token

  9. build consul client tls

  10. build consul client config

  11. provision nomad client config

  12. provision nomad client tls

  13. build client cert gen service

  14. build client config tls

  15. install docker (and other) drivers

Consul Servers

Nomad Servers

Vault Servers

  1. provision consul client config
  2. provision consul gossip config
  3. provision consul client certificates
  4. provision consul token
  5. provision vault server config
  6. provision vault server tls
  7. FINISH ME

Incorporate terraform service configurations to help bootstrap hashistack from scratch

In a "vault-first" approach, the script would deploy vault servers and their necessary env vars via ansible. Once Vault is running, a pre-ssl vault config would be deployed by terraform to the running cluster to enable tls (PKI engine config should thus live in it's own stack).

Because each service needs to talk to Vault to issue a TLS certificate for it, we need to wait to enable TLS on Vault so that all other services can properly bootstrap. To facilitate this, another script is run to deploy Nomad servers, Consul servers, and Nomad client configurations. The script would

  • enable the cert-gen services across nodes
  • issue certificates for each service
  • build configurations for each service, and then boot them up
  • trigger a terraform deploy of each service's configurations
  • deploy tls-enabling env vars to each node (including Vault's)
  • restart all services

At which point you can make a cocktail and kick back.

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.