|
| 1 | +--- |
| 2 | +title: Create a public IP address with Internet traffic routing preference - Azure portal |
| 3 | +description: Learn how to create a public IP with an Internet traffic routing preference |
| 4 | +services: virtual-network |
| 5 | +documentationcenter: na |
| 6 | +author: KumudD |
| 7 | +manager: mtillman |
| 8 | +ms.service: virtual-network |
| 9 | +ms.devlang: na |
| 10 | +ms.topic: conceptual |
| 11 | +ms.tgt_pltfrm: na |
| 12 | +ms.workload: infrastructure-services |
| 13 | +ms.date: 05/18/2020 |
| 14 | +ms.author: mnayak |
| 15 | + |
| 16 | +--- |
| 17 | +# Create a public IP address with the routing preference type Internet using the Azure portal |
| 18 | + |
| 19 | +This article shows you how to create a public IP address with the routing preference type Internet using the Azure portal. After creating the public IP address, you can associate it with the following Azure resources for inbound and outbound traffic to the internet: |
| 20 | + |
| 21 | +* Virtual machine |
| 22 | +* Virtual machine scale set |
| 23 | +* Azure Kubernetes Service (AKS) |
| 24 | +* Internet-facing load balancer |
| 25 | +* Application Gateway |
| 26 | +* Azure Firewall |
| 27 | + |
| 28 | +> [!IMPORTANT] |
| 29 | +> Routing preference is currently in public preview. |
| 30 | +> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. |
| 31 | +> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/). |
| 32 | +
|
| 33 | +If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) now. |
| 34 | + |
| 35 | +## Create a public IP address with a routing preference |
| 36 | +1. Sign in to the [Azure portal](https://preview.portal.azure.com/). |
| 37 | +2. Select **Create a resource**. |
| 38 | +3. In the search box, type *Public IP address*. |
| 39 | +3. In the search results, select **Public IP address**. Next, in the **Public IP address** page, select **Create**. |
| 40 | +3. In the **Routing preference** options, select **Internet**. |
| 41 | + |
| 42 | +  |
| 43 | + |
| 44 | + > [!NOTE] |
| 45 | + > Public IP addresses are created with an IPv4 or IPv6 address. However, routing preference only supports IPV4 currently. |
| 46 | +
|
| 47 | +You can associate the above created public IP address with a [Windows](../virtual-machines/windows/overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json) or [Linux](../virtual-machines/linux/overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json) virtual machine. Use the CLI section on the tutorial page: [Associate a public IP address to a virtual machine](associate-public-ip-address-vm.md#azure-cli) to associate the public IP to your VM. You can also associate the public IP address created above with an [Azure Load Balancer](../load-balancer/load-balancer-overview.md), by assigning it to the load balancer **frontend** configuration. The public IP address serves as a load-balanced virtual IP address (VIP). |
| 48 | + |
| 49 | +## Next steps |
| 50 | +- Learn more about [Public IP with routing preference](routing-preference-overview.md). |
| 51 | +- [Deploy a VM and assign a public IP with routing preference choice using the Azure portal](tutorial-routing-preference-virtual-machine-portal.md). |
| 52 | +- [Create a public IP with routing preference choice using the PowerShell](routing-preference-powershell.md). |
| 53 | +- Learn more about [public IP addresses](virtual-network-ip-addresses-overview-arm.md#public-ip-addresses) in Azure. |
| 54 | +- Learn more about all [public IP address settings](virtual-network-public-ip-address.md#create-a-public-ip-address). |
0 commit comments