hands-on lab

Getting Started with Azure Redis Cache

Up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Scaling with traffic demands for applications and reducing high latency can be difficult. Many factors come into play, like high availability and scalability. Azure's Redis Cache service makes this easier for developers by providing a scalable and cost-effective caching service. Caching layers provide quick response times and can handle thousands of users.

In this lab, you will learn Redis cache's benefits and how to deploy it in Azure.

Learning Objectives

Upon completion of this lab you will be able to:

  • Know the benefits of using Redis
  • Connect to Redis in an App
  • Explain how Caching works with an application and database

Intended Audience

This lab is intended for:

  • Individuals studying to some Azure Certification
  • Anyone interested in learning ways to speed up their application


You should be familiar with:

  • Azure Fundamentals

The following course can be used to fulfill the prerequisites:


May 3rd, 2023 - Updated theia to enable autosave

November 8th, 2022 - Updated lab to utilize the web-based CloudAcademy IDE.

November 5th, 2021 - Updated Azure Cloud Shell commands for Redis Cache service creation.

Environment before

Environment after

About the author

Learning paths

Luke is a Site Reliability Engineer at Microsoft. His background is infrastructure development using Terraform and in 2021 he was awarded the HashiCorp Ambassador award. He is an Azure DevOps Engineer Expert, Azure Administrator Associate, and HashiCorp Certified - Terraform Associate.

Covered topics

Lab steps

Logging into Azure using Azure CLI
Creating Redis Cache with AZ CLI and Creating Keys with Python
Logging in to the Microsoft Azure Portal
Manage Redis and Configure an Azure Web App