- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Back up and Restore Consul Using a Snapshot
This lab will require you to complete the following tasks: 1. Create a KV pair in the key store. 2. Take a snapshot of Consul to a backup file. 3. Delete the KV pair from the store. 4. Restore the snapshot from the backup file. 5. Test the KV pair is back in the store. You will be provided a Consul server already in dev mode.

Lab Info
Table of Contents
-
Challenge
Log in to the Provided Server
-
Log in to the server using the credentials provided.
-
Test that Consul is ready for use with a
consul members
command.Note: It may take several minutes after the lab has started before Consul is ready for use.
-
-
Challenge
Create a Key Pair in the KV Store
- Using Consul commands, create a key value pair in the KV store. This pair may be anything. If you're not sure what values to use, use the following:
aws with a value of us-east-1
-
Challenge
Take a Snapshot of Consul and Delete the Key in the KV Store
- Using the appropriate commands, take a snapshot of the running Consul system.
- Delete the KV pair you created in the previous step.
- Check the KV store to ensure that key pair is missing.
-
Challenge
Restore the Snapshot to the Running Consul System
- Using the appropriate commands, restore the previously created snapshot to your Consul.
-
Challenge
Test the KV Pair Is Back in the KV Store
- Test the newly created KV pair is now back in the KV store.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.