You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/routing-preference-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.author: mnayak
17
17
---
18
18
# Create a public IP address with Internet traffic routing preference using Azure CLI
19
19
20
-
This article shows you how to create a public IP address with an Internet routing preference using Azure CLI. After creating the public IP address is created, you can associate it with the following Azure resources for inbound and outbound traffic to internet:
20
+
This article shows you how to create a public IP address with an Internet routing preference using Azure CLI. After creating the public IP address, you can associate it with the following Azure resources for inbound and outbound traffic to internet:
Copy file name to clipboardExpand all lines: articles/virtual-network/routing-preference-portal.md
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,50 @@
1
1
---
2
-
title: Routing Preference public IP
2
+
title: Create a public IP address with Internet traffic routing preference - Azure portal
3
3
titlesuffix: Azure Virtual Network
4
-
description: Learn about public IP address with a routing preference choice.
4
+
description: Learn how to create a public IP with an Internet traffic routing preference
5
5
services: virtual-network
6
6
documentationcenter: na
7
-
author: mnayak
8
-
manager:
7
+
author: KumudD
8
+
manager: mtillman
9
9
ms.service: virtual-network
10
10
ms.devlang: na
11
11
ms.topic: conceptual
12
12
ms.tgt_pltfrm: na
13
13
ms.workload: infrastructure-services
14
-
ms.date: 04/30/2020
14
+
ms.date: 05/18/2020
15
15
ms.author: mnayak
16
16
17
17
---
18
-
# Create a Public IP with a Routing Preference type
18
+
# Create a public IP address with Internet traffic routing preference using the Azure portal
19
19
20
-
This article shows you how to create a Public IP address with a routing preference type using Azure PowerShell. Once the public IP address is created, it can be assigned to an azure resource for inbound and outbound traffic to internet. Some of the resources you can associate a public IP address resource with routing preference type are:
20
+
This article shows you how to create a public IP address with an Internet routing preference 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 internet:
21
21
22
-
* Virtual machine network interfaces
22
+
* Virtual machine
23
+
* Virtual machine scale set
23
24
* Azure Kubernetes Service (AKS)
24
-
* Internet-facing load balancers
25
-
* VPN gateways
26
-
* Application gateways
25
+
* Internet-facing load balancer
26
+
* Application Gateway
27
27
* Azure Firewall
28
28
29
-
> [!NOTE]
30
-
> Azure has two different deployment models for creating and working with resources: [Resource Manager and classic](../azure-resource-manager/management/deployment-models.md?toc=%2fazure%2fvirtual-network%2ftoc.json). This article covers using the Resource Manager deployment model, which Microsoft recommends for most new deployments instead of the [classic deployment model](virtual-network-ip-addresses-overview-classic.md).
29
+
> [!IMPORTANT]
30
+
> Routing preference is currently in public preview.
31
+
> 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.
32
+
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
31
33
32
34
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) now.
33
35
34
-
1. Sign in to the [Azure portal](https://portal.azure.com).
35
-
2. Click on **Create a resource** to create a public ip address.
36
-
3. Select the **Routing preference** choice as shown in the picture below:
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**.
37
41
38
-

42
+

39
43
40
44
> [!NOTE]
41
45
> Public IP addresses are created with an IPv4 or IPv6 address. However, routing preference only supports IPV4 currently.
42
46
43
-
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 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).
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).
44
48
45
49
## Next steps
46
50
-[Deploy a VM and assign a public IP with routing preference choice using the Azure portal](tutorial-routing-preference-virtual-machine-portal.md)
Copy file name to clipboardExpand all lines: articles/virtual-network/routing-preference-powershell.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.author: mnayak
16
16
---
17
17
# Create a public IP address with Internet traffic routing preference using Azure PowerShell
18
18
19
-
This article shows you how to create a public IP address with an Internet routing preference using Azure PowerShell. After creating the public IP address is created, you can associate it with the following Azure resources for inbound and outbound traffic to internet:
19
+
This article shows you how to create a public IP address with an Internet routing preference using Azure PowerShell. After creating the public IP address, you can associate it with the following Azure resources for inbound and outbound traffic to internet:
Copy file name to clipboardExpand all lines: articles/virtual-network/tutorial-routing-preference-virtual-machine-portal.md
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,33 @@
1
1
---
2
-
title: Create a VM with a public IP address and set a routing preference choice with Azure portal | Microsoft Docs
3
-
description: Learn how to create a VM with a public IP address using the Azure portal.
2
+
title: Create a VM with a public IP address with routing preference choice - Azure portal
3
+
description: Learn how to create a VM with a public IP address with routing preference choice using the Azure command-line interface (CLI).
4
4
services: virtual-network
5
5
documentationcenter: na
6
-
author: mnayak
7
-
manager:
8
-
editor: ''
9
-
tags: azure-resource-manager
10
-
11
-
ms.assetid: e9546bcc-f300-428f-b94a-056c5bd29035
6
+
author: KumudD
7
+
manager: mtillman
12
8
ms.service: virtual-network
13
-
ms.devlang: azurecli
14
-
ms.topic: article
9
+
ms.devlang: na
10
+
ms.topic: conceptual
15
11
ms.tgt_pltfrm: na
16
12
ms.workload: infrastructure-services
17
-
ms.date: 05/01/2020
13
+
ms.date: 05/18/2020
18
14
ms.author: mnayak
19
15
20
16
---
21
-
# Create a virtual machine with a static public IP address using the Azure portal
17
+
# Configure a virtual machine to route traffic via the internet using the Azure Portal
18
+
19
+
You can create a virtual machine with a public IP address with a routing preference choice. Internet bound traffic from the VM will be routed to and from internet via respective network based on the routing preference selection. The default routing is via Microsoft global network.
20
+
21
+
This article shows you how to create a virtual machine with a public IP that is set to route traffic via the Internet using Azure CLI.
22
22
23
-
You can create a virtual machine with a static public IP address. A public IP address enables you to communicate to a virtual machine from the internet. Assign a static public IP address, rather than a dynamic address, to ensure that the address never changes. Learn more about [static public IP addresses](virtual-network-ip-addresses-overview-arm.md#allocation-method). To change a public IP address assigned to an existing virtual machine from dynamic to static, or to work with private IP addresses, see [Add, change, or remove IP addresses](virtual-network-network-interface-addresses.md). Public IP addresses have a [nominal charge](https://azure.microsoft.com/pricing/details/ip-addresses), and there is a [limit](../azure-resource-manager/management/azure-subscription-service-limits.md?toc=%2fazure%2fvirtual-network%2ftoc.json#azure-resource-manager-virtual-networking-limits) to the number of public IP addresses that you can use per subscription.
23
+
> [!IMPORTANT]
24
+
> Routing preference is currently in public preview.
25
+
> 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.
26
+
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
24
27
25
28
## Sign in to Azure
26
29
27
-
Sign in to the Azure portal at https://portal.azure.com.
30
+
Sign in to the [Azure portal](https://preview.portal.azure.com/).
28
31
29
32
## Create a virtual machine
30
33
@@ -43,23 +46,23 @@ Sign in to the Azure portal at https://portal.azure.com.
43
46
44
47
4. Select a size for the VM and then select **Select**.
45
48
5. Under **Networking** tab, click on **Create new** for **Public IP address**.
46
-
6. Enter *myPublicIpAddress*, select sku as **Standard**, and then select routing prefernce**Internet** and then hit **ok**, as shown in the following picture:
49
+
6. Enter *myPublicIpAddress*, select sku as **Standard**, and then select routing preference**Internet** and then hit **ok**, as shown in the following picture:
6. Select a port, or no ports under **Select public inbound ports**. Portal 3389 is selected, to enable remote access to the Windows Server virtual machine from the internet. Opening port 3389 from the internet is not recommended for production workloads.
51
54
52
-

55
+

53
56
54
57
7. Accept the remaining default settings and select **OK**.
55
58
8. On the **Summary** page, select **Create**. The virtual machine takes a few minutes to deploy.
56
59
9. Once the virtual machine is deployed, enter *myPublicIpAddress* in the search box at the top of the portal. When **myPublicIpAddress** appears in the search results, select it.
57
60
10. You can view the public IP address that is assigned, and that the address is assigned to the **myVM** virtual machine, as shown in the following picture:
58
61
59
-

62
+

60
63
61
64
11. Select **Networking** , then click on nic **mynic** and then click on the public ip address to confirm that the routing preference is assigned as **Internet**.
62
-

65
+

0 commit comments