Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.46 KB

playbook.md

File metadata and controls

35 lines (31 loc) · 1.46 KB
layout title permalink
page
Playbook
/playbook/

Hashi@Home playbook

This describes the "Playbook" for getting Hashi on your home. It is an attempt to describe the sequential steps. This is very hard to do accurately, so your mileage may vary. Hell, my mileage may vary, but the idea is to have a good conceptual model from start to finish.

There are several moving parts, and the path is not linear. Getting these things working together presents several forks in the road, so this shouldn't be considered a prescriptive guide.

  1. Bootstrap
    1. Boot the hardware
      Create SD cards and configure the computatoms to join your home network and generate an Ansible inventory.
    2. Prepare nodes
      Using a "base" Ansible role, apply a common base configuration to the computatoms
    3. Bootstrap platform
      Using Ansible playbooks, deploy the initial bootstrap of the Hashi stack
      1. Deploy Consul
      2. Deploy Vault
      3. Deploy Nomad
  2. Terraform
    Using the Consul service as a backend, Terraform the services (ACLs and other resources)
    1. Terraform Consul
    2. Terraform Vault
    3. Terraform Nomad
  3. Deploy
    1. Deploy Waypoint
    2. Integrate Waypoint with Nomad
    3. Declare Nomad workloads
    4. Deploy workloads to Nomad clients
  4. Maintain
    Now that the platform is up, continuously improve it and send changes through the delivery pipeline