{"repo":"zerodha/nomad-cluster-setup","free":true,"listed":false,"github":"https://github.com/zerodha/nomad-cluster-setup","clone":"git clone https://github.com/zerodha/nomad-cluster-setup.git","description":"Terraform modules for creating Nomad servers and clients nodes on AWS.","language":"HCL","stars":168,"topics":["aws","nomad","terraform"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Nomad Cluster Setup Terraform modules to deploy a HashiCorp Nomad) cluster on AWS using an Auto Scaling Group (ASG). The modules are designed to provision Nomad servers and clients in ASG, making it easy to manage the infrastructure for Nomad cluster. Additionally, the repository includes Packer scripts to build a custom Amazon Machine Image (AMI) with Nomad pre-installed. - Nomad Cluster Setup - AMI - AWS Resources - Auto Scaling Group (ASG) - Security Group - IAM Role - ALB - Nomad Server - Terraform Module Reference - Nomad Client - Terraform Module Reference - Example Usage - Nomad Servers - Nomad Clients - Other Examples - Changelog - Contributors - Contributing - LICENSE AMI The repository includes a Packer file, to build a custom Amazon Machine Image (AMI) with Nomad and docker pre-installed. This AMI is used by the Terraform modules when creating the ASG instances. To build the AMI, run: NOTE: dry run mode is toggled as true by default. To build the AMI, set the dry run variable in Makefile to false . AWS Resources The key resources provisioned by this module are: 1. Auto Scaling Group (ASG) 2. Security Group 3. IAM Role 4. Application Load Balancer (ALB) (optional) Auto Scaling Group (ASG) The module deploys Nomad on top of an Auto Scaling Group (ASG). For optimal performance and fault tolerance, it is recommended to run the Nomad server ASG with 3 or 5 EC2 instances distributed across multiple Availability Zones. Each EC2 instance should utilize an AMI built using t","default_branch":null,"files":null,"tree":[],"storefront":"/r/zerodha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zerodha/nomad-cluster-setup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}