Ready for use.
Overview
Collection of terraform modules including working examples to set up nomad in AWS using different datacenters for separation of duties:
- public
- private
- content connector
- backoffice
Nomad cluster nodes are configured to use Docker and AWS ECR. A packer script to create an AWS AMI based on Amazon Linux 2 LTS is available.
Furthermore a collection of nomad job files to spin up some base service and some examples are available as well:
- InCluster-Routing using fabio
- Logging using fluentd and ElasticSearch
- Monitoring using Prometheus and Grafana
For local development purposes there two devmode setups are for different usecases provided:
- nomad devmode
- one node local cluster
Included Versions
- terraform: 0.11.14
- nomad: 0.9.0
- consul: 1.4.4
- fabio: 1.5.10
Release Branch
Conclusion
Even though some aspects need better fine tuning the overall framework is usable and spins up a nicely configured nomad cluster in AWS.
DISCLAIMER
Do not use the out of the box configuration for your production setup especially security and cluster access needs to be better restricted.