Reputation: 13
I created Azure VMSS (Windows 2016 Datacenter , Standart F2s). Somehow "Accelerated Networking" option was disabled (by spec , Standart F2s vm support network accelaration, also I have single VM running with accelarated networking and exactly same VM Size and OS).
Based on https://learn.microsoft.com/en-us/azure/virtual-network/create-vm-accelerated-networking-powershell#vmss , upgrade doesn't work. I got following error:
Cannot add network interface '/subscriptions/****/resourceGroups/*****/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|*****|virtualMachines|1|networkInterfaces|*****' with accelerated networking to an existing virtual machine '/subscriptions/******/resourceGroups/*****/providers/Microsoft.Compute/virtualMachines/|providers|Microsoft.Compute|*****|*******|virtualMachines|1' .
Any help would be appreciated. Thanx.
Upvotes: 1
Views: 900
Reputation: 31452
To create Azure VMSS with Accelerated Networking, you need to set enableAcceleratedNetworking
to true in your scale set's networkInterfaceConfigurations
settings:
"networkProfile": {
"networkInterfaceConfigurations": [
{
"name": "niconfig1",
"properties": {
"primary": true,
"enableAcceleratedNetworking" : true,
"ipConfigurations": [
...
]
}
}
]
}
For more details, see the Accelerated Networking in Azure VMSS. And there are some Limitations and Constraints of the Accelerated Networking.
Upvotes: 1