Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure Cache for Redis provides fully managed open-source Redis within Azure. You can start with an Azure Cache for Redis instance of any tier (Basic, Standard, or Premium) and size, and scale it to meet your application's performance needs. This quickstart demonstrates how to use the Azure portal to create a new Azure Cache for Redis.
Prerequisites
You'll need an Azure subscription before you begin. If you don't have one, create a free account first.
Create a cache
In the Azure portal, search for and select Azure Cache for Redis.
On the Azure Cache for Redis page, select Create > Azure Cache for Redis.
On the Basics tab of the New Redis Cache page, configure the following settings:
- Subscription: Select the subscription to use.
- Resource group: Select a resource group, or select Create new and enter a new resource group name. Putting all your app resources in the same resource group lets you easily manage or delete them together.
- Name: Enter a cache name that's unique in the region. The name must:
- Be a string of 1 to 63 characters.
- Contain only numbers, letters, and hyphens.
- Start and end with a number or letter.
- Not contain consecutive hyphens.
- Region: Select an Azure region near other services that use your cache.
- Cache SKU: Select a SKU to determine the available sizes, performance, and features for your cache.
- Cache size: Select a cache size. For more information, see Azure Cache for Redis overview.
Select the Networking tab, or select Next: Networking.
On the Networking tab, select a connectivity method to use for the cache. Private Endpoint is recommended for security. If you select Private Endpoint, select Add private endpoint and create the private endpoint.
Select the Advanced tab, or select Next: Advanced.
On the Advanced pane, configure the following options:
- Select Microsoft Entra Authentication or Access Keys Authentication. Microsoft Entra Authentication is enabled by default.
- Choose whether to Enable the non-TLS port.
- For a Premium cache, you can configure or disable Availability zones. You can't disable availability zones after the cache is created. For a Standard cache, availability zones are allocated automatically. Availability zones aren't available for Basic SKU.
- For a Premium cache, configure the settings for Replica count, Clustering and Shard count, System-assigned managed identity, and Data persistence.
The following image shows the Advanced tab for the Standard SKU.
Important
Use Microsoft Entra ID with managed identities to authorize requests against your cache if possible. Authorization using Microsoft Entra ID and managed identity provides better security and is easier to use than shared access key authorization. For more information about using managed identities with your cache, see Use Microsoft Entra ID for cache authentication.
Optionally, select the Tags tab or select Next: Tags, and enter tag names and values to categorize your cache resources.
Select Review + create, and once validation passes, select Create.
The new cache deployment takes several minutes. You can monitor deployment progress on the portal Azure Cache for Redis page. When the cache Status displays Running, the cache is ready to use.
Related content
In this quickstart, you learned how to create an instance of Azure Cache for Redis.