For better data path performance enable FastPath on ExpressRoute Connections
Impact:MediumCategory:Scalability
APRL GUID:f6a14b32-a727-4ace-b5fa-7b1c6bdff402
Description:
ExpressRoute gateways facilitate network traffic and route exchanges. FastPath enhances on-premises to virtual network data path performance by directing traffic straight to virtual machines, bypassing the gateway for improved resiliency through reduced gateway utilization.
Click the Azure Resource Graph tab to view the query
//AzureResourceGraphQuery//FindallExpressRouteConnectionsthatareconnectedtoErGw3AZorUltraPerformancegatewayskuthatdon't have
// FastPath enabled for both the Gateway Bypass or Private Endpoint/Link service.
resources
| where type == "microsoft.network/connections"
| where properties.connectionType =~ 'expressroute'
| extend gatewayId = tostring(properties.virtualNetworkGateway1.id)
| join kind=inner (
resources
| where type =~ "Microsoft.Network/virtualNetworkGateways"
| where properties.sku.name in~ ("ErGw3AZ", "UltraPerformance")
| extend gatewayId = tostring(id)
) on gatewayId
| extend erGatewayBypass = tobool(properties.expressRouteGatewayBypass)
| extend privateLinkFastPath = tobool(properties.enablePrivateLinkFastPath)
| where not(erGatewayBypass) or not(privateLinkFastPath)
| project recommendationId = "f6a14b32-a727-4ace-b5fa-7b1c6bdff402", id, name, tags,
param1 = iff(erGatewayBypass, "Enabled: Gateway Bypass", "Disabled: Gateway Bypass"),
param2 = iff(privateLinkFastPath, "Enabled: PE FastPath", "Disabled: PE FastPath")
Configure an Azure Resource Lock on connections to prevent accidental deletion
Impact:HighCategory:High Availability
APRL GUID:a5f3a4bd-4cf1-4196-a3cb-f5a0876198b2
Description:
Configure an Azure Resource lock for Gateway Connection resources to prevent accidental deletion and maintain connectivity between on-premises networks and Azure workloads.