The goal of this guide is to allow users to easily provision a quick start Vault & Consul cluster in just a few commands.
- Terraform Getting Started
- Terraform Docs
- Consul Getting Started
- Consul Docs
- Vault Getting Started
- Vault Docs
5 minutes.
There are many different ways to provision and configure an easily accessible quick start Vault & Consul cluster, making it difficult to get started.
Provision a quick start Vault & Consul cluster in a private network with a bastion host.
The AWS Quick Start Vault guide leverages the scripts in the Guides Configuration Repo to do runtime configuration for Vault & Consul. Although using curl bash
at runtime is not best practices, this makes it quick and easy to standup a Vault & Consul cluster with no external dependencies like pre-built images. This guide will also forgo setting up TLS/encryption on Vault & Consul for the sake of simplicity.
We will now provision the quick start Vault & Consul clusters.
Initialize Terraform - download providers and modules.
$ terraform init
Run a terraform plan
to ensure Terraform will provision what you expect.
$ terraform plan
Run a terraform apply
to provision the HashiStack. One provisioned, view the zREADME
instructions output from Terraform for next steps.
$ terraform apply
Now that you've provisioned and configured a best practices Vault & Consul cluster, visit our learn site.