Quickstart: Create a public IP address - Azure portal - Azure Virtual Network (2024)

  • Article

In this quickstart, you learn how to create Azure public IP addresses, which you use 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. You can also set the routing preference of a public IP address when you create it: Microsoft network or Internet.

Quickstart: Create a public IP address - Azure portal - Azure Virtual Network (1)

Prerequisites

Sign in to Azure

Sign in to the Azure portal.

  • Standard SKU
  • Basic SKU
  • Routing preference
  • Tier

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

Create a Standard SKU public IP address

Follow these steps to create a public IPv4 address with a Standard SKU named myStandardPublicIP. To create an IPv6 address instead, choose IPv6 for the IP Version:

  1. In the portal, search for and select Public IP addresses.

  2. On the Public IP addresses page, select Create.

  3. On the Basics tab of the Create public IP address screen, enter or select the following values:

    • Subscription: Keep the default or select a different subscription.
    • Resource group: Select Create new, and then name the group TestRG.
    • Region: Select (US) East US 2.
    • Name: Enter myStandardPublicIP.
    • IP Version: Select IPv4.
    • SKU: Select Standard.
    • Availability zone: Select No Zone.
    • Tier: Select Regional.
    • IP address assignment: Only option is Static.
    • Routing preference: Select Microsoft network.
    • Idle timeout (minutes): Keep the default of 4.
    • DNS name label: Leave the value blank.

    Quickstart: Create a public IP address - Azure portal - Azure Virtual Network (2)

  4. Select Review + create. After validation succeeds, select Create.

Note

In regions with availability zones, you have the option to select No Zone (default), a specific zone, or Zone-redundant. The choice depends on your specific domain failure requirements. In regions without availability zones, this field doesn't appear.

You can associate the public IP address you created with a Windows or Linux virtual machine. For more information, see Associate a public IP address to a virtual machine. You can also associate a public IP address with an Azure Load Balancer by assigning it to the load balancer front-end configuration. The public IP address serves as a load-balanced virtual IP address (VIP).

Clean up resources

When you're finished, delete the resource group and all of the resources it contains:

  1. In the portal, search for and select TestRG.

  2. From the TestRG screen, select Delete resource group.

  3. Enter TestRG for Enter resource group name to confirm deletion, and then select Delete.

Next steps

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

Quickstart: Create a public IP address - Azure portal - Azure Virtual Network (2024)
Top Articles
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6255

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.