I have been experimenting with the Azure Redis Cache preview, and so far, so good. However, when I am not using it, I would like to disable it so that it is not consuming memory and not accessible.

I would prefer not to delete it, as I do not wish to create a new instance each time I want to run some tests. But from the portal, there is no disable or deactivate option, just delete.

I have reviewed the documentation at http://msdn.microsoft.com/en-us/library/azure/dn690523.aspx but have not found a solution.

  • 1
    I was unable to disable it but I changed the key so nobody could use it any more. In my case my biggest worry was that someone might be using it. After a few days I will be able to delete it. Feb 2, 2017 at 15:39

2 Answers 2


I was able to find an answer through the Azure Cache forum on MSDN.

For the time being, there is no deactivate or disable command. And under the Preview release, some of the Redis commands, such as SHUTDOWN, have been disabled.

For more information, see:



I have the same requirement where I want to disable the cache to do some testing. I had to work around by using FireWall option and input a random ip that isn't mines.

enter image description here

  • Best workaround so far
    – alamoot
    Mar 18, 2021 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .