- Lab
- A Cloud Guru
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.
Path 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.
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.