- Lab
- A Cloud Guru
Securing Consul Server Nodes
In this lab you will be tasked with enabling encryption between the 3 provided Consul server agents. These supplied servers are already configured as server agents and will already be in a cluster. Your task is to enable the encryption between the 3 nodes and test to ensure the encryption is working and the agents can all see each other in the cluster.
Path Info
Table of Contents
-
Challenge
Check and Ensure All Agents Are Part of the Same Cluster
- Use a command such as
consul members
to ensure that all the agents provided are connected and part of the same cluster.
- Use a command such as
-
Challenge
Configure All the Server Agents to Use Gossip Encryption
- Create a key for use with the gossip encryption.
- Configure all the Consul server agents to use this key.
- Restart all the Consul server agents.
-
Challenge
Test All the Consul Servers to Ensure Encryption Is Being Used
- Check the logs to ensure the encryption is being used.
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.