nomad

hashicorp/nomad/aws

Terraform Module HCL AWS

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

Install
module "nomad" {
source = "hashicorp/nomad/aws"
version = "0.10.0"
}
plain text: /constructs/tfmod-hashicorp-nomad-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Nomad AWS Module ![Maintained by Gruntwork.io](https://gruntwork.io/?ref=repo_aws_nomad) !Terraform Version This repo contains a set of modules for deploying a Nomad cluster on AWS 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 consensus protocol, and a larger number of client nodes, which are used for running jobs. !Nomad architecture Features Deploy server nodes for managing jobs and client nodes running jobs Supports colocated clusters and separate clusters Least privilege security group rules for servers Auto scaling and Auto healing Learn This repo is maintained by Gruntwork, and follows the same patterns as the Gruntwork Infrastructure

Inputs (10)
NameTypeDescriptionDefault
ami_idstringThe ID of the AMI to run in the cluster. This should be an AMI built from the Pa required
vpc_idstringThe ID of the VPC in which the nodes will be deployed. Uses default VPC if not ""
cluster_namestringWhat to name the cluster and all of its associated resources"nomad-example"
server_instance_typestringWhat kind of instance type to use for the nomad servers"t2.micro"
instance_typestringWhat kind of instance type to use for the nomad clients"t2.micro"
cluster_tag_keystringThe tag the EC2 Instances will look for to automatically discover each other and"nomad-servers"
num_serversnumberThe number of server nodes to deploy. We strongly recommend using 3 or 5.3
num_clientsnumberThe number of client nodes to deploy. You can deploy as many as you need to run 6
cluster_tag_valuestringAdd a tag with key var.cluster_tag_key and this value to each Instance in the AS"auto-join"
ssh_key_namestringThe name of an EC2 Key Pair that can be used to SSH to the EC2 Instances in this""
Outputs (15)
num_clients
iam_role_id_clients
security_group_id_servers
launch_config_name_clients
asg_name_clients
iam_role_arn_clients
security_group_id_clients
nomad_servers_cluster_tag_key
nomad_servers_cluster_tag_value
asg_name_servers
iam_role_id_servers
iam_role_arn_servers
aws_region
num_nomad_servers
launch_config_name_servers
Details
FrameworkTerraform Module
LanguageHCL
Version0.10.0
Cloud AWS
★ Stars253
Forks190
Total downloads16.1k
Inputs10
Outputs15
Examples1
Submodules2
LicenseApache-2.0
Namespacehashicorp
Updated