Quickstart: Create a public IP address using the Azure portal

In this quickstart, you'll learn how to create an Azure public IP address. Public IP addresses in Azure are used for public connections to Azure resources. Public IP addresses are available in two SKUs: basic, and standard. Two tiers of public IP addresses are available: regional, and global. The routing preference of a public IP address is set when created. Internet routing and Microsoft Network routing are the available choices.


Sign in to Azure

Sign in to the Azure portal.


Standard SKU public IP is recommended for production workloads. For more information about SKUs, see Public IP addresses.

Create a standard SKU public IP address

Use the following steps to create a standard public IPv4 address named myStandardPublicIP.


To create an IPv6 address, choose IPv6 for the IP Version parameter. If your deployment requires a dual stack configuration (IPv4 and IPv6 address), choose Both.

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

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

  3. Select + Create.

  4. In Create public IP address, enter, or select the following information:

    Setting Value
    IP Version Select IPv4
    SKU Select Standard
    Tier Select Regional
    Name Enter myStandardPublicIP
    IP address assignment Locked as Static
    Routing Preference Select Microsoft network.
    Idle Timeout (minutes) Leave the default of 4.
    DNS name label Leave the value blank.
    Subscription Select your subscription
    Resource group Select Create new, enter QuickStartCreateIP-rg.
    Select OK.
    Location Select (US) East US 2
    Availability Zone Select No Zone
  5. Select Create.

Screenshot of create standard IP address in Azure portal


In regions with Availability Zones, you have the option to select no-zone (default option), a specific zone, or zone-redundant. The choice will depend on your specific domain failure requirements. In regions without Availability Zones, this field won't appear.
For more information on availability zones, see Availability zones overview.

You can associate the above created public IP address with a Windows or Linux virtual machine. Use the CLI section on the tutorial page: Associate a public IP address to a virtual machine to associate the public IP to your VM. You can also associate the public IP address created above with an Azure Load Balancer, by assigning it to the load balancer frontend configuration. The public IP address serves as a load-balanced virtual IP address (VIP).

Clean up resources

If you're not going to continue to use this application, delete the public IP address with the following steps:

  1. In the search box at the top of the portal, enter Resource group.

  2. In the search results, select Resource groups.

  3. Select QuickStartCreateIP-rg

  4. Select Delete resource group.

  5. Enter myResourceGroup for TYPE THE RESOURCE GROUP NAME and select Delete.

Next steps

Advance to the next article to learn how to create a public IP prefix: