All eyes on AI: 2026 predictions – The shifts that will shape your stack.

Read now

Tutorial

Create a database using Azure Cache for Redis

February 26, 20263 minute read
TL;DR:
Set up Azure Cache for Redis Enterprise by launching Redis Enterprise from the Azure Marketplace, configuring your subscription and cache settings in the Azure portal, and connecting with redis-cli. The Enterprise tier gives you access to advanced features like active geo-replication, Redis modules (RediSearch, RedisJSON, RedisBloom, RedisTimeSeries), and enterprise-grade SLAs.
Azure Cache for Redis is a native fully-managed service on Microsoft Azure. Azure Cache for Redis offers both the Redis open-source (OSS Redis) and a commercial product from Redis (Redis Cloud) as a managed service. It provides secure and dedicated Redis server instances and full Redis API compatibility. The service is operated by Microsoft, hosted on Azure, and accessible to any application within or outside of Azure.

#What will you learn?

  • How to subscribe to Azure Cache for Redis Enterprise through the Azure Marketplace
  • How to configure a new Redis Enterprise cache instance in the Azure portal
  • How to connect to your Azure Redis Enterprise database using redis-cli

#Prerequisites

#How is Azure Cache for Redis Enterprise different from the basic tier?

Azure Cache for Redis Enterprise is the premium offering that provides features beyond the standard Azure Cache for Redis tiers. Enterprise tier benefits include:
  • Active geo-replication for multi-region deployments
  • Redis modules such as RediSearch, RedisJSON, RedisBloom, and RedisTimeSeries
  • Enterprise-grade SLAs with 99.999% availability
  • Higher throughput and lower latency compared to Basic and Standard tiers
  • Flash storage support for cost-effective large datasets
If you're looking for the standard Azure Cache for Redis setup, see the Azure portal basic tutorial.

#How do you set up Azure Cache for Redis Enterprise?

#Step 1. Launch from the Azure Marketplace

Open the Azure Cache for Redis Cloud & Flash listing in the Azure Marketplace.
Azure Marketplace listing page for Redis Enterprise Cloud and Flash showing subscription options

#Step 2. Subscribe and configure your plan

Select your Azure subscription, resource group, and region. Choose the Enterprise tier that matches your workload requirements.
Azure portal setup and subscribe page for configuring Redis Enterprise subscription details

#Step 3. Configure your Redis Enterprise cache

Set your cache name, select the desired capacity, and enable any Redis modules you need (such as RediSearch or RedisJSON). Configure networking and security settings based on your requirements.
Azure portal configuration page for setting Redis Enterprise cache name, capacity, and module options

#Step 4. Finalize and deploy

Review your configuration and click Create to deploy your Azure Cache for Redis Enterprise instance. Deployment typically takes a few minutes.
Azure portal review and create page showing the final configuration summary before deploying Redis Enterprise

#How do you connect to your Azure Redis Enterprise database?

Once your cache is deployed, retrieve the hostname and access key from the Azure portal. Then connect using redis-cli:
Replace redislabs.redis.cache.windows.net with your actual cache hostname from the Azure portal.

#Next steps