How to encrypt the temp disks, caches, and data flows between Compute and Storage resources in Azure windows vm

Azurelearner 1 Reputation point
2022-02-17T12:41:47.533+00:00

How to encrypt the temp disks, caches, and data flows between Compute and Storage resources in Azure windows vm.

Azure Disk Encryption
Azure Disk Encryption
An Azure service for virtual machines (VMs) that helps address organizational security and compliance requirements by encrypting the VM boot and data disks with keys and policies that are controlled in Azure Key Vault.
162 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 44,906 Reputation points Microsoft Employee
    2022-02-18T04:36:27.437+00:00

    @Azurelearner Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Did you try ADE and you were not able to enable it? ADE should cover all the below – Temp disk, caches and the content between Compute and Storage (Encrypted at Rest and in transit)

    Firstly let me explain how encryption works: Server-Side Encryption (also referred to as encryption-at-rest or Azure Storage encryption) automatically encrypts data stored on Azure managed disks (OS and data disks) when persisting on the Storage Clusters. For full details, see Server-side encryption of Azure Disk Storage.

    Encryption at host ensures that data stored on the VM host hosting your VM is encrypted at rest and flows encrypted to the Storage clusters. For full details, see Encryption at host - End-to-end encryption for your VM data.

    Encryption is part of a layered approach to security and should be used with other recommendations to secure Virtual Machines and their disks. For full details, see Security recommendations for virtual machines in Azure and Restrict import/export access to managed disks.

    When you enable encryption at host, that encryption starts on the VM host itself, the Azure server that your VM is allocated to. The data for your temporary disk and OS/data disk caches are stored on that VM host. After enabling encryption at host, all this data is encrypted at rest and flows encrypted to the Storage service, where it is persisted. Essentially, encryption at host encrypts your data from end-to-end. Encryption at host does not use your VM's CPU and doesn't impact your VM's performance.

    Temporary disks and ephemeral OS disks are encrypted at rest with platform-managed keys when you enable end-to-end encryption. The OS and data disk caches are encrypted at rest with either customer-managed or platform-managed keys, depending on the selected disk encryption type. For example, if a disk is encrypted with customer-managed keys, then the cache for the disk is encrypted with customer-managed keys, and if a disk is encrypted with platform-managed keys then the cache for the disk is encrypted with platform-managed keys.

    Note: Temporary disks are not managed disks and are not encrypted by SSE, unless you enable encryption at host.

    175638-image.png

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to ![175644-screenshot-2021-12-10-121802.png]7 and 175590-image.png wherever the information provided helps you, this can be beneficial to other community members.


  2. Maheswararaju P 6 Reputation points
    2022-05-11T10:49:38.203+00:00

    Hi @Sumarigo-MSFT,

    Thank you very much for your kind response.

    From the comparisons Image, I can understand that Azure disk encryption and azure encryption at host both will suffice the requirement of (Virtual Machines should encrypt temp disks and data flows between Compute and Storage resources).

    However when we go with Azure disk encryption, does it impact the VM CPU performance? Because from the comparisons image it was unchecked. Please confirm on this point Sai.

    With regards to business impact, yeah I was referring both any downtime or cost implications anything that happened after we enable the azure disk encryption/encryption at host.

    Also help me understand, Is enabling the azure disk encryption will encrypt the temp disks, and caches because except from image i couldn't see the same details from any Microsoft reference articles.

    Lastly please help me know if there is any azure policy to implement to govern this encryption automatically.

    Thank you

    0 comments No comments

  3. Maheswararaju P 11 Reputation points
    2022-06-10T08:16:48.123+00:00

    Hi @Sumarigo-MSFT ,

    Can you help me know, if there is any other alternative to achieve the (encryption of temp disks, caches, and data flows between Compute and Storage resources in Azure windows vm).

    I understand we have Azure disk encryption and encryption at host. But considering the operational risk it is involved our leadership and engineering teams planned to move ahead with different method.

    Please let us know, if there is a way to achieve this( How to encrypt the flow between compute and storage resources from azure backbone services)?

    Looking forward to hearing from you.

    Thank you.