AZURE APPLICATION GATEWAY

Andrea Ciciliano 120 Reputation points
2023-09-25T13:14:42.39+00:00

Hi to all,

It's possible migrate an Azure application Gateway betwen two subscription?

Thank you

Andrea

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,213 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 50,021 Reputation points Microsoft Employee Moderator
    2023-09-26T06:10:16.1866667+00:00

    Hello @Andrea Ciciliano ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know if it is possible to move an Application Gateway between two subscriptions.

    Application gateways and WAF policies are not supported for move across resource groups/subscriptions/regions.

    User's image

    Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-support-resources#microsoftnetwork

    So, the only option is to recreate the Application gateway in the new subscription.

    However, to minimize downtime, you could follow a few steps as below:

    • You can export your existing App gateway configuration via ARM template, Bicep, PowerShell, CLI, etc.
    • You can either export template from your existing resource group or the Application gateway.

    Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-cli

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-powershell

    • Deploy the dependent resources such Key vaults and upload certificates.
    • Modify the exported template per your requirement and then deploy the Application gateway in the new subscription using that template.
    • Do a DNS swap to the newly provisioned application gateway (meaning point your DNS name or custom domain to the newly created application gateway).
    • Once the newly created Application gateway is fully provisioned and working, you can delete your old gateway.

    This should result in almost no downtime.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.