nomad
hashicorp/nomad/azurerm
A Terraform Module for how to run Nomad on AzureRM using Terraform and Packer
Nomad Azure Module This repo contains a Module for how to deploy a Nomad cluster on Azure using Terraform. Nomad is a distributed, highly-available data-center aware scheduler. A Nomad cluster typically includes a small number of server nodes, which are responsible for being part of the concensus protocol, and a larger number of client nodes, which are used for running jobs: !Nomad architecture This Module includes: install-nomad: This module can be used to install Nomad. It can be used in a Packer template to create a Nomad Azure Managed Image. run-nomad: This module can be used to configure and run Nomad. It can be used in a User Data script to fire up Nomad while the server is booting. nomad-cluster: Terraform code to deploy a cluster of Nomad servers using Scale Set. What's a Module? A
| Name | Type | Description | Default |
|---|---|---|---|
| client_id | string | The Azure client ID | required |
| image_uri | string | The URI of the Azure Image to run in the cluster. This should be an Azure Image | required |
| tenant_id | string | The Azure tenant ID | required |
| subscription_id | string | The Azure subscription ID | required |
| storage_account_name | string | The name of an Azure Storage Account. This SA should already exist | required |
| secret_access_key | string | The Azure secret access key | required |
| key_data | string | The SSH public key that will be added to SSH authorized_users on the consul inst | required |
| resource_group_name | string | The name of the Azure resource group consul will be deployed into. This RG shoul | required |
| allowed_ssh_cidr_blocks | list | A list of CIDR-formatted IP address ranges from which the Azure Instances will a | [] |
| cluster_name | string | What to name the cluster and all of its associated resources | "nomad-example" |
| instance_size | string | The instance size for the servers | "Standard_A0" |
| location | string | The Azure region the consul cluster will be deployed in | "East US" |
| address_space | string | The supernet for the resources that will be created | "10.0.0.0/16" |
| subnet_address | string | The subnet that consul resources will be deployed into | "10.0.10.0/24" |
| num_clients | string | The number of client nodes to deploy. You can deploy as many as you need to run | 6 |
| num_servers | string | The number of server nodes to deploy. We strongly recommend using 3 or 5. | 3 |
| cluster_tag_key | string | The tag the Azure Instances will look for to automatically discover each other a | "nomad-servers" |
| ssh_key_name | string | The name of an EC2 Key Pair that can be used to SSH to the Azure Instances in th | "" |
num_serversscale_set_name_serversload_balancer_ip_address_serversload_balancer_ip_address_clients