- Lab
- A Cloud Guru
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.
Path 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.
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.