nomad

hashicorp/nomad/azurerm

Terraform Module HCL AZURERM

A Terraform Module for how to run Nomad on AzureRM using Terraform and Packer

Install
module "nomad" {
source = "hashicorp/nomad/azurerm"
version = "0.0.1"
}
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (18)
NameTypeDescriptionDefault
client_idstringThe Azure client ID required
image_uristringThe URI of the Azure Image to run in the cluster. This should be an Azure Image required
tenant_idstringThe Azure tenant ID required
subscription_idstringThe Azure subscription ID required
storage_account_namestringThe name of an Azure Storage Account. This SA should already exist required
secret_access_keystringThe Azure secret access key required
key_datastringThe SSH public key that will be added to SSH authorized_users on the consul inst required
resource_group_namestringThe name of the Azure resource group consul will be deployed into. This RG shoul required
allowed_ssh_cidr_blockslistA list of CIDR-formatted IP address ranges from which the Azure Instances will a[]
cluster_namestringWhat to name the cluster and all of its associated resources"nomad-example"
instance_sizestringThe instance size for the servers"Standard_A0"
locationstringThe Azure region the consul cluster will be deployed in"East US"
address_spacestringThe supernet for the resources that will be created"10.0.0.0/16"
subnet_addressstringThe subnet that consul resources will be deployed into"10.0.10.0/24"
num_clientsstringThe number of client nodes to deploy. You can deploy as many as you need to run 6
num_serversstringThe number of server nodes to deploy. We strongly recommend using 3 or 5.3
cluster_tag_keystringThe tag the Azure Instances will look for to automatically discover each other a"nomad-servers"
ssh_key_namestringThe name of an EC2 Key Pair that can be used to SSH to the Azure Instances in th""
Outputs (4)
num_servers
scale_set_name_servers
load_balancer_ip_address_servers
load_balancer_ip_address_clients
Resources (4)
azurerm_lb_probeazurerm_lb_ruleazurerm_subnetazurerm_virtual_network
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud AZURERM
★ Stars32
Forks23
Total downloads6.6k
Inputs18
Outputs4
Resources4
Submodules1
LicenseApache-2.0
Namespacehashicorp
Updated