You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Flexible scale sets
16
16
17
-
When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service. For conceptual information on encryption at host, as well as other managed disk encryption types, see [Encryption at host - End-to-end encryption for your VM data](../disk-encryption.md#encryption-at-host---end-to-end-encryption-for-your-vm-data).
17
+
When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service. For conceptual information on encryption at host, and other managed disk encryption types, see [Encryption at host - End-to-end encryption for your VM data](../disk-encryption.md#encryption-at-host---end-to-end-encryption-for-your-vm-data).
18
18
19
19
## Restrictions
20
20
@@ -23,7 +23,7 @@ When you enable encryption at host, data stored on the VM host is encrypted at r
23
23
### Supported VM sizes
24
24
25
25
The complete list of supported VM sizes can be pulled programmatically. To learn how to retrieve them programmatically, see the [Finding supported VM sizes](#finding-supported-vm-sizes) section.
26
-
Upgrading the VM size will result in validation to check if the new VM size supports the EncryptionAtHost feature.
26
+
Upgrading the VM size results in validation to check if the new VM size supports the EncryptionAtHost feature.
27
27
28
28
## Prerequisites
29
29
@@ -44,11 +44,16 @@ az feature show --namespace Microsoft.Compute --name EncryptionAtHost
44
44
45
45
### Create resources
46
46
47
-
Once the feature is enabled, you'll need to set up a DiskEncryptionSet and either an [Azure Key Vault](../../key-vault/general/overview.md) or an [Azure Key Vault Managed HSM](../../key-vault/managed-hsm/overview.md).
47
+
> [!NOTE]
48
+
> If you're using platform-managed keys, this section is optional. You can skip to the [Example scripts](#example-scripts) section.
49
+
>
50
+
> The [Create resources](#create-resources) section only applies to customer-managed keys.
51
+
52
+
Once the feature is enabled, you need to set up a DiskEncryptionSet and either an [Azure Key Vault](../../key-vault/general/overview.md) or an [Azure Key Vault Managed HSM](../../key-vault/managed-hsm/overview.md).
### Create a VM with encryption at host enabled with customer-managed keys.
54
59
@@ -133,9 +138,9 @@ az vm update -n $vmName \
133
138
--set securityProfile.encryptionAtHost=false
134
139
```
135
140
136
-
### Create a virtual machine scale set with encryption at host enabled with customer-managed keys.
141
+
### Create a Virtual Machine Scale Set with encryption at host enabled with customer-managed keys.
137
142
138
-
Create a virtual machine scale set with managed disks using the resource URI of the DiskEncryptionSet created earlier to encrypt cache of OS and data disks with customer-managed keys. The temp disks are encrypted with platform-managed keys.
143
+
Create a Virtual Machine Scale Set with managed disks using the resource URI of the DiskEncryptionSet created earlier to encrypt cache of OS and data disks with customer-managed keys. The temp disks are encrypted with platform-managed keys.
### Update a virtual machine scale set to disable encryption at host.
210
+
### Update a Virtual Machine Scale Set to disable encryption at host.
206
211
207
-
You can disable encryption at host on your virtual machine scale set but, this will only affect VMs created after you disable encryption at host. For existing VMs, you must deallocate the VM, [disable encryption at host on that individual VM](#update-a-vm-to-disable-encryption-at-host), then reallocate the VM.
212
+
You can disable encryption at host on your Virtual Machine Scale Set but, this will only affect VMs created after you disable encryption at host. For existing VMs, you must deallocate the VM, [disable encryption at host on that individual VM](#update-a-vm-to-disable-encryption-at-host), then reallocate the VM.
208
213
209
214
```azurecli
210
215
rgName=yourRGName
@@ -217,7 +222,7 @@ az vmss update -n $vmssName \
217
222
218
223
## Finding supported VM sizes
219
224
220
-
Legacy VM Sizes are not supported. You can find the list of supported VM sizes by either using resource SKU APIs or the Azure PowerShell module. You can't find the supported sizes using the CLI.
225
+
Legacy VM Sizes aren't supported. You can find the list of supported VM sizes by either using resource SKU APIs or the Azure PowerShell module. You can't find the supported sizes using the CLI.
221
226
222
227
When calling the [Resource Skus API](/rest/api/compute/resourceskus/list), check that the `EncryptionAtHostSupported` capability is set to **True**.
When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service. For conceptual information on encryption at host, as well as other managed disk encryption types, see [Encryption at host - End-to-end encryption for your VM data](../disk-encryption.md#encryption-at-host---end-to-end-encryption-for-your-vm-data).
17
+
When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service. For conceptual information on encryption at host, and other managed disk encryption types, see [Encryption at host - End-to-end encryption for your VM data](../disk-encryption.md#encryption-at-host---end-to-end-encryption-for-your-vm-data).
18
18
19
19
## Restrictions
20
20
@@ -24,19 +24,19 @@ When you enable encryption at host, data stored on the VM host is encrypted at r
24
24
### Supported VM sizes
25
25
26
26
The complete list of supported VM sizes can be pulled programmatically. To learn how to retrieve them programmatically, refer to the [Finding supported VM sizes](#finding-supported-vm-sizes) section.
27
-
Upgrading the VM size will result in validation to check if the new VM size supports the EncryptionAtHost feature.
27
+
Upgrading the VM size results in validation to check if the new VM size supports the EncryptionAtHost feature.
28
28
29
29
## Prerequisites
30
30
31
-
You must enable the feature for your subscription before you use the EncryptionAtHost property for your VM/VMSS. Please follow the steps below to enable the feature for your subscription:
31
+
You must enable the feature for your subscription before you use the EncryptionAtHost property for your VM/VMSS. Use the following steps to enable the feature for your subscription:
32
32
33
33
1. Execute the following command to register the feature for your subscription
@@ -45,17 +45,22 @@ You must enable the feature for your subscription before you use the EncryptionA
45
45
46
46
### Create an Azure Key Vault and DiskEncryptionSet
47
47
48
-
Once the feature is enabled, you'll need to set up an Azure Key Vault and a DiskEncryptionSet, if you haven't already.
48
+
> [!NOTE]
49
+
> If you're using platform-managed keys, this section is optional. You can skip to the [Example scripts](#example-scripts) section.
50
+
>
51
+
> The [Create an Azure Key Vault and DiskEncryptionSet](#create-an-azure-key-vault-and-diskencryptionset) section only applies to customer-managed keys.
52
+
53
+
Once the feature is enabled, you need to set up an Azure Key Vault and a DiskEncryptionSet, if you haven't already.
## Enable encryption at host for disks attached to VM and virtual machine scale sets
57
+
## Enable encryption at host for disks attached to VM and Virtual Machine Scale Sets
53
58
54
-
You can enable encryption at host by setting a new property EncryptionAtHost under securityProfile of VMs or virtual machine scale sets using the API version **2020-06-01** and above.
59
+
You can enable encryption at host by setting a new property EncryptionAtHost under securityProfile of VMs or Virtual Machine Scale Sets using the API version **2020-06-01** and above.
### Create a virtual machine scale set with encryption at host enabled with customer-managed keys.
190
+
### Create a Virtual Machine Scale Set with encryption at host enabled with customer-managed keys.
186
191
187
-
Create a virtual machine scale set with managed disks using the resource URI of the DiskEncryptionSet created earlier to encrypt cache of OS and data disks with customer-managed keys. The temp disks are encrypted with platform-managed keys.
192
+
Create a Virtual Machine Scale Set with managed disks using the resource URI of the DiskEncryptionSet created earlier to encrypt cache of OS and data disks with customer-managed keys. The temp disks are encrypted with platform-managed keys.
### Update a virtual machine scale set to disable encryption at host.
297
+
### Update a Virtual Machine Scale Set to disable encryption at host.
293
298
294
-
You can disable encryption at host on your virtual machine scale set but, this will only affect VMs created after you disable encryption at host. For existing VMs, you must deallocate the VM, [disable encryption at host on that individual VM](#disable-encryption-at-host), then reallocate the VM.
299
+
You can disable encryption at host on your Virtual Machine Scale Set but, this will only affect VMs created after you disable encryption at host. For existing VMs, you must deallocate the VM, [disable encryption at host on that individual VM](#disable-encryption-at-host), then reallocate the VM.
0 commit comments