編輯

共用方式為


Upgrade a public IP address using the Azure portal, Azure CLI, or Azure PowerShell

Important

On September 30, 2025, Basic SKU public IPs will be retired. For more information, see the official announcement. If you are currently using Basic SKU public IPs, make sure to upgrade to Standard SKU public IPs prior to the retirement date.

Azure public IP addresses are created with a SKU, either Basic or Standard. The SKU determines their functionality including allocation method, feature support, and resources they can be associated with.

In this article, you learn how to upgrade a static Basic SKU public IP address to Standard SKU in the Azure portal, Azure CLI, or Azure PowerShell.

Prerequisites

Upgrade public IP address

In this section, you upgrade your static Basic SKU public IP to the Standard SKU using the Azure portal, Azure CLI, or Azure PowerShell.

In this section, you sign in to the Azure portal and upgrade your static Basic SKU public IP to the Standard sku.

In order to upgrade a public IP, it must not be associated with any resource. For more information, see View, modify settings for, or delete a public IP address to learn how to disassociate a public IP.

Upgrading a public IP resource retains the IP address.

Important

In the majority of cases, Public IPs upgraded from Basic to Standard SKU continue to have no availability zones. This means they cannot be associated with an Azure resource that is either zone-redundant or tied to a pre-specified zone in regions where this is offered. (In rare cases where the Basic Public IP has a specific zone assigned, it will retain this zone when upgraded to Standard.)

Note

If you have multiple basic SKU public IP addresses attached to a virtual machine, it may be easier to use our upgrade script.

  1. Sign in to the Azure portal.

  2. In the search box at the top of the portal, enter Public IP.

  3. In the search results, select Public IP addresses.

  4. In Public IP addresses, select myBasicPublicIP or the IP address you want to upgrade.

  5. Select the upgrade banner at the top of the overview section in myBasicPublicIP.

    Screenshot showing the upgrade banner in Azure portal used to upgrade basic IP address.

    Note

    The basic public IP you are upgrading must have static assignment. You'll receive a warning that the IP can't be upgraded if you try to upgrade a dynamically allocated IP address. Change the IP address assignment to static before upgrading.

  6. Select the I acknowledge check box, and then select Upgrade.

    Warning

    Upgrading a basic public IP to standard SKU can't be reversed. Public IPs upgraded from basic to standard SKU continue to have no guaranteed availability zones.

Verify upgrade

In this section, you verify the public IP address is now the standard SKU using the Azure portal, Azure CLI, or Azure PowerShell.

  1. Sign in to the Azure portal.

  2. In the search box at the top of the portal, enter Public IP.

  3. In the search results, select Public IP addresses.

  4. In Public IP addresses, select myBasicPublicIP or the IP address you upgraded.

  5. Verify that the SKU is listed as Standard in the Overview section.

    Screenshot showing public IP address is standard SKU.

Next steps

In this article, you upgraded a basic SKU public IP address to standard SKU.

For more information on public IP addresses in Azure, see: