skip to Main Content

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?

2

Answers


  1. 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.

    Login or Signup to reply.
  2. Yes any resource can connect to the private end point as long as they are with in the same VNET. Does not matter if they are in the same or different subnet.
    Adding to that , resources from other VNETS can also connect to the private end point if there is a VNET peering between the source and target vnets.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search