- Lab
- A Cloud Guru
Deploying a Nomad Job via CLI
In this hands-on lab, you have been provided with a single-server, Nomad developer environment. Using the appropriate command, create a job called "main.nomad". This job should use docker and run a Redis docker image. Submit the job and ensure it is running.
Path Info
Table of Contents
-
Challenge
Log in to the Provided Server
- Log in to the server using the credentials provided.
- Test to ensure that the Nomad environment is running and able to accept jobs.
-
Challenge
Create a New Nomad Job Called `main.nomad`
- Create a new job called
main.nomad
. This new job will utilizedocker
, and will start an instance ofRedis
.
- Create a new job called
-
Challenge
Submit the `main.nomad` Job
- Use Nomad commands to submit the newly created job to run in the Nomad environment.
-
Challenge
Verify That the Job Is Running Successfully
- Verify that the job is running, and examine the running job.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.