Migrate a classic reserved IP address to a public IP address

To benefit from the new capabilities in Azure Resource Manager, you can migrate existing public static IP address, reserved IPs, from the classic deployment model to Azure Resource Manager. The migrated public IP will be a basic SKU type.

In this article, you'll learn how to upgrade a classic reserved IP to a basic public IP address.

Prerequisites

Azure PowerShell Service Management module

In this section, you'll use the Azure PowerShell Service Management module to migrate a classic reserved IP to an Azure Resource Manager static public IP.

Note

The reserved IP must be removed from any cloud service that the IP address is associated to.

$validate = Move-AzureReservedIP -ReservedIPName 'myReservedIP' -Validate
$validate.ValidationMessages

The previous command displays any warnings and errors that block migration. If validation is successful, you can continue with the following steps to Prepare and Commit the migration:

Move-AzureReservedIP -ReservedIPName 'myReservedIP' -Prepare
Move-AzureReservedIP -ReservedIPName 'myReservedIP' -Commit

A new resource group in Azure Resource Manager is created using the name of the migrated reserved IP. In the preceding example, the resource group is myReservedIP-Migrated.

Azure classic CLI

In this section, you'll use the Azure classic CLI to migrate a classic reserved IP to an Azure Resource Manager static public IP.

Note

The reserved IP must be removed from any cloud service that the IP address is associated to.

azure network reserved-ip validate-migration myReservedIP

The previous command displays any warnings and errors that block migration. If validation is successful, you can continue with the following steps to Prepare and Commit the migration:

azure network reserved-ip prepare-migration myReservedIP
azure network reserved-ip commit-migration myReservedIP

A new resource group in Azure Resource Manager is created using the name of the migrated reserved IP. In the preceding example, the resource group is myReservedIP-Migrated.

Next steps

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