Skill 3.2.2
Configure encryption at host for Azure virtual machines
Key Concepts
Managed disks are always encrypted at rest by server-side encryption (SSE) with platform-managed or customer-managed keys. Temporary disks and OS and data disk caches live on the VM's host, however, and are encrypted only when encryption at host is enabled. With it, the data is encrypted on the host and flows encrypted to the Storage service, so encryption is end-to-end. It uses the same platform-managed or customer-managed keys as the disks (through a disk encryption set) and has no performance impact on the guest.
Encryption at host must first be registered for the subscription with az feature register --namespace Microsoft.Compute --name EncryptionAtHost. It is enabled on the Disks tab when the VM is created, or later when the VM is deallocated. Not every VM size supports it. Microsoft recommends encryption at host for new VMs because Azure Disk Encryption (BitLocker or DM-Crypt inside the guest) retires on 15 September 2028; ADE VMs cannot be converted in place and must be migrated to new disks and VMs.