Azure Virtual Machines

Accelerated Networking Disabled

Risk Level:  Medium

Description:

On Azure virtual machines, this plugin ensures that accelerated networking is enabled (VM). Single root I/O virtualization (SR-IOV) is enabled by accelerated networking, which dramatically improves a VM's networking performance.

Recommended Action: Enable accelerated networking in virtual machine network interfaces.

About the Service :

Azure Virtual Machines (VM) are one of several forms of scalable, on-demand computing resources offered by Azure. VMs are typically used when you require more control over the computing environment than the other options provide. This article explains what you should think about before creating a virtual machine, how to construct one, and how to administer one.

Impact:

All network traffic into and out of virtual machines must pass through the host and virtual switch without faster networking. It also leads to high latency and low throughput for the network interfaces attached to the VMS. 

Steps to Reproduce :

  1. Sign in to Azure Management Console.
  2. Navigate to the “ Home “ portal of the Azure Console.
  3. From the Azure Services, select Virtual Machines.
  4. Select the VM you want to examine.
  5. Under Settings in the navigation panel, select Networking, to view networking configurations.
  6. On the Networking page, under the Network Interface section, check the status of Accelerated Networking.
  7. If the value is set to Disabled, the Accelerated Networking feature is not enabled for the selected Microsoft Azure virtual machine.
  8. Repeat steps no. 4 – 10 for each Azure virtual machine available in the selected subscription and for other subscriptions created in your Microsoft Azure cloud account.

Steps for remediation( Using Azure CLI ) :

  1. Run vm deallocate command to deallocate the Azure virtual machine you want to reconfigure.
    az vm deallocate --name < vm name > --no-wait --resource-group  <resource group name >

     

     
  2. Run network nic update command to enable the accelerated networking  feature for the selected vm.
    az network nic update --resource-group <resource group name > --name  <nic name>  --network-security-group  <network security group name>
  3. The following metadata should be shown as output
  4. Run vm start command to restart the reconfigured azure virtual machine.
    az vm start --name Pingsafe --resource-group <resource_group_name>
  5. Run steps number 1-5 to enable accelerated networking for other Azure virtual machines available in the current subscription and for other subscriptions in your Microsoft Azure cloud account.

        


References:

Please feel free to reach out to support@pingsafe.ai with any questions that you may have.

Thanks

PingSafe Support