- Lab
- A Cloud Guru
Enabling Gossip Encryption in Nomad
By default, Nomad does not use any encryption between the agents running in Server mode. Encryption is available however, and can be enabled fairly easily. In this hands-on lab, you are provided with three servers built out as Server Agents, that are part of the same cluster. Your task is to enable Gossip encryption between the servers. Once enabled, you should still be able to see all three servers, and they should be able to continue to work together in the cluster.
Path Info
Table of Contents
-
Challenge
Log in to the Provided Servers
- Log in to the server using the credentials provided.
- Test to ensure that all server nodes are working in the cluster.
-
Challenge
Create the Required Key
- Use the appropriate process to create the required
16
bytes,base 64
encoded key. - Copy the key as it will be used for the configuration of the servers.
- Use the appropriate process to create the required
-
Challenge
Enable Gossip Encryption on all Server Nodes and Restart
- Edit the Nomad configuration file on each of the server agents, and update the correct stanza to add the encryption.
- Once the changes have been made, restart each instance of Nomad.
-
Challenge
Ensure All Server Agents Are Working and Able to See Each Other
- Verify that you can see all three agents.
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.