- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Deploying a Nomad Application in a Cluster
It's important when learning about Nomad, that you are able to run more than one copy of a job in the cluster when required. In this hands-on lab, you are tasked with creating a job, and then changing that job so it will run more than once.

Lab Info
Table of Contents
-
Challenge
Log in to the Server Named `nomad-server0`
- Log in to the server using the credentials provided.
Note: It may take several minutes after the lab has started before the cluster is ready to receive jobs. You should wait to perform the tasks in this lab, until a
nomad node status
shows 2ready
nodes. -
Challenge
Create a Default Nomad Job Named 'example.nomad'
- This job can be created using Nomad commands. The job should run
redis
as a docker image.
- This job can be created using Nomad commands. The job should run
-
Challenge
Update the Job So It Runs on Two Nodes at the Same Time
- Edit the
example.nomad
file, and update it to run 2 copies of the job in the cluster.
- Edit the
-
Challenge
Submit the Job and Verify the Update
- The job should now be running twice. Check the status of the job, and verify that there are at least two running.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.