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 VM :heavy_check_mark: Windows VM :heavy_check_mark: Generation 2 VM
17
17
18
-
Azure Virtual Machines supports enabling Azure Trusted Launch on existing [Azure Generation 2](generation-2.md) virtual machines (VMs) by upgrading to the [Trusted Launch](trusted-launch.md) security type.
18
+
Azure Virtual Machines supports enabling Azure Trusted launch on existing [Azure Generation 2](generation-2.md) virtual machines (VMs) by upgrading to the [Trusted launch](trusted-launch.md) security type.
19
19
20
-
[Trusted Launch](trusted-launch.md) is a way to enable foundational compute security on [Azure Generation 2 VMs](generation-2.md) VMs and protects against advanced and persistent attack techniques like boot kits and rootkits. It does so by combining infrastructure technologies like Secure Boot, virtual Trusted Platform Module (vTPM), and boot integrity monitoring on your VM.
20
+
[Trusted launch](trusted-launch.md) is a way to enable foundational compute security on [Azure Generation 2 VMs](generation-2.md) VMs and protects against advanced and persistent attack techniques like boot kits and rootkits. It does so by combining infrastructure technologies like Secure Boot, virtual Trusted Platform Module (vTPM), and boot integrity monitoring on your VM.
21
21
22
22
> [!IMPORTANT]
23
-
> Support for *enabling Trusted Launch on existing Azure Generation 1 VMs* is currently in private preview. You can gain access to preview by using the [registration form](https://aka.ms/Gen1ToTLUpgrade).
23
+
> Support for *enabling Trusted launch on existing Azure Generation 1 VMs* is currently in private preview. You can gain access to preview by using the [registration form](https://aka.ms/Gen1ToTLUpgrade).
-[Trusted Launch supported operating system (OS) image](trusted-launch.md#operating-systems-supported). For custom OS images or disks, the base image should be *Trusted Launch capable*.
30
-
- Azure Generation 2 VM isn't using [features currently not supported with Trusted Launch](trusted-launch.md#unsupported-features).
31
-
- Azure Generation 2 VMs should be *stopped and deallocated* before you enable the Trusted Launch security type.
32
-
- Azure Backup, if enabled, for VMs should be configured with the [Enhanced Backup policy](../backup/backup-azure-vms-enhanced-policy.md). The Trusted Launch security type can't be enabled for Generation 2 VMs configured with *Standard policy* backup protection.
-[Trusted launch supported operating system (OS) image](trusted-launch.md#operating-systems-supported). For custom OS images or disks, the base image should be *Trusted launch capable*.
30
+
- Azure Generation 2 VM isn't using [features currently not supported with Trusted launch](trusted-launch.md#unsupported-features).
31
+
- Azure Generation 2 VMs should be *stopped and deallocated* before you enable the Trusted launch security type.
32
+
- Azure Backup, if enabled, for VMs should be configured with the [Enhanced Backup policy](../backup/backup-azure-vms-enhanced-policy.md). The Trusted launch security type can't be enabled for Generation 2 VMs configured with *Standard policy* backup protection.
33
33
- Existing Azure VM backup can be migrated from the *Standard* to the *Enhanced* policy. Follow the steps in [Migrate Azure VM backups from Standard to Enhanced policy (preview)](../backup/backup-azure-vm-migrate-enhanced-policy.md).
34
34
35
35
## Best practices
36
-
- Enable Trusted Launch on a test Generation 2 VM and determine if any changes are required to meet the prerequisites before you enable Trusted Launch on Generation 2 VMs associated with production workloads.
37
-
-[Create restore points](create-restore-points.md) for Azure Generation 2 VMs associated with production workloads before you enable the Trusted Launch security type. You can use the restore points to re-create the disks and Generation 2 VM with the previous well-known state.
38
36
39
-
## Enable Trusted Launch on an existing VM
37
+
- Enable Trusted launch on a test Generation 2 VM and determine if any changes are required to meet the prerequisites before you enable Trusted launch on Generation 2 VMs associated with production workloads.
38
+
-[Create restore points](create-restore-points.md) for Azure Generation 2 VMs associated with production workloads before you enable the Trusted launch security type. You can use the restore points to re-create the disks and Generation 2 VM with the previous well-known state.
39
+
40
+
## Enable Trusted launch on an existing VM
40
41
41
42
> [!NOTE]
42
43
>
43
-
> - After you enable Trusted Launch, currently VMs can't be rolled back to the Standard security type (non-Trusted Launch configuration).
44
+
> - After you enable Trusted launch, currently VMs can't be rolled back to the Standard security type (non-Trusted launch configuration).
44
45
> - vTPM is enabled by default.
45
46
> - We recommend that you enable Secure Boot, if you aren't using custom unsigned kernel or drivers. It's not enabled by default. Secure Boot preserves boot integrity and enables foundational security for VMs.
46
47
47
48
### [Portal](#tab/portal)
48
49
49
-
Enable Trusted Launch on an existing Azure Generation 2 VM by using the Azure portal.
50
+
Enable Trusted launch on an existing Azure Generation 2 VM by using the Azure portal.
50
51
51
52
1. Sign in to the [Azure portal](https://portal.azure.com).
52
53
1. Confirm that the VM generation is **V2** and select **Stop** for the VM.
@@ -65,19 +66,19 @@ Enable Trusted Launch on an existing Azure Generation 2 VM by using the Azure po
65
66
66
67
> [!NOTE]
67
68
>
68
-
> - Generation 2 VMs created by using [Azure Compute Gallery (ACG)](azure-compute-gallery.md), [Managed image](capture-image-resource.yml), or an [OS disk](./scripts/create-vm-from-managed-os-disks.md) can't be upgraded to Trusted Launch by using the portal. Ensure that the [OS version is supported for Trusted Launch](trusted-launch.md#operating-systems-supported). Use PowerShell, the Azure CLI, or an Azure Resource Manager template (ARM template) to run the upgrade.
69
+
> - Generation 2 VMs created by using [Azure Compute Gallery (ACG)](azure-compute-gallery.md), [Managed image](capture-image-resource.yml), or an [OS disk](./scripts/create-vm-from-managed-os-disks.md) can't be upgraded to Trusted launch by using the portal. Ensure that the [OS version is supported for Trusted launch](trusted-launch.md#operating-systems-supported). Use PowerShell, the Azure CLI, or an Azure Resource Manager template (ARM template) to run the upgrade.
69
70
70
71
:::image type="content" source="./media/trusted-launch/05-generation-2-to-trusted-launch-select-uefi-settings.png" alt-text="Screenshot that shows the Secure Boot and vTPM settings.":::
71
72
72
73
1. After the update successfully finishes, close the **Configuration** page. On the **Overview** page in the VM properties, confirm the **Security type** settings.
73
74
74
-
:::image type="content" source="./media/trusted-launch/06-generation-2-to-trusted-launch-validate-uefi.png" alt-text="Screenshot that shows the Trusted Launch upgraded VM.":::
75
+
:::image type="content" source="./media/trusted-launch/06-generation-2-to-trusted-launch-validate-uefi.png" alt-text="Screenshot that shows the Trusted launch upgraded VM.":::
75
76
76
-
1. Start the upgraded Trusted Launch VM. Verify that you can sign in to the VM by using either the Remote Desktop Protocol (RDP) for Windows VMs or the Secure Shell Protocol (SSH) for Linux VMs.
77
+
1. Start the upgraded Trusted launch VM. Verify that you can sign in to the VM by using either the Remote Desktop Protocol (RDP) for Windows VMs or the Secure Shell Protocol (SSH) for Linux VMs.
77
78
78
79
### [CLI](#tab/cli)
79
80
80
-
Follow the steps to enable Trusted Launch on an existing Azure Generation 2 VM by using the Azure CLI.
81
+
Follow the steps to enable Trusted launch on an existing Azure Generation 2 VM by using the Azure CLI.
81
82
82
83
Make sure that you install the latest [Azure CLI](/cli/azure/install-az-cli2) and are signed in to an Azure account with [az login](/cli/azure/reference-index).
83
84
@@ -89,16 +90,16 @@ Make sure that you install the latest [Azure CLI](/cli/azure/install-az-cli2) an
89
90
az account set --subscription 00000000-0000-0000-0000-000000000000
90
91
```
91
92
92
-
1. Deallocate the VM.
93
+
2. Deallocate the VM.
93
94
94
-
1. Enable Trusted Launch by setting `--security-type` to `TrustedLaunch`.
95
+
3. Enable Trusted launch by setting `--security-type` to `TrustedLaunch`.
95
96
96
97
```azurecli-interactive
97
98
az vm deallocate \
98
99
--resource-group myResourceGroup --name myVm
99
100
```
100
101
101
-
1. Validate the output of the previous command. Ensure that the `securityProfile` configuration is returned with the command output.
102
+
4. Validate the output of the previous command. Ensure that the `securityProfile` configuration is returned with the command output.
102
103
103
104
```azurecli-interactive
104
105
az vm update \
@@ -107,7 +108,7 @@ Make sure that you install the latest [Azure CLI](/cli/azure/install-az-cli2) an
107
108
--enable-secure-boot true --enable-vtpm true
108
109
```
109
110
110
-
1. Validate the output of the previous command. Ensure that the `securityProfile` configuration is returned with the command output.
111
+
5. Validate the output of the previous command. Ensure that the `securityProfile` configuration is returned with the command output.
111
112
112
113
```json
113
114
{
@@ -121,18 +122,18 @@ Make sure that you install the latest [Azure CLI](/cli/azure/install-az-cli2) an
121
122
}
122
123
```
123
124
124
-
1. Start the VM.
125
+
6. Start the VM.
125
126
126
127
```azurecli-interactive
127
128
az vm start \
128
129
--resource-group myResourceGroup --name myVm
129
130
```
130
131
131
-
1. Start the upgraded Trusted Launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
132
+
7. Start the upgraded Trusted launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
132
133
133
134
### [PowerShell](#tab/powershell)
134
135
135
-
Follow the steps to enable Trusted Launch on an existing Azure Generation 2 VM by using Azure PowerShell.
136
+
Follow the steps to enable Trusted launch on an existing Azure Generation 2 VM by using Azure PowerShell.
136
137
137
138
Make sure that you install the latest [Azure PowerShell](/powershell/azure/install-azps-windows) and are signed in to an Azure account with [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount).
138
139
@@ -142,21 +143,21 @@ Make sure that you install the latest [Azure PowerShell](/powershell/azure/insta
1. Start the upgraded Trusted Launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
182
-
183
-
>[!NOTE]
184
-
> Make sure to change the `-SecurityType` to `TrustedLaunch`, for all deployment scripts this will ensure when virtual machines are provisioned, they will be automatically Trusted Launch.
182
+
6. Start the upgraded Trusted launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
185
183
186
184
### [Template](#tab/template)
187
185
188
-
Follow the steps to enable Trusted Launch on an existing Azure Generation 2 VM by using an ARM template.
186
+
Follow the steps to enable Trusted launch on an existing Azure Generation 2 VM by using an ARM template.
:::image type="content" source="./media/trusted-launch/generation-2-trusted-launch-settings.png" alt-text="Screenshot that shows the Trusted Launch properties of the VM.":::
288
+
:::image type="content" source="./media/trusted-launch/generation-2-trusted-launch-settings.png" alt-text="Screenshot that shows the Trusted launch properties of the VM.":::
291
289
292
-
:::image type="content" source="./media/trusted-launch/generation-2-trusted-launch-settings.png" alt-text="Screenshot that shows the Trusted Launch properties of the VM.":::
290
+
:::image type="content" source="./media/trusted-launch/generation-2-trusted-launch-settings.png" alt-text="Screenshot that shows the Trusted launch properties of the VM.":::
293
291
294
-
1. Start the upgraded Trusted Launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
292
+
5. Start the upgraded Trusted launch VM. Verify that you can sign in to the VM by using either RDP (for Windows VMs) or SSH (for Linux VMs).
295
293
296
294
---
297
295
298
296
## Azure Advisor Recommendation
299
297
300
-
Azure Advisor populates an **Enable Trusted Launch Compatible Images and VM Sizes for Existing Generation 2 VMs** operational excellence recommendation for existing Generation 2 VMs to adopt [Trusted Launch](trusted-launch.md), a higher security posture for Azure VMs at no additional cost to you. Ensure Generation 2 VM has all prerequisites to migrate to Trusted Launch, follow all the best practices including validation of OS image, VM Size, and creating restore points. For the Advisor recommendation to be considered complete, follow the steps outlined in the [**Enable Trusted Launch on an existing VM**](trusted-launch-existing-vm.md) to upgrade the virtual machines security type and enable Trusted Launch.
298
+
Azure Advisor populates an **Enable Trusted launch foundational excellence, and modern security for Existing Generation 2 VM(s)** operational excellence recommendation for existing Generation 2 VMs to adopt [Trusted launch](trusted-launch.md), a higher security posture for Azure VMs at no additional cost to you. Ensure Generation 2 VM has all prerequisites to migrate to Trusted launch, follow all the best practices including validation of OS image, VM Size, and creating restore points. For the Advisor recommendation to be considered complete, follow the steps outlined in the [**Enable Trusted launch on an existing VM**](trusted-launch-existing-vm.md#enable-trusted-launch-on-an-existing-vm) to upgrade the virtual machines security type and enable Trusted launch.
301
299
302
-
### What if there is Generation 2 VMs, that doesn't fit the prerequistes for Trusted Launch ?
300
+
**What if there is Generation 2 VMs, that doesn't fit the prerequisites for Trusted launch?**
303
301
304
-
For a Generation 2 VM, that has not met the prerequistes to upgrade to Trusted Launch, look how to fulfill the prerequistes.
305
-
1. If using an OS image not supported, upgrade to Trusted Launch|Gen2 image, most Windows OS support Trusted Launch except Windows 2012 Datacenter offerings. In the case of Linux OS, upgrade to the newest SKU offered by the image distribution.
306
-
2. If using a virtual machine size not supported, please look for an [equivalant Trusted Launch supported size](/sizes/resize-vm.md) that supports Trusted Launch.
302
+
For a Generation 2 VM, that has not met the [prerequisites](#prerequisites) to upgrade to Trusted launch, look how to fulfill the prerequisites. For example, If using a virtual machine size not supported, please look for an [equivalent Trusted launch supported size](trusted-launch.md#virtual-machines-sizes) that supports Trusted launch.
307
303
308
304
> [!NOTE]
309
-
> For M-series and ARM64 virtual machine users, please dismiss the recommendation for all resources.
305
+
>
306
+
> Please dismiss the recommendation if Gen2 virtual machine is configured with VM size families which are currently not supported with Trusted launch like MSv2-series.
310
307
311
308
## Related content
312
309
310
+
- Enable Trusted launch for new virtual machine deployments. For more details, see [Deploy Trusted launch virtual machines](trusted-launch-portal.md)
313
311
- After the upgrades, we recommend that you enable [boot integrity monitoring](trusted-launch.md#microsoft-defender-for-cloud-integration) to monitor the health of the VM by using Microsoft Defender for Cloud.
314
-
- Learn more about [Trusted Launch](trusted-launch.md) and review [frequently asked questions](trusted-launch-faq.md).
312
+
- Learn more about [Trusted launch](trusted-launch.md) and review [frequently asked questions](trusted-launch-faq.md).
0 commit comments