Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Configuring Tasks for a Nomad Application

In this hands-on lab, you will be provided with a pre-configured Nomad cluster, that is running on a single instance in Developer mode. You will need to create a Nomad job file, and then edit the file, so that the environment variables will be shown in the running allocation once it has been submitted to Nomad.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Apr 06, 2025
Duration
30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Log in to the Provided Nomad Server
    1. Log in to the server using the credentials provided.

      Note: The Nomad server has been configured with one server agent and one client agent. Docker has been installed so server is ready to run jobs.

  2. Challenge

    Create a New Nomad Job Called `example.nomad`

    This job will be using Docker and redis. You may choose to create the example file with comments included or not included.

  3. Challenge

    Edit the example.nomad job file to add the provided database variables
    1. Edit the example.nomad file and add the following database variables.
      "DB_HOST" = "db01.example.com"
      "DB_USER" = "web"
      "DB_PASS" = "loremipsum"
      

      Note: These variables are to be set to show inside the running redis docker image, when the job file has been submitted, and the job is running.

  4. Challenge

    Submit the File and Verify the Changes
    1. Connect to the running allocation.
    2. Verify that the environment variables have been set.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.

Get started with Pluralsight