How to connect cache with Redis to a private endpoint that doesn't end up resolving to a public IP address?

Vicki 26 Reputation points
2022-04-04T21:32:16.783+00:00

We have set up Azure cache for Redis with a private endpoint but noticed that it resolves to a public IP address. Is there a way for the private endpoint to remain private? I read a Stackoverflow post from 2020 that suggests private endpoints are not available with Redis cache. Is that correct? If so, what are the instructions in the below doc meant to accomplish? :)

https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-private-link#how-do-i-verify-if-my-private-endpoint-is-configured-correctly

Thanks in advance for any information that can be provided.

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

3 answers

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 27,987 Reputation points Microsoft Employee
    2022-04-05T15:55:24.537+00:00

    Hi, @Vicki Thanks for posting your question in the Microsoft Q&A forum.

    As we understand the ask here is you have set up Azure cache for Redis with a private endpoint but noticed that it resolves to a public IP address,
    I tried to reproduce the same and I did not find any issues. have you done the firewall vnet with the private DNS zone for Redis if not can you do it?
    please share your screenshot so we can better assist you as there shouldn’t be an issue here. Private Endpoints are available with Azure Cache for Redis and have been GA for over a year.

    Private endpoints should not resolve to a public IP address unless public network access is explicitly enabled. To be clear, it will still have an IP address, but not a public one. You can see this in the picture at this link.

    Regards
    Geetha


  2. Vicki 26 Reputation points
    2022-04-06T16:14:24.07+00:00

    Hi Geetha,

    Thanks for the initial response and for the follow-up. We are working on firewall vnet with private DNS solution you mentioned. We have limited staff/time so this might not be completed for a few days. I will respond after we finish trying this out.

    Thanks again for you help,
    Vicki


  3. Vicki 26 Reputation points
    2022-04-08T14:49:09.513+00:00

    Thank you. We used the instructions in this document:

    https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-private-link