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

Azure Load Balancing Decision Matrix

Load Balancer / Gateway Load Balancer / Application Gateway / Front Door / Traffic Managerをdata path、layer、scope、TLS、WAF、source IP、healthで比較する。

この記事の目次

Azure Load Balancing Decision Matrixを理解するための前提

Load Balancerはregional L4、Gateway Load Balancerはtransparent NVA chaining、Application Gatewayはregional L7、Front Doorはglobal L7 edge、Traffic ManagerはDNS steering。 「load balancing」という名称でもdata pathに入るserviceとDNS answerだけ返すserviceがある。最初にproxy/non-proxyを分ける。

WAFが必要ならApplication Gateway WAF_v2またはFront Door Premium/Standard custom rules等のfeature差を確認する。 private application entry pointはinternal Load Balancerまたはprivate Application Gateway、global public edgeからprivate originへはFront Door Premium Private Link等を比較する。

egressは別問題。inbound Load Balancerを選んでもbackend outbound architectureはNAT Gateway等で明示する。 multi-tier構成ではFront Door→Application Gateway→backendのようにserviceを組み合わせられるが、health/Host/client IP/security責任をlayerごとに分ける。

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

Control plane / Data plane / Observability

Question 1

data planeにproxyが必要か。

Question 2

HTTP-aware control/TLS/WAFが必要か。

Question 3

regional/global/DNS-only/NVA chainのどこに配置するか。

判定原則L4 flow、L7 proxy、DNS steering、NVA chainingを同じ「load balancing」として扱わず、clientが最終的にどのIPへ接続し、どこでconnectionが終端/再生成されるかを最初に固定します。

Client-to-backend path

  1. traffic protocolとclient typeを固定する。
  2. L4 pass-throughかL7 proxyかDNS steeringかを選ぶ。
  3. regional/global scopeとprivate/public entry pointを決める。
  4. health evaluation pointとfailover targetを決める。
  5. TLS/Host/client IP/origin security要件をservice featureへmappingする。
  6. outbound/observability/rollbackを別軸で完成させる。

仕組みを分解する

正しい選定は単一表の「○×」だけでは終わりません。たとえばFront Door + AppGWは両方L7ですが、Front Doorはglobal edge/origin security、AppGWはregional VNet integration/backend health/TLSを担当できます。重ねる場合はHost header、X-Forwarded-For、WAF二重評価、probe sourceを明示します。

運用時はresource configurationだけで完了判定せず、実clientからの名前解決、TCP/TLS handshake、HTTP status、backend側のsource IP/Host/header、health telemetryを同じtimestampで揃えます。load balancer/proxyがhealthyでもapplication dependencyが壊れている場合があり、逆にbackend applicationが正常でもhealth probe条件やrouting ruleが不整合ならtrafficは到達しません。

設計判断

判断軸設計方針
Standard Load BalancerTCP/UDP、source IP preservation、low-latency L4、internal/public VIP。
Gateway Load Balancerthird-party NVA transparent service chainとflow symmetry。
Application Gateway v2regional HTTP(S)/TLS、Host/path routing、private frontend、WAF_v2。
Front Door + Traffic ManagerFront Door=global proxy/CDN/WAF、Traffic Manager=DNS endpoint steering。用途を混同しない。

確認手順

Read-only verification

  • architecture diagramにclient→edge/VIP→proxy→backendを実際のconnection boundaryで描く。
  • 各hopのhealth source、TLS termination、source IP/headersを表にする。
  • regional failure/backend failure/origin bypassなどfailure injectionを最低1つずつ試験する。
  • DNS TTL/route/NSG/WAF/loggingをservice選定表とは別acceptanceにする。

Evidence to keep

  • resource ID / subscription / region / frontend / backend targetを保存し、同名resource取り違えを防ぐ。
  • DNS answer、source IP、destination IP/port、Host/SNI、health status、timestampを同じincident recordへ残す。
  • 変更前後で同じclient journeyをnew connectionとして再実行する。
  • Portal表示だけでなくCLI/PowerShell/APIまたはlogsを併用し、観測面の一時差を識別する。
Azure CLI — read-only first
az network lb list -o table
az network application-gateway list -o table
az afd profile list -o table
az network traffic-manager profile list -o table
PowerShell — read-only first
Get-AzLoadBalancer
Get-AzApplicationGateway
Get-AzFrontDoorCdnProfile
Get-AzTrafficManagerProfile

障害切り分け

症状第一候補証拠次の確認
選定後に機能不足layer要件漏れrequirements matrixprotocol/TLS/WAF再評価
client IP期待違いproxy boundary漏れpacket/headerXFF trust or L4
DRが遅いDNS TTL/failover modelTTL + healthFront Door/TM差
backend非公開化不足origin security漏れdirect-origin testPrivate Link/ACL/FDID
egress障害inboundと混同SNAT configNAT Gateway等別設計

変更時の確認と rollback

  • service cutover前にold DNS/VIPを維持する。
  • certificate/domain ownershipを新旧serviceで重複可能にする。
  • WAF policyはlayerごとにrollback可能にする。
  • rollback判定はHTTP 200だけでなくclient IP/Host/TLS/origin bypassまで含める。
Change safety: health probe、DNS、TLS certificate、WAF/routing rule、backend poolを同時に変えるとfailure domainを判別できません。1 hypothesisずつ変更し、各段階で同じobservable journeyを再実行します。

Current notes — 2026-09-11

Current behavior / guidance

Azureのload-balancing portfolioは機能が増えているが、L4/L7/DNS/NVA chainingという役割分担で整理すると選定を安定させられる。

Official sources

動作、retirement、feature availability、health/TLS behaviorはMicrosoft Learnのcurrent documentationを基準に確認しています。production変更時は対象subscription/region/SKUの最新documentationとresource provider stateを再確認してください。