プラットフォームで管理されるスケーラブルで高可用性のアプリケーション配信コントローラーをサービスとして提供する Azure サービス。
Hello Takeshi Sasaki
Since Application Gateway v1 will be retired on April 28, 2026, migrating to v2 is the right approach. Based on your current setup (Basic SKU Public IP, WAF disabled, SSL per app, simple routing), here’s the recommended migration path with minimal disruption:
Migration Steps
1.Prepare Environment
- Ensure a free subnet in the same VNet for the new v2 gateway.
- Confirm no existing v2 gateway with the same name in the resource group.
- If using private-only frontend, register
EnableApplicationGatewayNetworkIsolation.
2.Configuration Migration
- Use the Enhanced Cloning PowerShell Script provided by Microsoft to copy your v1 configuration to a new v2 gateway: Azure PowerShell
./AzureAppGWMigration.ps1 -resourceId <V1 application gateway Resource ID> -subnetAddressRange <subnet space you want to use> -appgwName <string to use to append> -AppGWResourceGroupName <resource group name you want to use> -sslCertificates <comma-separated SSLCert objects as above> -trustedRootCertificates <comma-separated Trusted Root Cert objects as above> -privateIpAddress <private IP string> -publicIpResourceId <public IP name string> -validateMigration -enableAutoScale- This script replicates listeners, backend pools, SSL settings, and routing rules.
3.Traffic Migration
- To minimize downtime, swap the public IP from v1 to v2 using the IP migration script:
Azure PowerShell
./AzureAppGWIPMigrate.ps1
-v1resourceId <V1 application gateway Resource ID>
-v2resourceId <V2 application gateway Resource ID>
- Expected downtime: ~1–5 minutes during IP swap.
4.Validation
- Test backend health and SSL before switching production traffic.
- Update WAF rules if enabling WAF later (CRS 3.0 is deprecated; use DRS 2.1).
The migration process from V1 to V2 is clearly documented in the below link:
Kindly let us know if the above helps or you need further assistance on this issue.
If the answer is helpful, kindly upvote it. If you have extra questions about this answer, please click "Comment".