How to connect multiple vnet resources to single Azure Redis Cache?

Naveen Sharma 0 Reputation points
2024-07-27T05:16:41.38+00:00

I have a scenario where I have 3 different App services integrated with 3 different vnets and wants to access the single instance of Azure Cache for Redis (Basic) with Private Endpoint. Is this possible? If yes, then how it can be done.

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

1 answer

Sort by: Most helpful
  1. akinbade abiola 16,645 Reputation points
    2024-07-27T07:02:03.8+00:00

    Yes, this is possible. However you will need to use Private Endpoint. The summary is below

    1. Create a Private Endpoint for the Azure Cache for Redis in one of the VNets. See, to create a PE. Create a private endpoint with a new Azure Cache for Redis instance
    2. Set up VNet peering between the three VNets. https://learn.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal
    3. Configure DNS resolution for the Private Endpoint.
    4. Update the App Services to use the private connection. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.