Stop Nomad and clean up
In this tutorial, you will clean up the Nomad jobs that are running in the cluster and stop or destroy the cluster.
Clean up the application
Stop and clean up the employee job. You can remove the -purge
flag from the following commands if you want to keep the job data around for debugging or further investigation.
Then, do the same with the webapp job.
Then, the database job.
Finally, stop and clean up the setup job.
Clean up the cluster
Clean up the resources in use by stopping Nomad if you are running a local cluster or by destroying the cloud infrastructure with Terraform.
Open the terminal tab running the Nomad dev agent and press CTRL+C
to stop it.
Next steps
In this collection, you learned about Nomad, installed the Nomad CLI, created a cluster locally and in the cloud, and deployed and updated Nomad jobs.
There are many directions you can go next to continue your learning so check out some of the tutorials and documentation below.