Load Balancing & Delivery参照資料確認: 2026-09-11

Traffic Manager vs Front Door

DNS-based global steeringのTraffic ManagerとL7 reverse proxy/CDNのAzure Front Doorを、data path、failover、TLS/WAF、origin exposureで比較する。

Scope: Microsoft Learn / Azure Architecture Centerの一次資料を2026-09-11時点で確認し、旧来の短い記事を公開運用向けdeep diveへ更新。SKU、region、limits、Preview statusは変わるため、実装直前にOfficial sourcesを再確認してください。
What changed recently: Front Door (classic)は2027-03-31 retire予定。新規/移行先はStandard/Premiumを前提にする。

Traffic Manager vs Front Doorを理解するための前提

Traffic ManagerはDNS responseでendpointを選び、その後clientはendpointへ直接接続する。 Traffic Managerのfailover speedはendpoint healthに加えてDNS TTL/cacheの影響を受ける。

Azure Front Doorはglobal L7 serviceとしてHTTP/HTTPS connectionをedgeで受け、originへproxyする。 Front DoorはTLS termination、WAF、routing rules、caching/CDN等のapplication-layer機能を提供する。

simple global load balancingでclient→endpoint direct connectionが必要ならTraffic Managerが適する。 Front Door classicは2027-03-31 retire予定で、新規設計はStandard/Premiumを前提にする。

通信や判断の流れを追う
ClientEdge / Load balancerRouting / HealthBackend

Control plane と data plane

Control planeTM profile/routing method/endpoint/monitorとAFD profile/endpoint/route/origin group/WAFがcontrol plane。
Data planeTMはDNS query pathだけをcontrolしdata trafficに入らない。AFDはclient data trafficのL7 proxyとしてdata path上に常駐する。

仕組みと設計上の意味

TMはHTTP以外もendpointとして誘導できるが、application protocolをproxyしない。

AFDはclient IP/origin protection/Host/TLS/WAF ruleを設計し、originへdirect bypassされないよう制御する。

TMをFront Doorの前段に置くadvanced DR patternはあり得るが、Front Doorの後ろにTMを置くのはMicrosoft best practiceに反する。

multi-region failover testではDNS cache behaviorとAFD health probe behaviorを別に測る。

Packet / decision path

source→destinationを1本のflowとして固定し、名前解決・routing・security・NAT/service processing・return pathを必要な範囲で順に確認する。

  1. protocol/L7機能要件を決める。
  2. client→service data pathをTM directかAFD proxyか選択。
  3. health probe/failover behaviorを設計。
  4. TLS/WAF/cache/origin security要件を設定。
  5. region failure drillでRTOとclient behaviorを測る。

設計判断

判断点推奨理由
DNS-only steeringTraffic Managerclientがendpointへ直接接続
HTTP/S + WAF/CDNFront Door Standard/Premiumedge L7 capability
Non-HTTP global choiceTraffic Managerprotocol proxy不要
Origin concealment/securityFront Door + origin restrictionproxy経由を強制

確認手順

Azure Portal

  • TM: profile → Routing method / DNS TTL / Endpoint monitoringを確認。
  • AFD: endpoint/routes/origin group/health/WAFを確認。
  • DNS answerとactual TCP/TLS peerをclient側で確認。

Evidence contract

Identitysubscription / resource group / resource ID / regionを固定。
Before / After同じsource・destination・protocol・portで比較。
Effective state設定値だけでなくeffective route/security/health/logを取得。
Runtimecontrol-plane Succeededとapplication successを分けて判定。
Azure CLI — read-only first
az network traffic-manager profile show -g <rg> -n <tm> -o jsonc
az network traffic-manager endpoint list -g <rg> --profile-name <tm> -o table
az afd profile show -g <rg> -n <afd> -o jsonc
PowerShell — read-only first
Get-AzTrafficManagerProfile -ResourceGroupName <rg> -Name <tm>
Get-AzFrontDoorCdnProfile -ResourceGroupName <rg> -Name <afd>

障害切り分け

症状疑う点証拠次の確認
TM failoverが遅いDNS TTL/cacheauthoritative/client DNSTTLとresolver behavior確認
AFD healthは良いが5xxorigin app/Host/TLSAFD logs + origin logsL7 settings確認
origin direct access可能origin restriction不足direct origin testFrontDoor service tag/Private Link等で制限
classic利用中retirement riskprofile SKUStandard/Premium migration

変更・rollback

  • failover前にDNS TTLとhealth probe thresholdを記録。
  • AFD changeはorigin/route/WAF単位でstageしmetrics/logsを確認。
  • TM rollbackはendpoint status/weight/priorityとDNS cacheを考慮。
  • AFD rollbackはroute/origin configだけでなくcertificate/WAFを含める。

Official sources