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

Installing Nomad Server for Use in Dev Mode

If you want to use HashiCorp's Nomad in Development mode, there are a couple of ways to do this, and we will be covering one of these methods in this hands-on lab. In this hands-on lab, you will need to install Nomad and get it running on a single server in both Server and Client mode. You will need to make changes to ensure that a datacenter of `dc1` is being used.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
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 into the provided server.

    You have been provided with a server. Log in to the server as the provided cloud_user with the provided password.

  2. Challenge

    Add the correct repository for installing Nomad.

    You will be installing Nomad by using the Red Hat repository that HashiCorp provides.

    Use the appropriate commands to add the following repository to your server.

    https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

  3. Challenge

    Install Nomad and configure it to run as the dc1 datacenter, then start it as a service.

    Using appropriate system commands, install Nomad onto the server.

    Once installed, you should make changes as required to the /etc/nomad.d/nomad.hcl file to enable you to run jobs in the dc1 datacenter.

    This will require changes to the Nomad configuration file.

    Once the changes have been made, start the Nomad service and enable the nomad service to autostart on a system reboot.

  4. Challenge

    Ensure that Nomad works and says it is in the dc1 datacenter.

    Your Nomad should now be running.

    You should do the following:

    Use Nomad commands to show the server members. Should show one member.
    Use Nomad commands to show any client nodes. Should show one member.

    Note: It may take a minute or so before the Nomad nodes show up as expected.

    It is not part of this lab, but your Nomad installation is now ready to run jobs if you choose.

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