How to connect to Redis Cache Cluster having Private Endpoint via Azure Redis Console

Anand Mohan Singh 45 Reputation points
2023-09-18T16:09:55.9566667+00:00

I have a Azure Redis Cluster. In order to connect to this Azure cluster from my Kubernetes Cluster a Private endpoint was configured. However, I am not able to connect it with Azure CLI Console.

I require access to console for L2 support however I am not able to do so.

Any help will be appreciated.

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
222 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
    2023-09-18T20:57:53.9233333+00:00

    @Anand Mohan Singh Thank you for reaching out.

    My understanding is that you are trying to connect to Redis Cache cluster having private endpoint via Redis Console.

    If you want to access the cache from the Azure Portal Console (Public), you need to enable the public access in the settings.

    Please try to connect the cache from the private endpoint connected VNet.
    If you want to connect it from Azure Portal Console, you should manually enable the public access. Azure Cache for Redis with Azure Private Link | Microsoft Learn
     
    You can continue use Redis-cli to connect the Redis on your machine following Use redis-cli with Azure Cache for Redis | Microsoft Learn. With the public access enabled, you should be able to connect to the cache. Please note, since the redis-cli not support SSL connection, you need to enable non-SSL port 6379 How to configure Azure Cache for Redis | Microsoft Learn to connect to the Redis using Redis-cli following the document above.

    If you are still not able to connect, please provide more information about the error message you are receiving.

    Regards,

    Oury


  2. Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
    2023-10-03T21:15:48.8833333+00:00

    Anand Mohan Singh

    Thank you for getting back so fast.

    Trying to connect from the Azure portal console is an unsupported scenario where you'll see a connection failure.

    https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-private-link#why-cant-i-connect-to-a-private-endpoint

    Regards,

    Oury

    0 comments No comments