Quickstart: Create a public IP address using the Azure portal

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.

Diagram of an example use of a public IP address. A public IP address is assigned to a load balancer.

Prerequisites

Sign in to Azure

Sign in to the Azure portal.


Note

A public IP address with a Standard SKU is recommended for production workloads. For more information about SKUs, see Public IP addresses. Basic SKU public IPs don't support availability zones. If it's acceptable for the IP address to change over time, you can set IP address assignment to Dynamic instead of Static.

Create a Basic SKU public IP address

Follow these steps to create a public IPv4 address with a Basic SKU named myBasicPublicIP:

  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:

    Setting Value
    Project details
    Subscription Keep the default or select a different subscription.
    Resource group Select Create new, and then name the group QuickStartCreateIP-rg.
    Region Select China North 3.
    Name Enter myBasicPublicIP.
    IP Version Select IPv4.
    SKU Select Basic.
    IP address assignment Select Static.
    Idle timeout (minutes) Keep the default of 4.
    Domain name label scope (preview) Leave the default None.

    Screenshot that shows the Create public IP address Basics tab settings for a Basic SKU.

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

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 QuickStartCreateIP-rg.

  2. From the QuickStartCreateIP-rg screen, select Delete resource group.

  3. Enter QuickStartCreateIP-rg 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: