How can I disable an Azure Redis Cache?
Solution 1
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:
Solution 2
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.
Related videos on Youtube
JeremyDWill
Updated on September 18, 2022Comments
-
JeremyDWill over 1 year
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.
-
Rob Sedgwick over 7 yearsI 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.
-
-
John Allers about 8 yearsThere is no pause support still... "There is no option for stopping or pausing the billing of a cache." Source: https://azure.microsoft.com/en-us/documentation/articles/cache-faq/#how-am-i-billed-for-azure-redis-cache
-
alamoot about 3 yearsBest workaround so far