Azure Redis Cache

Source: Internet
Author: User

Install the Azure PowerShell SDK (> 2015.04)

Get and save the mooncake publishsettingsfile:get-azurepublishsettingsfile-environment Azurechinacloud

Import Publishfile to Powershell:import-azurepublishsettingsfile–publishsettingsfile "path"

Toggle Resoucemanager:switch-azuremode-name Azureresourcemanager

Select subscription: select-azuresubscription-name "subscription name" (can be omitted when there is only one subscription)

Create Resourcegroup:new-azureresourcegroup-name groupname-location "Chinaeast/north" Note: select Eastern or North

To Create a redis: new-azurerediscache-resourcegroupname groupname-name rediesname-location "China East/north" Note: Selecting the group and region you created earlier requires a consistent

You can create multiple redies that can be created at the same time in the eastern and North districts, repeating the above commands

get information on Rediscache: Get-azurerediscache

get the access key for Rediscache: get-azurerediscachekey-resourcegroupname groupname-name rediesname

Example:

650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M00/78/58/wKioL1Z6VxaAw3AcAAA8mmMBYlo751.png " alt= "Wkiol1z6vxaaw3acaaa8mmmbylo751.png"/>

Set-azurerediscache-resourcegroupnamegroupname–name Redisname-enablenonsslport $true

Cmdletset-azurerediscache at command pipeline position 1

Supplyvalues for the following parameters:

(type!.)

Maxmemorypolicy: Allkeyslru


Azure Redis Cache

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.