Conf-as-code of a Nomad Cluster
<master_ip>:8500
<master_ip>:4646
<client_ip>:9998
<client_ip>:9999
<client_ip>:9999/alertmanager
It creates the VMs on Scaleway.
Copy env_template
to .env
file and file the variables.
Then, in the directory infrastructure
, launch:
source .env && terraform init
source .env && terraform plan
source .env && terraform apply
It deploys Consul and Nomad on the VMs.
In the directory provisioning
, launch : source version.sh && ./provisioning.sh
In the directory deployment
, launch ./deploy.sh