We're no longer updating this content regularly. Check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is supported.
Announcing Azure Disk Encryption Preview for Virtual Machine Scale Sets
09/28/2017
Today, we are excited to announce the public preview of Azure Disk Encryption (ADE) for Virtual Machine Scale Sets (VMSS). With this announcement, Azure disk encryption can be enabled for Windows and Linux VM Scale Sets in Azure public regions to enable customers to help protect and safeguard the Scale Sets data at rest using industry standard encryption technology.
The solution is deployed in all Azure public regions. Additional details on supported and unsupported scenarios, interfaces and how you can use the disk encryption technology preview to encrypt your VM Scale Sets and validate your scenario is documented below.
Pre-Requisites:
Self-Registration - VMSS disk encryption preview requires self-registration in order to use
You can self register your subscription by running the following steps:
Azure Key Vault - Create a KeyVault in the same subscription and region as the VMSS and set the access policy 'EnabledForDiskEncryption' on the KeyVault using its PS cmdlet. You can also set the policy using the KeyVault UI in the Azure portal:
VMSS encryption is supported only for scale sets created with managed disks, and not supported for native (or unmanaged) disk scale sets
VMSS encryption is supported for OS and Data volumes for Windows VMSS. Disable encryption is supported for OS and Data volumes for Windows VMSS
VMSS encryption is supported for Data volume for Linux VMSS. OS disk encryption is NOT supported in the current preview for Linux
VMSS VM reimage and upgrade operations are not supported in current preview
The VMSS ADE preview is recommended only as try out in test environment. Do not try out preview or use in production environments where you might need to upgrade your OS image in an encrypted scale set
Using Azure PowerShell cmdlets: Install the latest version of Azure SDK from Azure PowerShell release. The following are the VMSS ADE cmdlets to enable (Set) encryption, retrieve (Get) encryption status and remove (disable) encryption on VMSS instance.
CommandType
Name
Cmdlet Version
Source
Alias
Get-AzureRmVmssDiskEncryptionStatus
3.4.0 or above
AzureRM.Compute
Alias
Get-AzureRmVmssVMDiskEncryptionStatus
3.4.0 or above
AzureRM.Compute
Cmdlet
Disable-AzureRmVmssDiskEncryption
3.4.0 or above
AzureRM.Compute
Cmdlet
Get-AzureRmVmssDiskEncryption
3.4.0 or above
AzureRM.Compute
Cmdlet
Get-AzureRmVmssVMDiskEncryption
3.4.0 or above
AzureRM.Compute
Cmdlet
Set-AzureRmVmssDiskEncryptionExtension
3.4.0 or above
AzureRM.Compute
Using CLI command: Install latest Azure CLI 2.0 which has the new encryption commands. The CLI commands example are included below: