Getting Started with HashiCorp Nomad

Video description

Nomad, a flexible scheduler and workload orchestrator, enables an organization to deploy and manage any containerized or legacy application easily using a single, unified workflow. Nomad can run a diverse workload of Docker, non-containerized, microservice, and batch applications.

This course begins with an introduction to Nomad’s key features and capabilities, including container orchestration, service discovery, and multi-cloud deployment. You will also learn to install and configure Nomad, set up a cluster, and integrate it with other HashiCorp tools stacks such as Consul and Vault. You will learn to deploy and manage applications on Nomad on different platforms and perform tasks, including scheduling, resource allocation, and rollouts.

We will use the user interface to learn concepts based on our requirements. We will create job specifications and run our first Nomad job. We will manage Nomad and monitor a Nomad environment and application logs. We will create a rotating gossip encryption key and upgrade Nomad to newer versions. We will also explore how to troubleshoot and debug issues that may arise using Nomad in a production environment.

By the end of this course, you will have the skills and knowledge required to use HashiCorp Nomad successfully and use Nomad to automate and streamline your organization’s workflow.

What You Will Learn

  • Learn to install and configure Nomad on various platforms
  • Explore creating and managing jobs and task groups
  • Learn how to secure Nomad using TLS, Gossip Encryption, and ACLs
  • Implement Nomad’s API, command-line interface (CLI), and the UI
  • Integrate Nomad with other HashiCorp tools, such as Consul and Vault
  • Learn to troubleshoot and debug issues when using Nomad clusters

Audience

This beginner-level course on HashiCorp Nomad caters to software engineers, system administrators, and DevOps professionals wanting to learn to use Nomad to deploy and manage applications. This course aims at learners wishing to deploy and maintain apps in a production setup and use Nomad to automate and streamline workflows. The prerequisites include a basic understanding of the Linux OS and command-line interface and basic cloud computing and IaaS platform knowledge such as Amazon Web Services (AWS), Microsoft Azure, or Google Cloud. You should be familiar with containerization, orchestration, and microservices.

About The Author

Bryan Krausen: Bryan Krausen is an IT consultant with over 20 years of experience in enterprise IT. He specializes in Amazon Web Services and HashiCorp tools. Bryan focuses on cloud design and facilitates customer workshops that define business and technical requirements to allow businesses to deliver applications on the AWS cloud platform. He was the first individual to earn the HashiCorp Vault Expert partner certification.

Bryan has deployed and assisted with adopting the HashiCorp Vault into many Fortune 1000 companies. He delivers lectures at community events, such as HashiConf (2019 to 2022), HashiTalks (2019 to 2020), and many HashiCorp user groups across the mid-west and eastern US.

Table of contents

  1. Chapter 1 : Introduction to Nomad
    1. Introduction to Nomad
    2. Understanding the Nomad Components
    3. Learning Nomad Architecture
    4. Comparing Nomad to Kubernetes
  2. Chapter 2 : Deploying Nomad
    1. Installing Nomad
    2. Demo - Installing Nomad on macOS
    3. Demo - Installing Nomad on Linux
    4. Demo - Installing Nomad on Windows
    5. Let's Get Nomad Running
    6. Demo - Starting the Nomad Service
    7. Nomad Server Clustering
    8. Demo – Let's Create a Nomad Cluster
    9. Nomad Clients
    10. Demo – Let's Add Clients to the Cluster
    11. Managing Cluster Members
    12. Demo – Let's Work with Cluster Members
  3. Chapter 3 : Securing Nomad
    1. Securing Nomad
    2. Secure Nomad with TLS
    3. Demo - Secure Nomad with TLS
    4. Secure Gossip Encryption
    5. Demo - Secure Gossip Encryption
    6. Secure Nomad with ACLs
    7. Demo - Secure Nomad with ACLs
  4. Chapter 4 : Interacting with Nomad
    1. Interacting with Nomad using the CLI
    2. Demo - Using the Nomad CLI
    3. The Nomad UI
    4. Demo - Using the Nomad UI
    5. Understanding the Nomad API
    6. Demo - Using the Nomad API
  5. Chapter 5 : Working with Nomad Jobs
    1. Working with Nomad Jobs
    2. Creating a Nomad Job Specification
    3. Demo - Create a Job Specification
    4. Running Our First Nomad Job
    5. Demo - Run Our First Nomad Job
  6. Chapter 6 : Expanding on Nomad Jobs
    1. Expanding on Nomad Jobs
    2. Job Placement
    3. Demo - Job Placement
    4. Job Constraints
    5. Demo - Job Constraints
    6. Networking for Jobs
    7. Demo - Networking
    8. Working with Volumes
    9. Demo - Working with Volumes
  7. Chapter 7 : Managing Nomad Environments (Day 2 Ops)
    1. Managing Nomad Environments (Day Two Ops)
    2. Monitoring the Nomad Environment
    3. Demo - Monitor the Nomad Environment
    4. Monitoring Application Logs
    5. Demo - Monitoring Application Logs
    6. Rotating Gossip Encryption Key
    7. Demo - Rotating the Gossip Encryption Key
    8. Upgrading Nomad to Newer Versions
    9. Demo - Upgrading Nomad to Newer Versions

Product information

  • Title: Getting Started with HashiCorp Nomad
  • Author(s): Bryan Krausen
  • Release date: March 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781805120988