Search code examples
azure-virtual-networkazure-redis-cacheazure-private-link

Can we connect to resources in other subnets in same vnet using a azure private endpoint?


Can we connect to resources in other subnets in same vnet using an azure private endpoint?

I have three subnets subnet-A, subnet-B, and subnet-C in the same VNET test vnet.

If I created a private endpoint for azure Redis service with subnet-A, will resources in this subnet as well as in other subnets be able to connect to my Redis instance?


Solution

  • Can we connect to resources in other subnets in same vnet using an azure private endpoint?

    By default when the Azure resources are present inside a VNET , then they can communicate with each other privately. You can refer this Microsoft Documentation for more details on Virtual Network.

    If I created a private endpoint for azure Redis service with subnet-A, will resources in this subnet as well as in other subnets be able to connect to my Redis instance?

    Yes, other resources can communicate with Redis Cache even if it is configured with private endpoint as both of the resources will have Azure Network as Backbone. You can refer this Microsoft Documentation for more details on Private Link.