Azure virtual machine scale sets supports virtual machines with managed disks. Using managed disks with scale sets has several benefits, including:
You no longer need to pre-create and manage storage accounts to store the OS disks for the scale set VMs.
You can attach managed data disks to the scale set.
With managed disk, a scale set can have capacity as high as 1,000 VMs if based on a platform image or 300 VMs if based on a custom image.
A simple way to get started with managed disk scale sets is to deploy one from the Azure portal. For more information, see this article. Another simple way to get started is to use Azure CLI 2.0 to deploy a scale set. The following example shows how to create an Ubuntu based scale set with 10 VMs, each with a 50-GB and 100-GB data disk:
az group create -l southcentralus -n dsktest az vmss create -g dsktest -n dskvmss --image ubuntults --instance-count 10 --data-disk-sizes-gb 50 100
Alternatively, you could look in the Azure Quickstart Templates GitHub repo for folders that contain
vmss to see pre-built examples of templates that deploy scale sets. To tell which templates are already using managed disks, you can refer to this list.
For more information on managed disks in general, see this article.
To see how to convert a Resource Manager template to provision scale sets with managed disks, see this article. The same modifications to the Resource Manager templates apply to the Azure REST API as well.
To learn more about using managed data disks with scale sets, see this article.
To begin working with large scale sets, refer to this article.