• Stars
    star
    672
  • Rank 67,180 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created over 4 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

bootstrap HashiCorp Consul, Nomad, or Vault over SSH < 1 minute

hashi-up

hashi-up is a lightweight utility to install HashiCorp Consul, Nomad or Vault on any remote Linux host. All you need is ssh access and the binary hashi-up to build a Consul, Nomad or Vault cluster.

The tool is written in Go and is cross-compiled for Linux, Windows, MacOS and even on Raspberry Pi.

This project is heavily inspired on the work of Alex Ellis who created k3sup, a tool to to get from zero to KUBECONFIG with k3s

Go Report Card License: MIT GitHub All Releases

What's this for?

This tool uses ssh to install HashiCorp Consul, Nomad or Vault to a remote Linux host. You can also use it to join existing Linux hosts into a Consul, Nomad, Vault or Boundary cluster. First, Consul, Nomad or Vault is installed using a utility script, along with a minimal configuration to run the agent as server or client.

hashi-up was developed to automate what can be a very manual and confusing process for many developers, who are already short on time. Once you've provisioned a VM with your favourite tooling, hashi-up means you are only 60 seconds away from running nomad status on your own computer.

Download hashi-up

hashi-up is distributed as a static Go binary. You can use the installer on MacOS and Linux, or visit the Releases page to download the executable for Windows.

curl -sLS https://get.hashi-up.dev | sh
sudo install hashi-up /usr/local/bin/

hashi-up version

Usage

The hashi-up tool is a client application which you can run on your own computer. It uses SSH to connect to remote servers when installing HashiCorp Consul or Nomad. Binaries are provided for MacOS, Windows, and Linux (including ARM).

SSH credentials

By default, hashi-up talks to an SSH agent on your host via the SSH agent protocol. This saves you from typing a passphrase for an encrypted private key every time you connect to a server. The ssh-agent that comes with OpenSSH is commonly used, but other agents, like gpg-agent or yubikey-agent are supported by setting the SSH_AUTH_SOCK environment variable to the Unix domain socket of the agent.

The --ssh-target-key flag can be used when no agent is available or when a specific private key is preferred.

The --ssh-target-user and --ssh-target-password flags allow you to authenticate using a username and a password.

Guides

Resources

Deploying a highly-available Nomad cluster with hashi-up!

Building a Nomad cluster on Raspberry Pi running Ubuntu server

Installing HashiCorp Vault on DigitalOcean with hashi-up

More Repositories

1

ionscale

A lightweight implementation of a Tailscale control server
Go
164
star
2

nomad-droplets-autoscaler

DigitalOcean Droplets target plugin for HashiCorp Nomad Autoscaler
Go
47
star
3

rpi-faasd

A Raspberry Pi OS or Ubuntu image with faasd and inlets pre-installed
Shell
40
star
4

rpi-hashistack

Ubuntu Pi images with HashiCorp stack tools, like Consul, Vault and Nomad pre-installed
Shell
32
star
5

faas-nomad

OpenFaas provider for HashiCorp Nomad scheduler
Go
26
star
6

brink

brink - a lightweight identity aware proxy
Go
23
star
7

tskeyservice

A lightweight service exchanging OIDC tokens for Tailscale Auth Keys
Go
22
star
8

rpi-cloud-init

A Raspbian / Raspberry Pi OS image with cloud-init pre-installed
Shell
19
star
9

k3s-on-gcp

HCL
14
star
10

titanite

A small web framework for Java 8, inspired by others like Sinatra and Finatra, running on top of Netty
Java
13
star
11

inlets-on-fly

Create inlets servers on fly.io
Go
9
star
12

terraform-gcp-gitlab-bootstrap

HCL
9
star
13

spire-tailscale-plugin

Provides agent and server plugins for SPIRE to allow Tailscale node attestation.
Go
9
star
14

nomad-autoscaler-plugin-strategy-cron

A cron-like strategy plugin for HashiCorp Nomad Autoscaler
Go
7
star
15

faas-nomad-demos

HCL
6
star
16

rpi-k3s

A Raspbian image with k3s pre-installed
Shell
6
star
17

tenorite

A modern TetriNET server written in Java
Java
5
star
18

rpi-nomad-scale-to-cloud

HCL
5
star
19

fanshim-go

Pimoroni Fan SHIM controller written in Golang
Go
5
star
20

waypoint-plugin-openfaas

Deploy a function to OpenFaaS with HashiCorp Waypoint
Go
3
star
21

berglas-secrets-webhook

Kubernetes Mutation Webhook for injecting Berglas secrets
Go
3
star
22

rpi-ghost-inlets

A Raspbian image to run the blogging platform Ghost on a Raspberry Pi, exposed to the outside world using Inlets
Shell
3
star
23

blinkt-nomad-controller

A Nomad Controller for the Pimoroni Blinkt on a Raspberry Pi
Go
2
star
24

terraform-aws-faasd

Terraform Module for how to deploy a faasd instance on Amazon Web Services
HCL
2
star
25

terraform-google-faasd

Terraform Module for how to deploy a faasd instance on the Google Cloud Platform
HCL
1
star
26

terraform-equinix-faasd

Terraform Module for how to deploy a faasd instance on Equinix Metal
HCL
1
star
27

rpi-packer-template

Shell
1
star
28

nomad-autoscaler-plugins

Go
1
star
29

terraform-digitalocean-faasd

Terraform Module for how to deploy a faasd instance on DigitalOcean
HCL
1
star
30

tailscale-socks-sidecar

Dockerfile
1
star
31

cloud-tunnel

Go
1
star
32

gh-app-token-service

Go
1
star
33

terraform-provider-oras

Go
1
star