Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

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.

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 30m
Clock icon Mar 05, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log in to the Provided Server

    1. Log in to the server using the credentials provided.

    2. 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.

  2. 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

  3. 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.
  4. Challenge

    Restore the Snapshot to the Running Consul System

    • Using the appropriate commands, restore the previously created snapshot to your Consul.
  5. Challenge

    Test the KV Pair Is Back in the KV Store

    • Test the newly created KV pair is now back in the KV store.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans