How to enable Azure VM Disk Encryption

Reading Time: 3 minutes

As part of enabling Azure Disk Encryption you will be prompted to connect to or create a new Azure Key Vault. We will go through the process of enabling Azure Encryption and allowing the server access to a Key Vault.

Ensure your VM is powered on. A reboot of the VM will be required after disk encryption. Finally, ensure you have a back up of your server.

ok, let’s go through the process. Below is a screenshot of a 2019 virtual server I built earlier


Click on the VM and then click disks located on the left hand pane



Click encryption



If you receive the error below, ensure the virtual server is powered on. I had the VM set to power down every day at 7pm. Forgot to power it back on but I guess it’s good to demonstrate what you’ll see if the VM was powered down
Now that the VM is powered on, lets drop down and encrypt one of the disks. In this demo, I will be encrypting the OS disk

In the screenshot below you’ll be prompted for Key Vault details. Click ‘Select a key vault and key for encryption’


Select your Key Vault and click select

If the key vault has not been enabled for disk encryption, you will receive the message below and prompted to enable key vault for disk encryption. Click the button labelled ‘Enable key vault for disk encryption’ and click save

Note: Clicking the ‘Enable key vault for disk encryption’ button above will enable a policy within your key vault. To locate the policy, click key vaults or search from the search menu, locate and click your key vault, click access policies within the left hand pane. The option ‘Azure Disk Encryption for volume encryption’ is enabled as shown in the screenshot below. You could also enable this manually.

Click yes to confirm disk encryption process

Reboot the server when encryption has completed

How To Create an Azure Recovery Services Vault

Reading Time: 2 minutes

A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration information for virtual machines (VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold backup data for various Azure services such as IaaS VMs (Linux or Windows) and Azure SQL databases. Recovery Services vaults support System Center DPM, Windows Server, Azure Backup Server, and more. Recovery Services vaults make it easy to organize your backup data, while minimizing management overhead.

Logon to your Azure Portal

Locate Recovery Services Vault


Click create recovery services vault

– Select your subscription
– Select an existing Resource Group or create a new one
– Provide a name within the Value name field
– Locate your region
– Add tags if required and click review and create, and then create again

If you wish to download the ARM template click ‘download a template for automation’

and we’re done

Azure Site Recovery (ASR) no longer requires storage accounts

Reading Time: < 1 minute

As of March 2019, you can now replicate your VMWare virtual machines and physical servers directly to managed disks within Azure

In the past, when you deployed ASR you would have created a storage account when configuring replication. You’ll find this option is no longer available, as the data is now replicated to Azure Managed disks. The type of managed disk you select would depend on data change rate on your source disk.

What about virtual machines which were configured to replicate to a storage account in the past?
These storage accounts will still exist and your VM’s will continue to replicate to storage accounts

What is the benefit of Azure Managed disks?
You don’t need to track and manage multiple target storage accounts anymore. Azure Managed Disk will create the replica disks at the time of enabling replication. An Azure Managed Disk is created for every virtual machine disk at on premises and managed by Azure

What if I select standard managed disks but decide that I need to upgrade to premium?
You can switch to your required managed disk without disabling and enabling replication. However, once you change the Managed Disk type, please be sure that you wait for fresh recovery points to be generated if you need to do test failover or failover post this activity.