Azure – You can now use shared disks in Azure for your clustered workloads

With this new capability added to Azure, you can now deploy/migrate your clustered workloads on Azure virtual machines.

This is quite handy as with the end of support of Windows Server and SQL Server 2008, you can benefit up to 3 years support if these workloads run on Azure (and there is still quite a few still alive).

This Azure Shared Disks feature has been designed to support SQL Server Failover Cluster, Scale Out File Servers, Remote Desktop Server and SAP ASCS/SCS.

As this feature is currently in preview, you need to register first to

It is going to work the same way than a cluster deployed on-premises


IMPORTANT NOTE at this stage, support for Azure Backup and Azure Site Recovery is not available but this is off course in the roadmap.

This feature is currently only available from West Central US region and only when using premium SSD (which quite make sense from a performance perspective).

Once you have register for the preview and have been approved, you can deploy shared disks by using PowerShell only (support for doing the same from the portal is underway)

$resourceGroup = <your resource group>
$location = “WestCentralUS” – as currently only available in West Central US
$ppgName = <proximity placement group> – if you don’t know/need a refresh you can read the documentation here
$ppg = New-AzProximityPlacementGroup -Location $location -Name $ppgName -ResourceGroupName $resourceGroup -ProximityPlacementGroupType Standard

$vm = New-AzVm -ResourceGroupName $resourceGroup –Name <the virtual machine going to use the shared disk> -Location $location –VirtualNetworkName <your vNet> –SubnetName <your subnet> –SecurityGroupName <your NSG> –PublicIpAddressName <your Public IP> -ProximityPlacementGroup $ppg.Id

$dataDisk = Get-AzDisk -ResourceGroupName $resourceGroup –DiskName <the shared drive to be attached>

$vm = Add-AzVMDataDisk -VM $vm -Name <the shared drive to be attached> -CreateOption Attach -ManagedDiskId $dataDisk.Id -Lun 0

update-AzVm -VM $vm -ResourceGroupName $resourceGroup

Benoit Hamet
Benoit Hamet
Benoit is working on Microsoft collaborative technologies He has been awarded as MVP for more than 12 years Currently MVP on Office 365 after being awarded on SharePoint (2011-2012) and Windows client & server (2002-2007) Speaker at various Microsoft events (TechDays, TechNet seminars) and Quest Software He works on on-premises (Active Directory, RADIUS/NPS, Exchange, Skype for Business, SharePoint, SQL, Terminal Server, Windows client and Windows Server) or online (Azure, Intune, Office 365, Exchange Online, SharePoint Online, Skype for Business Online, Teams) technologies