Skip to content

Commit 3af17be

Browse files
committed
fix
1 parent 075d70f commit 3af17be

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

articles/virtual-network/create-vm-accelerated-networking-cli.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Use Azure CLI to create a Linux VM with Accelerated Networking
3-
description: Learn how to use Azure CLI to create and manage Linux virtual machines that have Accelerated Networking enabled.
3+
description: Use Azure CLI to create and manage Linux virtual machines that have Accelerated Networking enabled for improved network performance.
44
services: virtual-network
55
author: asudbring
66
manager: gedegrac
@@ -16,7 +16,7 @@ ms.custom: fasttrack-edit, devx-track-azurecli
1616

1717
This article describes how to create a Linux virtual machine (VM) with Accelerated Networking (AccelNet) enabled by using the Azure command-line interface, Azure CLI. The article also discusses application binding requirements, and how to enable and manage Accelerated Networking on existing VMs.
1818

19-
You can also create a Linux VM with Accelerated Networking enabled by using the [Azure portal](../virtual-machines/linux/quick-create-portal.md?toc=%2fazure%2fvirtual-network%2ftoc.json) or [Azure PowerShell](../virtual-network/create-vm-accelerated-networking-powershell.md). To manage Accelerated Networking on VMs by using the Azure portal, see [Portal management].
19+
You can also create a VM with Accelerated Networking enabled by using the [Azure portal](/azure/virtual-machines/linux/quick-create-portal) or [Azure PowerShell](../virtual-network/create-vm-accelerated-networking-powershell.md). To view and manage Accelerated Networking on VMs through the Azure portal, see [Manage Accelerated Networking through the portal](#manage-accelerated-networking-through-the-portal).
2020

2121
## Prerequisites
2222

@@ -62,7 +62,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
6262
az network nsg rule create \
6363
--resource-group <myResourceGroup> \
6464
--nsg-name <myNsg> \
65-
--name Allow-SSH-Internet \
65+
--name Allow-SSH-Internet \
6666
--access Allow \
6767
--protocol Tcp \
6868
--direction Inbound \
@@ -75,7 +75,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
7575

7676
### Create a network interface with Accelerated Networking
7777

78-
1. Use [az network public-ip create](/cli/azure/network/public-ip) to create a public IP address. A VM doesn't need a public IP address if you don't access it from the internet, but you need the public IP to complete the steps for this article.
78+
1. Use [az network public-ip create](/cli/azure/network/public-ip) to create a public IP address. The VM doesn't need a public IP address if you don't access it from the internet, but you need the public IP to complete the steps for this article.
7979

8080
```azurecli
8181
az network public-ip create \
@@ -214,7 +214,7 @@ It's possible to enable Accelerated Networking on an existing VM. The VM must me
214214

215215
### Enable Accelerated Networking on Virtual Machine Scale Sets
216216

217-
Azure Virtual Machine Scale Sets is slightly different but follows the same workflow.
217+
Azure Virtual Machine Scale Sets is slightly different, but follows the same workflow.
218218

219219
1. First, stop the VMs:
220220

@@ -253,15 +253,17 @@ Once you restart and the upgrades finish, the VF appears inside VMs that use a s
253253

254254
### Resize existing VMs with Accelerated Networking
255255

256-
VMs with Accelerated Networking enabled can be resized only to sizes that also support Accelerated Networking. You can't resize a VM with Accelerated Networking to a VM instance that doesn't support Accelerated Networking by using the resize operation. Instead, use the following process to resize these VMs:
256+
You can resize VMs with Accelerated Networking enabled only to sizes that also support Accelerated Networking. You can't resize a VM with Accelerated Networking to a VM instance that doesn't support Accelerated Networking by using the resize operation. Instead, use the following process to resize these VMs:
257257

258258
1. Stop and deallocate the VM or all the VMs in the availability set or Virtual Machine Scale Sets.
259259
1. Disable Accelerated Networking on the NIC of the VM or all the VMs in the availability set or Virtual Machine Scale Sets.
260260
1. Move the VM or VMs to a new size that doesn't support Accelerated Networking, and restart them.
261261

262-
### Manage Accelerated Networking through the portal
262+
## Manage Accelerated Networking through the portal
263263

264-
When you [create a VM in the Azure portal](/azure/virtual-machines/linux/quick-create-portal) that uses a [supported operating system](./accelerated-networking-overview.md#supported-operating-systems) and [VM size](./accelerated-networking-overview.md#supported-vm-instances), the **Enable accelerated networking** checkbox on the **Networking** tab of the **Create a virtual machine** screen is automatically selected. If Accelerated Networking isn't supported, the checkbox isn't selected, and a message explains the reason.
264+
When you [create a VM in the Azure portal](/azure/virtual-machines/linux/quick-create-portal), you can select the **Enable accelerated networking** checkbox on the **Networking** tab of the **Create a virtual machine** screen.
265+
266+
If the VM uses a [supported operating system](./accelerated-networking-overview.md#supported-operating-systems) and [VM size](./accelerated-networking-overview.md#supported-vm-instances) for Accelerated Networking, the **Enable accelerated networking** checkbox on the **Networking** tab of the **Create a virtual machine** screen is automatically selected. If Accelerated Networking isn't supported, the checkbox isn't selected, and a message explains the reason.
265267

266268
>[!NOTE]
267269
>- You can enable Accelerated Networking during portal VM creation only for Azure Marketplace supported operating systems. To create and enable Accelerated Networking for a VM with a custom OS image, you must use Azure CLI or PowerShell.
@@ -275,6 +277,12 @@ To enable or disable Accelerated Networking for an existing VM through the Azure
275277
1. At the top of the NIC **Overview** page, select **Edit accelerated networking**.
276278
1. Select **Automatic**, **Enabled**, or **Disabled**, and then select **Save**.
277279

280+
To confirm whether Accelerated Networking is enabled for an existing VM:
281+
282+
1. From the [Azure portal](https://portal.azure.com) page for the VM, select **Networking** from the left menu.
283+
1. On the **Networking** page, select the **Network Interface**.
284+
1. On the network interface **Overview** page, under **Essentials**, note whether **Accelerated networking** is set to **Enabled** or **Disabled**.
285+
278286
## Next steps
279287

280288
- [How Accelerated Networking works in Linux and FreeBSD VMs](./accelerated-networking-how-it-works.md)

articles/virtual-network/create-vm-accelerated-networking-powershell.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article describes how to create a Windows virtual machine (VM) with Acceler
1919

2020
You can also create a Windows VM with Accelerated Networking enabled by using the [Azure portal](quick-create-portal.md). To manage Accelerated Networking on VMs through the Azure portal, see [Manage Accelerated Networking through the portal](#manage-accelerated-networking-through-the-portal).
2121

22-
To create a Linux VM with Accelerated Networking enabled, see [Use Azure CLI to create a Linux VM with Accelerated Networking](create-vm-accelerated-networking-clil.md).
22+
To create a Linux VM with Accelerated Networking enabled, see [Use Azure CLI to create a Linux VM with Accelerated Networking](create-vm-accelerated-networking-cli.md).
2323

2424
## Prerequisites
2525

@@ -123,7 +123,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
123123

124124
### Create a VM and attach the network interface
125125

126-
1. Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set your VM credentials to the `$cred` variable , which prompts you to sign in.
126+
1. Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set your VM credentials to the `$cred` variable, which prompts you to sign in.
127127

128128
```azurepowershell
129129
$cred = Get-Credential
@@ -163,7 +163,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
163163
New-AzVM -VM $vmConfig -ResourceGroupName "<myResourceGroup>" -Location "<myAzureRegion>"
164164
```
165165

166-
## Confirm the Ethernet controller is installed in the VM
166+
## Confirm the Ethernet controller is installed
167167

168168
Once you create the VM in Azure, connect to the VM and confirm that the Ethernet controller is installed in Windows.
169169

@@ -175,7 +175,7 @@ Once you create the VM in Azure, connect to the VM and confirm that the Ethernet
175175

176176
4. From the VM overview toolbar, select **Connect** > **RDP** > **Download RDP File**.
177177

178-
5. Open the .rdp file, and then sign in to the VM with the credentials you entered in the [Create a VM and attach the network interface](#create-a-vm-and-attach-the-network-interface) section. If you've never connected to a Windows VM in Azure, see [Connect to virtual machine](../virtual-machines/windows/quick-create-portal.md?toc=%2fazure%2fvirtual-network%2ftoc.json#connect-to-virtual-machine).
178+
5. Open the RDP file, and then sign in to the VM with the credentials you entered in the [Create a VM and attach the network interface](#create-a-vm-and-attach-the-network-interface) section. If you've never connected to a Windows VM in Azure, see [Connect to virtual machine](../virtual-machines/windows/quick-create-portal.md?toc=%2fazure%2fvirtual-network%2ftoc.json#connect-to-virtual-machine).
179179

180180
6. After the remote desktop session for your VM appears, right-click the Windows Start button and choose **Device Manager**.
181181

@@ -224,7 +224,7 @@ You can enable Accelerated Networking on an existing VM. The VM must meet the fo
224224
$nic | Set-AzNetworkInterface
225225
```
226226
227-
3. Restart your VM, or all the VMs in the availability set, and [confirm that Accelerated Networking is enabled](#confirm-that-accelerated-networking-is-enabled).
227+
3. Restart your VM, or all the VMs in the availability set, and [confirm that Accelerated Networking is enabled](#confirm-the-ethernet-controller-is-installed).
228228
229229
```azurepowershell
230230
Start-AzVM -ResourceGroup "myResourceGroup" `
@@ -302,7 +302,6 @@ To confirm whether Accelerated Networking is enabled for an existing VM:
302302
1. On the **Networking** page, select the **Network Interface**.
303303
1. On the NIC **Overview** page, under **Essentials**, note whether **Accelerated networking** is set to **Enabled** or **Disabled**.
304304
305-
306305
## Next steps
307306
308307
- [How Accelerated Networking works in Linux and FreeBSD VMs](accelerated-networking-how-it-works.md)

0 commit comments

Comments
 (0)