When using HashiCorp Vault, it is important to know how to perform the installation, configuration, and the initial setup. This lab will demonstrate how to complete these tasks.
In this scenario, we are working in a DevOps position and received a task to install and set up HashiCorp Vault in the company cloud. The manager forgot to inform us in time, so now we have about two hours before the presentation meeting to set this up and make a good impression! Have fun!
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Download, Unpack, and Move Consul to the Bin Directory
- Download Consul.
- Install
unzip
and unpack consul zip. - Move
consul
executable to the bin directory. - Test it out!
- Create a Consul systemd Service
- Replace the
IP.ADDRESS.OF.SERVER
with the internal IP address of the server. - Create a directory for config files.
- Create a configuration for UI.
- Reload, start, enable, and verify.
- Replace the
- Move Vault to the Bin Directory and Create a Configuration File
- Download and unpack Vault.
- Move Vault binary to the bin directory.
- Create a configuration file and populate it.
- Replace
Consul.IP.ADDRESS
with the consul IP address. - Set the Vault address.
- Set autocomplete.
- Test It Out!
Log in to Vault to test the previous tasks.