Awesome NomadDeployment and Cluster Setup

zerodha/nomad-cluster-setup

⭐ 168 HCL added to this list on 2024-12-11 repository created 2023-04-27

The project "zerodha/nomad-cluster-setup" provides Terraform modules designed to deploy and manage HashiCorp Nomad clusters on AWS infrastructure. It focuses on automating the creation of Nomad server and client nodes using Auto Scaling Groups (ASG) for scalability and fault tolerance. The repository includes Packer scripts to build custom Amazon Machine Images (AMIs) with Nomad and Docker pre-installed, which are used by the Terraform modules to launch EC2 instances within the ASGs. Key AWS resources provisioned by the modules include Auto Scaling Groups for both Nomad servers and clients, Security Groups configured to allow necessary inbound and outbound traffic for Nomad communication, IAM Roles with minimal permissions for instance discovery and cluster formation, and optionally an internal Application Load Balancer (ALB) to route traffic to Nomad servers. The modules emphasize best practices such as running Nomad servers across multiple availability zones and using secure communication channels. The Nomad server setup script configures EC2 instances as Nomad servers, enabling them to auto-join the cluster using tags and bootstrap the Nomad ACL system with a pre-configured token. The client setup script configures EC2 instances as Nomad clients, setting up DNS resolution and preparing configurations for various task drivers. Both server and client modules provide Terraform references for easy integration and customization. Example usage is provided for deploying Nomad servers and clients with customizable parameters such as cluster name, instance count, AMI IDs, VPC and subnet details, and security configurations. The project encourages contributions and provides documentation for extending and adapting the modules to different use cases. Overall, this project simplifies the deployment and management of scalable, secure, and highly available Nomad clusters on AWS, leveraging Terraform and Packer for infrastructure as code and image building respectively.

https://github.com/zerodha/nomad-cluster-setup

albamazon-machine-imageamiapplication-load-balancerauto-scaling-groupawscluster-setupdockerec2hashicorp-nomadhigh-availabilityiam-roleinfrastructure-as-codenomadnomad-clientsnomad-serverspackerscalablesecurity-groupterraform

Also in Deployment and Cluster Setup

jsiebens/hashi-up

hashi-up is a lightweight utility that automates the installation and clustering of HashiCorp Consul, Nomad, or Vault on remote Linux hosts over SSH in under one minute.

aldoborrero/hashi-homelab

Hashi Homelab is a collection of Nomad job recipes and Packer VM images designed to deploy and manage a variety of open-source services on a Nomad + Consul + Vault cluster, optimized for Intel NUC homelab environments.

kencx/homelab

kencx/homelab is an infrastructure-as-code project for automated deployment and management of a HashiCorp Nomad, Consul, and Vault cluster on Proxmox using Packer, Terraform, and Ansible.

multani/docker-nomad

This project provides a Docker image to run the HashiCorp Nomad scheduler in containerized environments, facilitating easy deployment and testing of Nomad clusters using Docker.

picatz/terraform-google-nomad

Terraform module for deploying and managing secure Nomad clusters with Consul service mesh on Google Cloud Platform.

internetarchive/hind

HinD is a single-container mini cluster combining Nomad, Consul, and Caddyserver to orchestrate containerized workloads with dynamic reverse proxy and automatic HTTPS in a Podman environment.

eschudt/hashistack-digitalocean

Terraform project to deploy and manage a secure HashiCorp stack including Nomad, Consul, and Vault clusters on DigitalOcean with automated setup and network security.

efbar/hashicorp-labs

A toolkit to deploy and manage a local HashiCorp cluster with Vault, Consul, and Nomad for testing applications, including serverless functions with OpenFaaS integration.