快速入门:使用 Azure 门户创建公共 IP 地址Quickstart: Create a public IP address using the Azure portal

本文介绍了如何使用 Azure 门户来创建公共 IP 地址资源。This article shows you how to create a public IP address resource using the Azure portal. 若要详细了解这可能关联到哪些资源,以及基本 SKU 和标准 SKU 之间的差异和其他相关信息,请参阅公共 IP 地址For more information on which resources this can be associated to, the difference between Basic and Standard SKU, and other related information, please see Public IP addresses. 对于此示例,我们只重点介绍 IPv4 地址;有关 IPv6 地址的详细信息,请参阅适用于 Azure VNet 的 IPv6For this example, we will focus on IPv4 addresses only; for more information on IPv6 addresses, see IPv6 for Azure VNet.

使用以下步骤创建名为“myBasicPublicIP”的基本静态公共 IP 地址。Use the following steps to create a basic static public IP address named myBasicPublicIP. 基本公共 IP 没有可用性区域的概念。Basic Public IPs do not have the concept of availability zones.

  1. 登录到 Azure 门户Sign in to the Azure portal.

  2. 选择“创建资源”。Select Create a resource.

  3. 在搜索框中键入“公共 IP 地址”。In the search box, type Public IP address.

  4. 在搜索结果中时,选择“公共 IP 地址”。In the search results, select Public IP address. 接下来,在“公共 IP 地址”页中,选择“创建”。Next, in the Public IP address page, select Create.

  5. 在“创建公共 IP 地址”页上,输入或选择以下信息:On the Create public IP address page, enter or select the following information:

    设置Setting Value
    IP 版本IP Version 选择“IPv4”Select IPv4
    SKUSKU 选择“标准”Select Standard
    名称Name 输入“myBasicPublicIP”Enter myBasicPublicIP
    IP 地址分配IP address assignment 选择“静态”(请参阅下面的注释)Choose Static (see note below)
    空闲超时(分钟)Idle Timeout (minutes) 将该值保留为“4”Leave the value at 4
    DNS 名称标签DNS name label 将该值保留为空白Leave the value as blank
    订阅Subscription 选择订阅。Select your subscription.
    资源组Resource group 选择“新建”,输入“myResourceGroup”,然后选择“确定” Select Create new , enter myResourceGroup, then select OK
    位置Location 选择“中国东部 2”Select China East 2

如果可以接受 IP 地址随时间的推移发生更改,可以选择动态 IP 分配。If it is acceptable for the IP address to change over time, Dynamic IP assignment can be selected.

其他信息Additional information

若要详细了解上面列出的各个字段,请参阅管理公共 IP 地址For more details on the individual fields listed above, please see Manage public IP addresses.

后续步骤Next steps