Azure Firewall change public IP

Eddie Vincent 245 Reputation points
2024-10-01T09:47:17.3333333+00:00

Recently Azure have made their public IP addresses zone redundant by default: https://azure.microsoft.com/en-us/blog/azure-public-ips-are-now-zone-redundant-by-default/

With basic public IP addresses being retired next year I need to remove mine from as the public IP of my Azure firewall (standard SKU) to be replaced with a zone redundant type, the only way I can find to do this is to delete and recreate the firewall but wanted to ask if there was a less destructive method of doing this?

I have tried the following with no success:

  • Adding a secondary IP address to the firewall via the Azure portal disassociating and deleting the primary, the primary IP cannot be deleted from the Firewall and throws up an allocation error despite the secondary IP address being present.
  • Using Bicep and adding the configuration zone 1,2,3 to the configuration - this fails with an error.
  • Using Azure PowerShell the firewall being unresponsive despite not actually deleting the secondary IP address (commands and resulting issue below).

User's image

I am now at the point of believing that complete re-creation is the only option however if anyone on this forum has any suggestions please let me know.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,661 Reputation points Microsoft Employee Moderator
    2024-10-09T20:05:24.47+00:00

    @Eddie Vincent

    Thank you for getting back and apologies for the delay here

    In this scenario as the IP address is standard SKU instead of adding an additional Zone redundant IP address, you can instead edit the existing IP Address Config on your firewall and select a Zone IP address.

    Below will be the steps to achieve this.

    • First deploy a Zone Redundant IP address in the region where the firewall is deployed.
    • Then Azure Firewall->Public IP configuration page and then edit the existing IP config and select the Zone Redundant IP address you created above in drop down and save.(You can refer to my screenshots below)User's image User's image

    After this process you can follow the steps documented here to configure availability zones for your Azure Firewall.

    Hope this helps! Thanks!

    1 person found this answer helpful.
    0 comments No comments

Your answer

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