github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/website/source/guides/operating-a-job/index.html.md (about) 1 --- 2 layout: "guides" 3 page_title: "Job Lifecycle" 4 sidebar_current: "guides-operating-a-job" 5 description: |- 6 Learn how to deploy and manage a Nomad Job. 7 --- 8 9 # Deploying & Managing Applications 10 11 Developers deploy and manage their applications in Nomad via jobs. 12 13 This section provides some best practices and guidance for operating jobs under 14 Nomad. Please navigate the appropriate sub-sections for more information. 15 16 ## Deploying 17 18 The general flow for operating a job in Nomad is: 19 20 1. Author the job file according to the [job specification](/docs/job-specification/index.html) 21 1. Plan and review the changes with a Nomad server 22 1. Submit the job file to a Nomad server 23 1. (Optional) Review job status and logs 24 25 ## Updating 26 27 When updating a job, there are a number of built-in update strategies which may 28 be defined in the job file. The general flow for updating an existing job in 29 Nomad is: 30 31 1. Modify the existing job file with the desired changes 32 1. Plan and review the changes with a Nomad server 33 1. Submit the job file to a Nomad server 34 1. (Optional) Review job status and logs 35 36 Because the job file defines the update strategy (blue-green, rolling updates, 37 etc.), the workflow remains the same regardless of whether this is an initial 38 deployment or a long-running job.