Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Quickstart: Create an Azure Cache for Redis instance

  • Applies to: ✅ Azure Cache for Redis
Feedback

In this article

Important

Azure Cache for Redis announced its retirement timeline for all SKUs. We recommend moving your existing Azure Cache for Redis instances toAzure Managed Redis as soon as you can.

For more details about the retirement:

Azure Cache for Redis provides a fully managedopen-source Redis cache within Azure. You can start with a Basic, Standard, or Premium tier cache of any 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 instance.

Prerequisites

You need an Azure subscription before you begin. If you don't have one, create afree account.

Create a cache

  1. In theAzure portal, search for and selectAzure Cache for Redis.

  2. On theAzure Cache for Redis page, selectCreate >Azure Cache for Redis.

  3. On theBasics tab of theNew Redis Cache page, configure the following settings:

    • Subscription: Select the subscription to use.
    • Resource group: Select a resource group, or selectCreate 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 anAzure region near other services that use your cache.
    • Cache SKU: Select aSKU to determine the available sizes, performance, and features for your cache.
    • Cache size: Select a cache size. For more information, seeAzure Cache for Redis overview.

    Screenshot that shows the Basics tab of the New Redis Cache page.

  4. Select theNetworking tab, or selectNext: Networking.

  5. On theNetworking tab, select a connectivity method to use for the cache.Private Endpoint is recommended for security. If you selectPrivate Endpoint, selectAdd private endpoint and create the private endpoint.

  6. Select theAdvanced tab, or selectNext: Advanced.

  7. On theAdvanced pane, configure the following options:

    • SelectMicrosoft Entra Authentication orAccess Keys Authentication.Microsoft Entra Authentication is enabled by default.
    • Choose whether toEnable the non-TLS port.
    • For a Premium cache, you can configure or disableAvailability 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 forReplica count,Clustering andShard count,System-assigned managed identity, andData persistence.

    The following image shows theAdvanced tab for the Standard SKU.

    Screenshot showing the Advanced pane for a Standard SKU cache.

    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, seeUse Microsoft Entra ID for cache authentication.

  8. Optionally, select theTags tab or selectNext: Tags, and enter tag names and values to categorize your cache resources.

  9. SelectReview + create, and once validation passes, selectCreate.

The new cache deployment takes several minutes. You can monitor deployment progress on the portal Azure Cache for Redis page. When the cacheStatus displaysRunning, the cache is ready to use.

Related content


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?