Awesome NomadDemo and Learning Resources

fhemberger/nomad-demo

⭐ 134 HCL repository created 2020-04-08

The project "fhemberger/nomad-demo" is a Vagrant-based demo setup designed to run HashiCorp Nomad along with other HashiCorp tools such as Consul and Vault. It provides a simplified environment to explore workload orchestration and service networking without the complexity of Kubernetes, especially for smaller teams or on-premise setups. The demo includes a multi-node virtual machine cluster created using Vagrant and VirtualBox, where each node runs Consul, Nomad, and Vault. Nomad is configured to act both as a server (control plane) and client (workload node), capable of running containerized workloads via Docker and Java applications. Consul is used for service discovery and networking, while Vault manages secrets and access control. The setup also integrates Traefik as a load balancer using Consul's service catalog for dynamic service discovery, CoreDNS for DNS resolution within the Consul domain, and Prometheus for monitoring metrics from Traefik, Consul, Nomad, and applications. The demo includes example Nomad job configurations for deploying Docker containers, Java applications, and Vault-integrated workloads. Users can deploy jobs either through the Nomad UI or CLI. The project emphasizes ease of setup with prerequisites including VirtualBox, Vagrant, and Ansible, and provides detailed instructions for provisioning the VMs, configuring the network, and running the demo jobs. It is intended purely for demonstration and learning purposes, not for production use. The demo showcases how HashiCorp Nomad can be a viable alternative to Kubernetes for managing diverse workloads across cloud, on-premise, and hybrid environments, highlighting its simplicity and flexibility in orchestrating both containerized and traditional applications.

https://github.com/fhemberger/nomad-demo

consulcontainer-orchestrationcorednsdemodemo-setupdockerhashicorp-nomadhybrid-infrastructurejava-applicationsload-balancingmonitoringnomadon-premiseprometheussecrets-managementservice-discoverytraefikvagrantvaultvirtualboxworkload-orchestration

Also in Demo and Learning Resources

thangchung/go-coffeeshop

go-coffeeshop is an event-driven microservices demo application built with Golang, deployed using HashiCorp Nomad, Consul Connect, Vault, and Terraform, demonstrating modern microservices architecture and deployment practices.

star3am/hashiqube

HashiQube is an all-in-one hands-on DevOps lab that runs all HashiCorp products including Nomad, providing a versatile environment for learning, practicing, and demonstrating infrastructure and security tools in cloud or local setups.

thangchung/coffeeshop-on-nomad

A .NET microservices coffeeshop application deployed and orchestrated on HashiCorp Nomad with Consul Connect for service mesh and Docker containers.

nairnavin/practical-nomad-consul

A practical tutorial and guide for deploying a realistic multi-tier Spring Boot Petclinic application using HashiCorp Nomad and Consul with service mesh, ingress and terminating gateways, load balancing, and secure communication.