Hashistack in one click for development & testing
This vagrant box aims to make it dead simple to start a hashistack and emulating how services will deploy to production.
This repository will release a new template into fredrikhgrelland/vagrant-hashistack-template on every release.
🚧 - current vagrant box runs consul, nomad and vault in
dev
(development) mode.
- Description - what & why
- Install prerequisites
- Build
- Configuration
- Usage
- Test
- Proxy
- Contribution
- Diagram
This repository will build a base-box for different projects to extend on. The base box contains components and a setup that makes it ideal for working with the hashistack.
The default box will start Nomad, Vault, Consul, and MinIO bound on loopback and advertising on the ip 10.0.3.10
, which should be available on your local machine.
Port-forwarding for nomad
on port 4646
should bind to 127.0.0.1
and should allow you to use the nomad binary to post jobs directly.
Consul and Vault has also been port-forwarded, and are also available on 127.0.0.1
on port 8500
and 8200
respectively.
Minio is started on port 9000
and sharing /vagrant (your repo) from within the vagrant box.
- Nomad ui is available on http://10.0.3.10:4646 and all links to services should work.
- Consul ui is available on http://10.0.3.10:8500
- Vault ui is available on http://10.0.3.10:8200
- Minio ui is available on http://10.0.3.10:9000 (
minioadmin
:minioadmin
)
*The master token for Consul
and Vault
is master
.
We needed a Vagrant box with the complete hashistack to use for demo, development and testing. In order to build cloud native, security minded and dependable services, there exists a killer combination;
- Containers - (Docker)
- Simple&Powerful Orchestrator - (Nomad)
- Service-mesh mTLS - (Consul connect)
- Secrets management - (Vault)