Exercise - Perform data operations in Azure Managed Redis

Completed

In this exercise, you create an Azure Managed Redis resource and build a Python console application that performs common data operations using the redis-py library. You work with Redis hash data structures to store and retrieve key-value pairs, manage key expiration with Time-To-Live (TTL) settings, and delete keys from the cache.

Tasks performed in this exercise:

  1. Download the project starter files
  2. Create an Azure Managed Redis resource
  3. Add code to the starter files to complete the console app
  4. Run the console app to perform data operations

This exercise takes approximately 30 minutes to complete.

Before you start

To complete the exercise, you need:

Get started

Select the Launch Exercise button to open the exercise instructions in a new browser window. When you're finished with the exercise, return here to:

  • Complete the module
  • Earn a badge for completing this module

Button to launch exercise.