Enable Accelerated Networking using Azure Cloud Shell

What is Accelerated Networking?

Accelerated Networking provides consistent ultra-low network latency via Azure’s in-house programmable hardware and technologies such as SR-IOV. By moving much of Azure’s software-defined networking stack off the CPUs and into FPGA-based SmartNICs, compute cycles are reclaimed by end user applications, putting less load on the VM, decreasing jitter and inconsistency in latency.

Please double check the supported operating systems and VM sizes in the following documentation links to check the availability of this feature.

In 3 simple steps, we will learn to enable accelerated networking to an existing VM using Azure Cloud Shell (within the Azure Portal). Execute the following steps.

  1. First stop/deallocate the VM

    • az vm deallocate –resource-group myRG –name myVM
  2. Once stopped, enable Accelerated Networking on the NIC of your VM:

    • az network nic update –name myNic –resource-group myRG –accelerated-networking true
  3. Restart your VM. It’s that simple, isn’t it?

    • az vm start –resource-group myRG –name myVM

                    

Comments are closed.