Connection to Azure Storage account

Apurva Pathak 315 Reputation points
2024-03-04T19:13:21.9266667+00:00

Hi folks,

I have a machine that has a route table associated with it which transfers 0.0.0.0/0 to our NVA. I enabled Service Endpoint of Azure Storage in the subnet of the VM and as expected a route to the 'VirtualNetworkServiceEndpoint' got created for all the relevant IPs of Storage service.

The Storage Account doesn't have any PE associated with it, now if traffic is leaving to the Azure Storage, at the route table it should be getting two routes; i.e.

  1. SDR: StorageServicetagIPRanges --> 'VirtualNetworkServiceEndpoint'
  2. UDR: 0.0.0.0/0 --> 10.X.X.X

As per the routing preferences mentioned here, Azure picks up the longest prefix to route the traffic to, which means my UDR (which directs all traffic to NVA) 0.0.0.0/0 should be ignored and SDR (which is specific to the service IP ranges) should be picked, and the traffic should go to Storage Account directly (OfCourse via Service Endpoints) rather than my NVA.

But, this is not happening, when I am doing a tracert, it is hitting my NVA. When I do a TNC it hits my NVA and it goes through that.

Could anyone please help me clarify this.

Azure routing preference snip:

User's image

tracert/ tnc results:

User's image

Effective routes on the VM's subnet(as per my current understanding Green routes should be preferred to Red ones on the basis of longest prefix):

User's image

Thanks in advance!

Cheers!

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,731 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,468 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,193 questions
{count} votes