nomad
hashicorp/nomad/aws
A Terraform Module for how to run Nomad on AWS using Terraform and Packer
Nomad AWS Module  !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
| Name | Type | Description | Default |
|---|---|---|---|
| ami_id | string | The ID of the AMI to run in the cluster. This should be an AMI built from the Pa | required |
| vpc_id | string | The ID of the VPC in which the nodes will be deployed. Uses default VPC if not | "" |
| cluster_name | string | What to name the cluster and all of its associated resources | "nomad-example" |
| server_instance_type | string | What kind of instance type to use for the nomad servers | "t2.micro" |
| instance_type | string | What kind of instance type to use for the nomad clients | "t2.micro" |
| cluster_tag_key | string | The tag the EC2 Instances will look for to automatically discover each other and | "nomad-servers" |
| num_servers | number | The number of server nodes to deploy. We strongly recommend using 3 or 5. | 3 |
| num_clients | number | The number of client nodes to deploy. You can deploy as many as you need to run | 6 |
| cluster_tag_value | string | Add a tag with key var.cluster_tag_key and this value to each Instance in the AS | "auto-join" |
| ssh_key_name | string | The name of an EC2 Key Pair that can be used to SSH to the EC2 Instances in this | "" |
num_clientsiam_role_id_clientssecurity_group_id_serverslaunch_config_name_clientsasg_name_clientsiam_role_arn_clientssecurity_group_id_clientsnomad_servers_cluster_tag_keynomad_servers_cluster_tag_valueasg_name_serversiam_role_id_serversiam_role_arn_serversaws_regionnum_nomad_serverslaunch_config_name_servers