Managing Redis Caches using the Azure Explorer for Eclipse

The Azure Explorer, which is part of the Azure Toolkit for Eclipse, provides Java developers with an easy-to-use solution for managing redis caches in their Azure account from inside the Eclipse IDE.

Prerequisites

The Azure Toolkit for Eclipse requires the following software components:

  • Eclipse IDE for Java EE Developers, Mars, or later. You can download it from the Eclipse website.

  • A Java Developer Kit (JDK), version 1.8 or later.

  • An operating system. The Azure Toolkit for Eclipse has been tested on the following operating systems:

    • Windows 10, Windows 8.1, Windows 8, and Windows 7
    • Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, and Windows Server 2008
    • Mac OS X version "Yosemite" and later
    • Ubuntu Linux version 14, 15, and 16

For more information, see the Azure Toolkit for Eclipse page at the Eclipse Marketplace.

Display the Azure Explorer view

If the Azure Explorer view is not visible in Eclipse, display it by doing the following:

  1. Click Window, click Show View, and then click Other.

    Show View command

  2. In the Show View dialog box, select Azure Explorer, and then click OK.

    Show View dialog box

Create a Redis Cache by using Eclipse

The following steps walk you through the steps to create a redis cache using the Azure Explorer.

  1. Sign in to your Azure account using the steps in the [Sign In Instructions for the Azure Toolkit for Eclipse] article.

  2. In the Azure Explorer tool window, expand the Azure node, right-click Redis Caches, and then click Create Redis Cache.

    Create Redis Cache Menu

  3. When the New Redis Cache dialog box appears, specify the following options:

    Create New Redis Cache Dialog Box

    a. DNS Name: Specifies the DNS subdomain for the new redis cache, which is prepended to ".redis.cache.windows.net"; for example: wingtiptoys.redis.cache.windows.net.

    b. Subscription: Specifies the Azure subscription you want to use for the new redis cache.

    c. Resource Group: Specifies the resource group for your redis cache; you need to choose one of the following options:

    • Create New: Specifies that you want to create a new resource group.
    • Use Existing: Specifies that you will choose from a list of resource groups associated with your Azure account.

    d. Location: Specifies the location where your redis cache is created; for example, West US.

    e. Pricing Tier: Specifies which pricing tier your redis cache uses; this setting determines the number of client connections. (For more information, see Redis Cache Pricing.)

    f. Non-SSL port: Specifies whether your redis cache allows non-SSL connections; by default, only SSL connections are allowed.

  4. When you have specified all your redis cache settings, click OK.

After your redis cache has been created, it will be displayed in the Azure Explorer.

Redis Cache in Azure Explorer

Note

For more information about configuring your Azure redis cache settings, see How to configure Azure Redis Cache.

Display the properties for your Redis Cache in Eclipse

  1. In the Azure Explorer, right-click your redis cache and click Show properties.

    Azure Explorer context menu to display properties for a redis cache

  2. The Azure Explorer displays the properties for your redis cache.

    Redis cache properties

Delete your Redis Cache by using Eclipse

  1. In the Azure Explorer, right-click your redis cache and click Delete.

    Azure Explorer context menu to delete a redis cache

  2. Click OK when prompted to delete your redis cache.

    Delete redis cache prompt

Next steps

For more information about Azure redis caches, configuration settings and pricing, see the following links:

For more information about the Azure toolkits for Java IDEs, see the following links:

For more information about using Java with Azure, see the Azure Java Developer Center and the Java Tools for Visual Studio Team Services.