Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Enable Trusted launch on existing Uniform scale set
Applies to: ✔️ Uniform scale set ✔️ Flex scale set ❌ Service fabric
Azure Virtual machine Scale sets supports enabling Trusted launch on existing Uniform Scale sets virtual machine (VM) by upgrading to Trusted launch security type.
Trusted launch enables foundational compute security on Azure Generation 2 virtual machines & scale sets and protects them against advanced and persistent attack techniques like boot kits and rootkits. It does so by combining infrastructure technologies like Secure Boot, vTPM, and Boot Integrity Monitoring on your Scale set.
Limitations
Enabling Trusted launch on existing virtual machine Scale sets with data disks attached requires upgrade mode set to Rolling upgrade with max surge
- To validate if scale set is configured with data disk, navigate to scale set -> Disks under Settings menu -> check under heading Data disks
👁 Screenshot of the scale set with data disks.
- To validate if scale set is configured with data disk, navigate to scale set -> Disks under Settings menu -> check under heading Data disks
👁 Screenshot of the scale set with data disks.
Enabling Trusted launch on existing virtual machine Scale sets Flex is currently in preview. Register for preview of enabling Trusted launch on existing Flex scale set preview
Enabling Trusted launch on existing Service fabric clusters and Service fabric managed clusters is currently not supported.
Prerequisites
- Scale set isn't dependent on features currently not supported with Trusted launch.
- Scale set should be configured with Trusted launch supported size family
Note
- Virtual machine size can be changed along with Trusted launch upgrade. Ensure quota for new VM Size is in-place to avoid upgrade failures. Refer to Check vCPU quotas.
- Change to Virtual machine size re-creates the Virtual machine instance with new size and requires downtime of individual Virtual machine instance. It can be done in a Rolling Upgrade fashion to avoid Scale set downtime.
- Scale set should be configured with Trusted launch supported OS Image. For Azure compute gallery OS image, ensure image definition is marked as TrustedLaunchSupported
Important
Changing the OS image of a scale set recreates the OS disks for all VM instances using the new image. This change means any data or custom configurations stored on the current OS disks is lost post upgrade. Ensure back up of any important information before proceeding.
Enable Trusted launch on existing Scale set Uniform
Following steps details how to enable Trusted launch on existing uniform scale set using Azure portal.
(Optional) Scale set Size: Navigate to
SizeunderAvailability + scale-> Modify the Scale set size if current size family isn't supported with Trusted launch security configuration -> Click Apply. 👁 Screenshot of the scale set size change.
OS Image: Navigate to
Operating systemunderSettings-> Click onChange image reference. 👁 Screenshot of the scale set OS image change.
Update the OS Image reference to Gen2-Trusted launch supported OS image. Make sure the source Gen2 image has
TrustedLaunchSupportedsecurity type if using Azure Compute Gallery OS image -> Click Apply. 👁 Screenshot of the OS image change options.
Security type: Click on Standard
Security typeonOverviewpage of scale set OR navigate toConfigurationunderSettings.Update the security type drop-down on
Configurationpage fromStandardtoTrusted launchwithEnable secure bootandEnable vTPMchecked to enable Trusted Launch security configuration. ClickYesto confirm changes.Note
- vTPM is enabled by default.
- Secure Boot should be enabled (not enabled by default) if you aren't using custom unsigned kernel or drivers. Secure Boot preserves boot integrity and enables foundational security for VM.
Validate the changes on the
Overviewpage of scale set. 👁 Screenshot of the validation on overview page.
(Recommended) Guest Attestation Extension: Add Guest Attestation (GA) extension for Scale set resource, which enables Boot integrity monitoring for Scale set.
Update the VM instances manually if Scale set uniform upgrade mode is set to
Manual. 👁 Screenshot of the scale set instance update.
Roll back
To roll back changes from Trusted launch to previous known good configuration, you need to set securityType of Scale set to Standard.
OS Image: Navigate to
Operating systemunderSettings. Click onChange image reference. 👁 Screenshot of the scale set OS image change.
Update the OS Image reference to last known good configuration -> Click Apply. 👁 Screenshot of the OS image change options.
Security type: Navigate to
Configurationpage underSettings-> Update the security type drop-down onConfigurationpage fromTrusted launchtoStandardfor disabling Trusted Launch security configuration. ClickYesto confirm changes. 👁 Screenshot of the Standard security type drop-down.
Validate the changes on the
Overviewpage of scale set. 👁 Screenshot of the validation of rollback on overview page.
Update the VM instances manually if Scale set uniform upgrade mode is set to
Manual. 👁 Screenshot of the scale set instance update.
Next steps
(Recommended) Post-Upgrades enable Boot integrity monitoring to monitor the health of the VM using Microsoft Defender for Cloud.
Learn more about Trusted launch and review frequently asked questions.
Feedback
Was this page helpful?
