简体   繁体   中英

VMs in different regions can't access a storage held in a third region

I have two virtual machines in two different regions; US and UK. We also have Azure Blob Storage that was created in another region; Australia.

The Blob storage is only accessible from selected.networks (no public access). When I try and add an existing.network, it can't obviously find them as they are in different regions all together.

Does anyone have any ideas on what I can do to provide both VMs access to the storage?

You can enable storage diagnostic logging version 2: https://learn.microsoft.com/en-us/azure/storage/common/manage-storage-analytics-logs?tabs=azure-portal

Parse the log file and check the IP that is trying to access the storage account and getting blocked: https://github.com/nunogabrielmonteiro/AzureStorageLogReader

Then you can whitelist the IPs in the storage firewall settings and check if you are able to access the storage account: https://learn.microsoft.com/en-us/azure/storage/common/storage.network-security?tabs=azure-portal#managing-ip.network-rules

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM