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

Gateway Load Balancer

Gateway Load Balancerを、transparent NVA insertion、VXLAN、consumer/provider chain、flow symmetry、source IP preservationまで整理する。

この記事の目次

Gateway Load Balancerを理解するための前提

Gateway Load BalancerはAzure Load Balancer portfolioのGateway SKUで、third-party NVAをtransparentにservice chainするためのmanaged dataplane。 Standard Public Load Balancer frontendやStandard NIC IP configuration等のsupported consumer resourceからchainする。GWLB frontendをUDR next hopにはできない。

consumer→GWLB→NVA→consumerのtrafficはVXLAN encapsulationを使い、NVA backendへ渡される。 Gateway Load Balancerはflow stickinessとsymmetryを提供し、stateful NVAが同じpathを往復する設計を簡素化する。

consumer applicationへ戻る際もoriginal source IPを保持でき、public publishingとsecurity appliance ownershipを別subscription/tenantへ分離できる。 health probe + HA ports ruleがNVA backend availabilityを管理する。

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

Control plane / Data plane / Observability

Consumer

Standard Public LB/NIC frontendがGWLBを参照する。

Provider

Gateway LB + NVA poolをsecurity/service provider側で運用できる。

Tunnel

VXLANでtrafficをNVAへ運び、flow symmetryを保持する。

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

Client-to-backend path

  1. client trafficがconsumer public endpointへ到達する。
  2. consumer resourceのchain設定によりGWLBへtrafficを送る。
  3. GWLBがVXLAN encapsulationしてhealthy NVA instanceへ配布する。
  4. NVAがinspect/transform/forwardし、GWLB tunnelへ返す。
  5. GWLBがconsumer resourceへtrafficを戻す。
  6. consumer Load Balancer/NICからapplication backendへ進み、replyも逆方向に同NVA chainを通る。

仕組みを分解する

Gateway Load Balancerを従来UDR-based NVA挿入と混同しないことが重要です。GWLB frontend IPをroute tableのnext hopには設定できません。consumer resourceのchainingとして構成し、provider networkのaddress overlapやsubscription/tenant境界を吸収しながらNVA serviceを挿入します。

運用時は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は到達しません。

設計判断

判断軸設計方針
Public publishing chainpublic LB/NIC front endの前後へNVAをtransparentに挿入したい場合に適する。
UDR based inspectionspoke east-west/egress全体のroute steeringが中心ならAzure Firewall/NVA + UDR等を別途比較する。
VXLAN support選定NVA image/applianceがGateway LB integrationとVXLAN tunnel interfaceを正式サポートするか確認する。
Ownershipconsumer app teamとsecurity appliance provider teamのsubscription/tenant境界を明記する。

確認手順

Read-only verification

  • consumer frontendのGateway Load Balancer referenceを確認する。
  • GWLB frontend/tunnel interface/backend pool/health probeを確認する。
  • NVAでVXLAN interfaceとinner packetのoriginal client IPをcaptureする。
  • NVA failure時にnew flowがhealthy instanceへ移るか、return pathが同一instanceか確認する。

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 show -g <rg> -n <gateway-lb> -o jsonc
az network lb frontend-ip list -g <rg> --lb-name <gateway-lb> -o jsonc
az network lb address-pool list -g <rg> --lb-name <gateway-lb> -o jsonc
PowerShell — read-only first
Get-AzLoadBalancer -ResourceGroupName <rg> -Name <gateway-lb> | Format-List *

障害切り分け

症状第一候補証拠次の確認
NVAを通らないconsumer chain未設定frontend referenceconsumer resource association確認
片方向だけ失敗NVA tunnel/flow handlingVXLAN captureappliance integration確認
GWLBをUDR指定できない設計誤りroute tableconsumer chainingへ変更
probe unhealthyNVA health endpointprobe + NVA logtunnel/health listener確認
client IP欠落NVA自身のSNATinner packet captureappliance policy確認

変更時の確認と rollback

  • consumer chain reference解除を明確なrollback pointにする。
  • provider NVA pool変更前にflow/session impactを記録する。
  • VXLAN/tunnel configはvendor-supported templateと差分管理する。
  • rollback後はconsumer→appのdirect pathとsource IPを再確認する。
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

Gateway Load Balancerは現在もGateway SKUとして提供され、UDR next hopではなくsupported consumer resourceへのchainingを前提とする。

Official sources

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