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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.
- 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
- 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.
- Ensure All Server Agents Are Working and Able to See Each Other
- Verify that you can see all three agents.