A Terraform project for deploying a Nomad cluster to Amazon Web Services.
⚠️ This project is for prototyping and does not contain best practices for operating Nomad in production.
To configure the project for Atlas, run:
terraform remote config -backend=Atlas -backend-config=name=$ATLAS_USERNAME/nomad-cluster
Run the commands below and then click Confirm & Apply on the new environment in Atlas to build the environment.
$ terraform get -update aws-beginner-nomad-cluster/terraform/
...
$ terraform push -vcs=false -name=$ATLAS_USERNAME/nomad-cluster aws-beginner-nomad-cluster/terraform/
$ terraform destroy aws-beginner-nomad-cluster/terraform
Job examples are available in shared/jobs/. See the Getting Started guide for how to submit and monitor jobs.