Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Azure Redis deployment of Azure Redis Seri

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Let's take a brief look at the deployment of redis. One of the advantages of PaaS service is that it does not require users to do server maintenance. In addition, another advantage is that deployment is simple. Although the deployment of traditional redis is not too complex, it still requires a large number of users to participate in the operation, but the creation of Azure Redis is very simple. You only need to enter some necessary parameters and click the mouse to complete. Moreover, the created redis is also a highly available environment with master and slave nodes, so there is no need to worry about service exceptions and other problems.

Let's take a look at the creation process. First, find Azure Cache for Redis in the service and click add.

Then you only need to enter some necessary information to complete the creation of the redis! Note that redis, like other Azure services, requires endpoint to be accessed, and the name of the endpoint must be unique in order to distinguish it from the redis created by other users. After that, it is mainly the selection of some logical parameters, such as subscription, resource group and so on.

The most important thing is to select the region and pricing tier, especially when choosing pricing tier. Although cloud services can generally adjust size, redis has some restrictions when adjusting size because it involves some architectural modes, such as the following:

You cannot scale from a higher pricing layer to a lower pricing layer.

You cannot zoom down from the advanced cache to the standard or basic cache.

You cannot scale down from the standard cache to the base cache.

You can scale from the basic cache to the standard cache, but you cannot change the size at the same time. If you need a different size, you can perform a subsequent zoom operation to scale to the desired size.

You cannot zoom directly from the basic cache to the advanced cache. First scale from basic to standard in one zoom operation, and then from standard to advanced in subsequent zoom operations.

Cannot be reduced from a larger size to C0 (250 MB).

Therefore, when creating, be sure to refer to these restrictions, otherwise it will only add to the trouble.

After the creation is completed, you can verify whether the redis is working properly. Generally speaking, you can connect to the redis through the command line tool redis-cli that comes with redis to see if the redis is created properly, or you can quickly connect to the redis through the console function of the Azure.

You can see that you can quickly enter some commands in console to view the information of redis

In addition, if you want to verify the function of remote access to redis, you can install redis-cli on your computer.

Use a command like this to connect to redis-cli-h hostname.redis.cache.chinacloudapi.cn-p 6379-a *

If you can connect normally and see the redis message, then the basic creation is fine!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report