Is there an existing issue for this?
Community Note
- Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Some IaaS Database applications require the performance of NVMe data drives.
MSLearn - add NVMe controllers
_A new feature has been added to the VM configuration, called DiskControllerType, which allows customers to select their preferred controller type as NVMe or SCSI. If the customer doesn't specify a DiskControllerType value then the platform will automatically choose the default controller based on the VM size configuration. If the VM size is configured for SCSI as the default and supports NVMe, SCSI will be used unless updated to the NVMe DiskControllerType.
NVMe can be enabled during VM creation using various methods such as: Azure portal, CLI, PowerShell, and ARM templates. To create an NVMe VM, you must first enable the NVMe option on a VM and select the NVMe controller disk type for the VM. Note that the NVMe diskcontrollertype can be enabled during creation or updated to NVMe when the VM is stopped and deallocated, provided that the VM size supports NVMe.
_
New or Affected Resource(s)/Data Source(s)
azurerm v3.57.0
Potential Terraform Configuration
resource "azurerm_linux_virtual_machine" "vms" {
location = azurerm_resource_group.multivm_rg.location
resource_group_name = azurerm_resource_group.multivm_rg.name
nvme_controller_enabled = "True"
}
### References
https://learn.microsoft.com/en-us/azure/virtual-machines/enable-nvme-interface
Is there an existing issue for this?
Community Note
Description
Some IaaS Database applications require the performance of NVMe data drives.
MSLearn - add NVMe controllers
_A new feature has been added to the VM configuration, called DiskControllerType, which allows customers to select their preferred controller type as NVMe or SCSI. If the customer doesn't specify a DiskControllerType value then the platform will automatically choose the default controller based on the VM size configuration. If the VM size is configured for SCSI as the default and supports NVMe, SCSI will be used unless updated to the NVMe DiskControllerType.
NVMe can be enabled during VM creation using various methods such as: Azure portal, CLI, PowerShell, and ARM templates. To create an NVMe VM, you must first enable the NVMe option on a VM and select the NVMe controller disk type for the VM. Note that the NVMe diskcontrollertype can be enabled during creation or updated to NVMe when the VM is stopped and deallocated, provided that the VM size supports NVMe.
_
New or Affected Resource(s)/Data Source(s)
azurerm v3.57.0
Potential Terraform Configuration