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,14 @@ 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
+
> This section only applies to configurations with customer-managed keys. If you're using platform-managed keys, you can skip to the [Example scripts](#example-scripts) section.
49
+
50
+
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
57
@@ -133,9 +136,9 @@ az vm update -n $vmName \
133
136
--set securityProfile.encryptionAtHost=false
134
137
```
135
138
136
-
### Create a virtual machine scale set with encryption at host enabled with customer-managed keys.
139
+
### Create a Virtual Machine Scale Set with encryption at host enabled with customer-managed keys.
137
140
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.
141
+
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.
208
+
### Update a Virtual Machine Scale Set to disable encryption at host.
206
209
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.
210
+
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
211
209
212
```azurecli
210
213
rgName=yourRGName
@@ -217,7 +220,7 @@ az vmss update -n $vmssName \
217
220
218
221
## Finding supported VM sizes
219
222
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.
223
+
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
224
222
225
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,20 @@ 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
+
> This section only applies to configurations with customer-managed keys. If you're using platform-managed keys, you can skip to the [Example scripts](#example-scripts) section.
50
+
51
+
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
55
+
## Enable encryption at host for disks attached to VM and Virtual Machine Scale Sets
53
56
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.
57
+
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.
188
+
### Create a Virtual Machine Scale Set with encryption at host enabled with customer-managed keys.
186
189
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.
190
+
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.
295
+
### Update a Virtual Machine Scale Set to disable encryption at host.
293
296
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.
297
+
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