Difficulty: Intermediate
Estimated Time: 20-40 minutes

In this scenario, you will experiment with deploying a Nomad job that uses Consul Connect service mesh in a cluster with ACLs enabled.

We will do that by:

  • Enabling and bootstrapping Consul ACLs
  • Creating Consul agent policy and token
  • Install Consul agent token
  • Creating Nomad server policy and token
  • Configure Nomad with Consul token
  • Running a Connect-enabled job
    • Creating a Connect intention
    • Running the job
    • Verifying the application is running
  • Requiring Consul authentication to run jobs
  • Running a Connect-enabled job with a token

Congratulations, you have learned how to run a Nomad job secured with Consul Connect service mesh using an ACL-enabled Consul datacenter.

Visit learn.hashicorp.com/nomad for more Nomad guides.

Secure Nomad Jobs with Consul Connect service mesh

Step 1 of 9

Provisioning Extra Course Components

There are a few components that need to be added to the environment; we are adding them now. Please wait for the complete message and then move to the next step.

Example Output

- Fixing Journal
- Installing dnsmasq

and concluding with

- Complete! Move on to the next step.

Once you see this message, you are ready to continue.

Terminal
Nomad UI
Consul UI
CountDash UI