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.
If you prefer to run CLI reference commands locally, install the Azure CLI. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. For more information, see How to run the Azure CLI in a Docker container.
If you're using a local installation, sign in to the Azure CLI by using the az login command. To finish the authentication process, follow the steps displayed in your terminal. For other sign-in options, see Sign in with the Azure CLI.
When you're prompted, install the Azure CLI extension on first use. For more information about extensions, see Use extensions with the Azure CLI.
Run az version to find the version and dependent libraries that are installed. To upgrade to the latest version, run az upgrade.
This tutorial requires version 2.0.28 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
Access to Azure PowerShell installed locally or Azure Cloud Shell.
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell module version 5.4.1 or later. Run Get-Module -ListAvailable Az to find the installed version. If you need to upgrade, see Install Azure PowerShell module. If you're running PowerShell locally, you also need to run Connect-AzAccount to create a connection with Azure.
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.
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.
In the search box at the top of the portal, enter Public IP.
In the search results, select Public IP addresses.
In Public IP addresses, select myBasicPublicIP or the IP address you want to upgrade.
Select the upgrade banner at the top of the overview section in myBasicPublicIP.
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.
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.
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.
az network public-ip update \
--resource-group myResourceGroup \
--name myBasicPublicIP \
--sku Standard
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.
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.
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.
### Place the public IP address into a variable. ###
$ip = @{
Name = 'myBasicPublicIP'
ResourceGroupName = 'myResourceGroup'
}
$pubIP = Get-AzPublicIpAddress @ip
### Set the SKU to standard. ###
$pubIP.Sku.Name = 'Standard'
Set-AzPublicIpAddress -PublicIpAddress $pubIP
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.
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.
In the search box at the top of the portal, enter Public IP.
In the search results, select Public IP addresses.
In Public IP addresses, select myBasicPublicIP or the IP address you upgraded.
Verify that the SKU is listed as Standard in the Overview section.
With the following Azure CLI command, verify that the SKU is listed as Standard in the output:
# Get the SKU of the public IP address.
az network public-ip show \
--resource-group myResourceGroup \
--name myBasicPublicIP \
--query sku \
--output tsv
With the following Azure PowerShell command, verify that the SKU is listed as Standard in the output:
### Place the public IP address into a variable. ###
$ip = @{
Name = 'myBasicPublicIP'
ResourceGroupName = 'myResourceGroup'
}
$pubIP = Get-AzPublicIpAddress @ip
### Display setting. ####
$pubIP.Sku.Name
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: