Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Incremental Upgrades in Nomad

In this hands-on lab you will be creating a job, and then editing the job to increase how many allocations are sent to the cluster, to change the time it takes to update each running allocation when updates are performed. Then, you will test the changes to the Nomad job file by submitting a new version of the job, and checking to ensure that changes are performed as specified by the job file.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Nov 06, 2020

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 as the cloud_user with the provided password to perform the tasks.

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

  2. Challenge

    Create a Default `example.nomad` Job File, and Change the Count and Update Stanza

    1. Using the appropriate commands, and the Nomad CLI, initialize a job file called example.nomad.

    2. Change the count to 2.

    3. Change the update stanza, and set it to update only one job at a time, with a min_healthy_time of 50 seconds.

  3. Challenge

    Submit the Job

    1. Submit the example.nomad job to run.
    2. Check to ensure it says placed 2 and healthy 2 before continuing.
  4. Challenge

    Change the `example.nomad` Job File to Use Redis Version 4, and Submit the Job

    1. Edit the job file so that it will use Redis version 4.

    2. While the original job is still running, submit the updated job to run.

    3. Check that only one job gets updated at a time.

    4. Once the deployment says healthy, check the logs to ensure that both jobs are running the updated version of Redis.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans