Code Monkey home page Code Monkey logo

consul-guides's Introduction



Consul Guides

This repository aims to assist individuals in learning how to install, configure, and administer HashiCorp Consul.

Disclaimer

This repo is a work in progress. We've decided to open source it while we build as the initial examples may be useful for some. Please bear with us while we work to create meaningful content that will be useful for all.

Operations Guides

Guides for Consul Operational tasks.

Service Discovery Guides

This area contains example use cases for how to use Consul for service discovery.

Service Configuration Guides

None yet, check back soon or feel free to contribute!

Service Segementation Guides

This area contains examples of securing service-to-service communication using Consul Connect.

Assets

This directory contains graphics and other material for the repository.

gitignore.tf Files

You may notice some gitignore.tf files in certain directories. .tf files that contain the word "gitignore" are ignored by git in the .gitignore file.

If you have local Terraform configuration that you want ignored (like Terraform backend configuration), create a new file in the directory (separate from gitignore.tf) that contains the word "gitignore" (e.g. backend.gitignore.tf) and it won't be picked up as a change.

Contributing

We welcome contributions and feedback! For guide submissions, please see the contributions guide

consul-guides's People

Contributors

bensojona avatar calebalbers avatar dahlke avatar hashicorp-copywrite[bot] avatar kawsark avatar lanceplarsen avatar norhe avatar nrvale0 avatar petems avatar rberlind avatar russparsloe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

consul-guides's Issues

Vagrant password?

Hi,

Good day.

After creating the consul vagrant machine, I can't ssh to the vm.

vagrant ssh
==> default: The machine you're attempting to SSH into is configured to use
==> default: password-based authentication. Vagrant can't script entering the
==> default: password for you. If you're prompted for a password, please enter
==> default: the same password you have configured in the Vagrantfile.
[email protected]'s password: 

What is the password? I tried vagrant and consul.

Regards.
JJ

Remove any insensitive language

This is aligned with PDCT-002: Inclusive Language.

Currently, the only issue in this repository is the use of "master" for the default branch. We can change when HashiCorp decides on standard alternative to "master", possibly "main"?

Product service error message(vault)

I am getting this error message when I execute the product service:

2019/04/25 17:04:56 [DEBUG] (logging) enabling syslog on LOCAL5
2019/04/25 17:04:56.277258 [INFO] consul-template v0.19.5 (57b6c71)
2019/04/25 17:04:56.277749 [INFO] (runner) creating new runner (dry: false, once: false)
2019/04/25 17:04:56.278359 [INFO] (runner) creating watcher
2019/04/25 17:04:56.279022 [INFO] (runner) starting
2019/04/25 17:04:56.279308 [INFO] creating pid file at "/tmp/product-service.pid"
2019/04/25 17:04:58.291107 [INFO] (child) spawning: /usr/bin/python3 /opt/product-service/product.py
/opt/product-service/product.py:93: SyntaxWarning: name 'db_client' is used prior to global declaration
global db_client
DEBUG:vaultawsec2:Retrieving a vault (hvac) client...
DEBUG:vaultawsec2:No pkcs7 argument provided to auth_ec2 backend.
DEBUG:vaultawsec2:Attempting to retrieve information from EC2 metadata service.
DEBUG:vaultawsec2:load_aws_ec2_pkcs7_string connecting to http://169.254.169.254/latest/dynamic/instance-identity/pkcs7
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 169.254.169.254:80
DEBUG:urllib3.connectionpool:http://169.254.169.254:80 "GET /latest/dynamic/instance-identity/pkcs7 HTTP/1.1" 200 1118
DEBUG:vaultawsec2:No nonce argument provided to auth_ec2 backend.
DEBUG:vaultawsec2:Attempting to retrieve information from disk.
DEBUG:vaultawsec2:Attempting to load vault token meta nonce from path: /tmp/.vault-token-meta-nonce
WARNING:vaultawsec2:Unable to load vault token meta nonce at path: /tmp/.vault-token-meta-nonce
DEBUG:vaultawsec2:Nonce loaded: None
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): ec2-54-210-238-235.compute-1.amazonaws.com:8200
DEBUG:urllib3.connectionpool:http://ec2-54-210-238-235.compute-1.amazonaws.com:8200 "POST /v1/auth/aws/login HTTP/1.1" 400 88
ERROR:main:entry for role "configuration-demo-consul_server_role" not found
2019/04/25 17:04:58.593089 [INFO] (runner) child process died
2019/04/25 17:04:58.593660 [ERR] (cli) child process died with exit code 0

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.