本文介绍了Azure CDN的后备存储帐户(或多个存储帐户)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在可以针对单个存储帐户配置Azure CDN.我想知道的是,在发生灾难的情况下,该特定区域变得不可用(中断等).如果那时我需要刷新缓存,则没有任何区域性后备.使用CDN支持多个存储帐户的正确方法是什么?

I can configure the Azure CDN against a single storage account presently. What I'm wondering is in the event of a disaster, where that particular region becomes unavailable (outages etc..). If I need to refresh the cache at that point I don't have any regional fallbacks. What is the correct way of supporting multiple storage accounts with the CDN?

我可以看到它的一种方式是流量管理器.流量管理器会根据性能将请求接收并发送到为X存储帐户配置的X CDN之一.这样,如果其中一个区域不可用,则流量管理器应回退到另一个区域.但是,这是一个昂贵的解决方案,因此,我正在寻找可以理想地获得一个CDN和X存储帐户的东西,并且CDN应该能够处理全世界范围内的性能以及后备区域.

One way that I can see it is the Traffic Manager. Traffic Manager receives the request and sends it to one of the X CDNs configured for X Storage Accounts based on performance. That way if one of the regions become unavailable, Traffic Manager should fallback to another one. This is an expensive solution though, so I'm looking for something where I can get one CDN and X Storage Accounts ideally and the CDN should handle the world-wide performance, along with a fallback region.

推荐答案

以下是配置AFD的步骤:

Here are the steps to configure AFD:

  1. 从门户网站创建AFD.
  2. 单击前门设计器.您将分为3个部分.首先是将已经配置的前端.然后是Baclkend池和路由规则.
  3. 单击后端池",然后添加一个新的后端池.选择存储"作为主机类型",然后选择主存储" blob页面,并将优先级设置为1.
  4. 完成后,配置运行状况"探针.然后添加第二个存储blob"页面,然后将优先级设置为2.
  5. 配置路由规则,并确保将/*作为匹配模式.您还可以在规则中启用缓存,并且可以基于查询字符串进行缓存.此外,如果具有动态页面,则可以启用动态压缩.

完成后,尝试访问AFD URL并检查其工作方式.

Once that is done, try accessing AFD URL and check how it works.

以下是公共文档供您参考:https://docs.microsoft.com/zh-cn/azure/frontdoor/front-door-routing-methods

Here is the Public Documentation for your reference: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-routing-methods

这篇关于Azure CDN的后备存储帐户(或多个存储帐户)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 13:25