The goal of this guide is to allows users to easily provision a best practices 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 best practices Vault & Consul cluster, making it difficult to get started.
Provision a best practices Vault & Consul cluster in a private network with a bastion host.
The AWS Best Practices Vault guide provisions a 3 node Vault and 3 node Consul cluster with a similar architecture to the Quick Start guide. The difference is this guide will setup TLS/encryption across Vault & Consul and depends on pre-built images rather than runtime configuration. You can find the Packer templates to create the Consul image and Vault image in the Guides Configuration Repo.
We will now provision the best practices Vault cluster.
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, start walking through the Vault Guides.