[英]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;
我们还有在另一个区域创建的 Azure Blob 存储; Australia.
澳大利亚。
The Blob storage is only accessible from selected.networks (no public access). Blob 存储只能从 selected.networks 访问(无公共访问权限)。 When I try and add an existing.network, it can't obviously find them as they are in different regions all together.
当我尝试添加一个 existing.network 时,它显然无法找到它们,因为它们都位于不同的区域。
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您可以启用存储诊断日志记录版本 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解析日志文件并检查尝试访问存储帐户并被阻止的IP: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然后您可以在存储防火墙设置中将 IP 列入白名单,并检查您是否能够访问存储帐户: https://learn.microsoft.com/en-us/azure/storage/common/storage.network-security?tabs =azure-portal#managing-ip.network-rules
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.