However, all is not lost, as Redis is not the only cache offering, and we do still support the Azure managed cache offering. This used to be visible in the UI, but you now have to use Azure PowerShell to create a managed cache, which you can then manage through the portal UI once created. Note that the managed cache offers the same uptime SLA as Redis, at 99.9%.
Follow the instructions below to create the cache, once it is up and running, you can return to the installation guide to continue setup. It's just the cache creation process that has changed.
Azure PowerShell Setup
Download & Install
First, download and install the Azure PowerShell package to your local machine:
- Go to http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409 to download the web installer
- Run the downloaded executable WindowsAzurePowerShell.3f.3f.3fnew.exe
- Follow the installer prompts to install with default options
Connecting to your Azure subscription
Once the PowerShell framework is installed, you first need to connect it to your Azure subscription. To do this:
- Launch Windows Azure PowerShell from the Start menu
- Run the following command Add-AzureAccount
- This will launch a browser window and prompt you to login. Login with the account you use to connect to your Azure subscription
- Once connected you will see the following in the PowerShell window
You can now create an Azure Managed Cache from the PowerShell window.
Cache Creation & Configuration
To create and configure a new managed cache, carry out the following steps:
- In the Azure PowerShell window, run the following command, replacing the location to match the location your HPRM virtual machine is running in: New-AzureManagedCache -Name hprmcache1 -Location "East US" -Sku Basic -Memory 128MB
- You will see the following response
- Note that the cache may take some time to create, in my case around 15 minutes. Once complete you will see the following in the PowerShell window
- III. General administration tasks - Obtaining the Azure cache endpoint
- III. General administration tasks - Obtaining the Azure access keys
That's it folks!