Deploying a Nomad Job via CLI

15 minutes
  • 4 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log in to the Provided Server
  1. Log in to the server using the credentials provided.
  2. Test to ensure that the Nomad environment is running and able to accept jobs.
Create a New Nomad Job Called `main.nomad`
  1. Create a new job called main.nomad. This new job will utilize docker, and will start an instance of Redis.
Submit the `main.nomad` Job
  1. Use Nomad commands to submit the newly created job to run in the Nomad environment.
Verify That the Job Is Running Successfully
  1. Verify that the job is running, and examine the running job.

Additional Resources

You have been tasked with creating a new Nomad job called main.nomad. that needs to run a Redis docker image. You will need to create this job, and submit it to the supplied Nomad environment to run.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?