可用性ゾーンのあるリージョンでは、ゾーン冗長フロントエンド IP を Standard Load Balancer に割り当てることで、1 つの可用性ゾーンに障害が発生した場合でも、他の正常なゾーンとバックエンドインスタンスがトラフィックを受信できる場合に限り、継続的なトラフィック分散が保証されます。
Click the Azure Resource Graph tab to view the query
//AzureResourceGraphQuery//FindallLoadBalancerswithwithregionalorzonalpublicIPAddressesresources|wheretype=="microsoft.network/loadbalancers"|wheretolower(sku.name)!='basic'|mv-expandfeIPconfigs=properties.frontendIPConfigurations|extendfeConfigName=(feIPconfigs.name),PrivateSubnetId=toupper(feIPconfigs.properties.subnet.id),PrivateIPZones=feIPconfigs.zones,PIPid=toupper(feIPconfigs.properties.publicIPAddress.id),JoinID=toupper(id)|whereisnotempty(PrivateSubnetId)|whereisnull(PrivateIPZones)orarray_length(PrivateIPZones)<2|projectname,feConfigName,id|union(resources|wheretype=="microsoft.network/loadbalancers"|wheretolower(sku.name)!='basic'|mv-expandfeIPconfigs=properties.frontendIPConfigurations|extendfeConfigName=(feIPconfigs.name),PIPid=toupper(feIPconfigs.properties.publicIPAddress.id),JoinID=toupper(id)|whereisnotempty(PIPid)|joinkind=innerunique(resources|wheretype=="microsoft.network/publicipaddresses"|whereisnull(zones)orarray_length(zones)<2|extendLBid=toupper(substring(properties.ipConfiguration.id,0,indexof(properties.ipConfiguration.id,'/frontendIPConfigurations'))),InnerID=toupper(id))on$left.PIPid==$right.InnerID)|projectrecommendationId="621dbc78-3745-4d32-8eac-9e65b27b7512",name,id,tags,param1="Zones: No Zone or Zonal",param2=strcat("Frontend IP Configuration:"," ",feConfigName)
ヘルスプローブを使用してバックエンドインスタンスの可用性を検出する
Impact:HighCategory:Monitoring and AlertingPG Verified:Verified
Click the Azure Resource Graph tab to view the query
//AzureResourceGraphQuery//Listtheloadbalancerswhichdon't have health probe configured
resources
| where type =~ "microsoft.network/loadbalancers"
| where array_length(properties.probes) == 0
| project recommendationId="e5f5fcea-f925-4578-8599-9a391e888a60", name, id, tags, param1="customHealthProbeUsed: false"