2013年8月15日星期四

[Windows Azure] using the Windows Azure quickly build Redis server

 

Redis believe play open source, big data is no stranger to my friends, we are most familiar user is Sina microblogging, microblogging overall data cache are based on Redis, and Sina for use Redis is also very deep, 64G is a group of said memory Redis cluster. Some time ago we also own a part of product architecture features a Redis transformation, the user concerned, fans and user data are stored in dynamic Redis, but still retained the store persistent data, efficiency improved a lot, the user access to relevant data is also much faster (using the code framework ServiceStack.Redis).

 

We are experienced users of Windows Azure, of course, is based on the transformation of Redis Azure, in Windows Azure is very easy to set up Redis server, Microsoft provides a very much to everyone's server templates are available, give the following explain the steps to create a simple (Note: At present, China's Azure service is temporarily not support this operation):

 

1. login Windows Azure console (which wwredis I already created a Redis server):

 

 

2. Choose Virtual Machines:

 

 

3. at the top choice Images:

 

 

4. default under Images is empty:

 

 

5. in Images screen, click Browse VM Depot:

 

 

 

6. popup window lists a number of already configured virtual machine templates, embodied here Azure powerful, as long as you can think of basic functions can be found, what LAMP, WordPress, Node.js, Ruby Stack, etc. etc., have seen have not seen a lot of:

 

 

6. Redis 2.6.9 in which to find a mirror:

 

 

7. Click Next to proceed to the creation process, select the stored data center and storage accounts, and here I choose Hong Kong data center, the newly created one testww storage account:

 

 

8. After setting Select "checkmark" Completing creation, the following is to create a process that is very slow, please be patient:

 

 

 

 

9. Wait created degrees to 100%, and then select the Create button:

 

 

10. fill in the template information server selection VHD URL:

 

 

11. selected in the Storage storage and file you just created:

 

 

12. Choose the type of machine and check the Linux Agent for Linux has been running the option click Finish:

 

 

13. began to create a virtual machine template:

 

 

14. created after the template is as follows:

 

 

15. Choose Virtual Machine Instances, enter the virtual machine management interface:

 

 

16. in the lower left corner select New:

 

 

17. select Compute, Virtual Machine, From Gallery:

 

 

18. the pop-up window, select the template you just created testredis, click Next:

 

 

19. Fill in the server name, user and password, and then enter the next step:

 

 

20. No specific requirements This step can keep the default and click Next:

 

 

21. Redis final step will be a service port to the list of external access, so as to use the program or remotely operate Redis, and then click Finish:

 

 

22. Creating virtual machine process is also a bit slow, I will not detail:

 

 

23. created after the following:

 

 

24. then we use SSH tools Log in for Redis service View:

 

 

25. use just set testredis users log in, enter to open Redis redis-cli command line:

 

 

26. use the info command to check the service status:

 

 

27. Thus, Redis server has been set up well, exactly how you can refer to: http://manual.csser. com / redis / index.html

 

Finally, I hope this helpful to everyone, thank you!

没有评论:

发表评论