private endpoint with multiple vnet how do you connect
When we setup multiple VNET and peer them, let's say we have marketing VNET and research VNET. then we created a storage account and setup private link in research VNET. At this point, VM trying to resolve our storage account in marketing vnet will get a public ip.
How do we configure to ensure this VM in marketing would be able internal IP?
All we need to do is go to the Private dns zone that we have created and then add a "Virtual Network link" and we choose "marketing" vnet target network.
And then in the VM that we have created in marketing VNET, you can see that we are resolving to a local ip address instead of public.
And then if we look at the subnet. there's no IP that has been taken up.
Comments