|
| 1 | +--- |
| 2 | +title: Azure Confidential VM options |
| 3 | +description: Azure Confidential Computing offers multiple options for confidential virtual machines on AMD and Intel processors. |
| 4 | +author: ju-shim |
| 5 | +ms.author: jushiman |
| 6 | +ms.reviewer: mattmcinnes |
| 7 | +ms.service: virtual-machines |
| 8 | +ms.subservice: confidential-computing |
| 9 | +ms.custom: devx-track-azurecli |
| 10 | +ms.topic: conceptual |
| 11 | +ms.date: 11/15/2023 |
| 12 | +--- |
| 13 | + |
| 14 | +# Azure Confidential VM options |
| 15 | + |
| 16 | +Azure offers multiple confidential VMs options leveraging Trusted Execution Environments (TEE) technologies from both AMD and Intel to harden the virtualization environment. These technologies enable you to provision confidential computing environments with excellent price-to-performance without code changes. |
| 17 | + |
| 18 | +AMD confidential VMs leverage [Secure Encrypted Virtualization-Secure Nested Paging (SEV-SNP)](https://www.amd.com/system/files/TechDocs/SEV-SNP-strengthening-vm-isolation-with-integrity-protection-and-more.pdf) which was introduced with 3rd Gen AMD EPYC™ processors. Intel confidential VMs use [Trust Domain Extensions (TDX)](https://cdrdv2-public.intel.com/690419/TDX-Whitepaper-February2022.pdf) which was introduced with 4th Gen Intel® Xeon® processors. |
| 19 | + |
| 20 | +## Sizes |
| 21 | + |
| 22 | +You can create confidential VMs in the following size families: |
| 23 | + |
| 24 | +| Size Family | TEE | Description | |
| 25 | +| ------------------ | ------------ | ----------------------------------------------------------------------------------- | |
| 26 | +| **DCasv5-series** | AMD SEV-SNP | General purpose CVM with remote storage. No local temporary disk. | |
| 27 | +| **DCesv5-series** | Intel TDX | General purpose CVM with remote storage. No local temporary disk. | |
| 28 | +| **DCadsv5-series** | AMD SEV-SNP | General purpose CVM with local temporary disk. | |
| 29 | +| **DCedsv5-series** | Intel TDX | General purpose CVM with local temporary disk. | |
| 30 | +| **ECasv5-series** | AMD SEV-SNP | Memory-optimized CVM with remote storage. No local temporary disk. | |
| 31 | +| **ECesv5-series** | Intel TDX | Memory-optimized CVM with remote storage. No local temporary disk. | |
| 32 | +| **ECadsv5-series** | AMD SEV-SNP | Memory-optimized CVM with local temporary disk. | |
| 33 | +| **ECedsv5-series** | Intel TDX | Memory-optimized CVM with local temporary disk. | |
| 34 | + |
| 35 | +> [!NOTE] |
| 36 | +> Memory-optimized confidential VMs offer double the ratio of memory per vCPU count. |
| 37 | +
|
| 38 | +## Azure CLI commands |
| 39 | + |
| 40 | +You can use the [Azure CLI](/cli/azure/install-azure-cli) with your confidential VMs. |
| 41 | + |
| 42 | +To see a list of confidential VM sizes, run the following command. Replace `<vm-series>` with the series you want to use. The output shows information about available regions and availability zones. |
| 43 | + |
| 44 | +```azurecli-interactive |
| 45 | +vm_series='DCASv5' |
| 46 | +az vm list-skus \ |
| 47 | + --size dc \ |
| 48 | + --query "[?family=='standard${vm_series}Family'].{name:name,locations:locationInfo[0].location,AZ_a:locationInfo[0].zones[0],AZ_b:locationInfo[0].zones[1],AZ_c:locationInfo[0].zones[2]}" \ |
| 49 | + --all \ |
| 50 | + --output table |
| 51 | +``` |
| 52 | + |
| 53 | +For a more detailed list, run the following command instead: |
| 54 | + |
| 55 | +```azurecli-interactive |
| 56 | +vm_series='DCASv5' |
| 57 | +az vm list-skus \ |
| 58 | + --size dc \ |
| 59 | + --query "[?family=='standard${vm_series}Family']" |
| 60 | +``` |
| 61 | + |
| 62 | +## Deployment considerations |
| 63 | + |
| 64 | +Consider the following settings and choices before deploying confidential VMs. |
| 65 | + |
| 66 | +### Azure subscription |
| 67 | + |
| 68 | +To deploy a confidential VM instance, consider a [pay-as-you-go subscription](/azure/virtual-machines/linux/azure-hybrid-benefit-linux) or other purchase option. If you're using an [Azure free account](https://azure.microsoft.com/free/), the quota doesn't allow the appropriate number of Azure compute cores. |
| 69 | + |
| 70 | +You might need to increase the cores quota in your Azure subscription from the default value. Default limits vary depending on your subscription category. Your subscription might also limit the number of cores you can deploy in certain VM size families, including the confidential VM sizes. |
| 71 | + |
| 72 | +To request a quota increase, [open an online customer support request](../azure-portal/supportability/per-vm-quota-requests.md). |
| 73 | + |
| 74 | +If you have large-scale capacity needs, contact Azure Support. Azure quotas are credit limits, not capacity guarantees. You only incur charges for cores that you use. |
| 75 | + |
| 76 | +### Pricing |
| 77 | + |
| 78 | +For pricing options, see the [Linux Virtual Machines Pricing](https://azure.microsoft.com/pricing/details/virtual-machines/linux/). |
| 79 | + |
| 80 | +### Regional availability |
| 81 | + |
| 82 | +For availability information, see which [VM products are available by Azure region](https://azure.microsoft.com/global-infrastructure/services/?products=virtual-machines). |
| 83 | + |
| 84 | +### Resizing |
| 85 | + |
| 86 | +Confidential VMs run on specialized hardware, so you can only [resize confidential VM instances](confidential-vm-faq.yml#can-i-convert-a-dcasv5-ecasv5-cvm-into-a-dcesv5-ecesv5-cvm-or-a-dcesv5-ecesv5-cvm-into-a-dcasv5-ecasv5-cvm-) to other confidential sizes in the same region. For example, if you have a DCasv5-series VM, you can resize to another DCasv5-series instance or a DCesv5-series instance. |
| 87 | + |
| 88 | +It's not possible to resize a non-confidential VM to a confidential VM. |
| 89 | + |
| 90 | +### Guest OS support |
| 91 | + |
| 92 | +OS images for confidential VMs have to meet certain security and compatibility requirements. Qualified images support the secure mounting, attestation, optional [confidential OS disk encryption](confidential-vm-overview.md#confidential-os-disk-encryption), and isolation from underlying cloud infrastructure. These images include: |
| 93 | + |
| 94 | +- Ubuntu 20.04 LTS (AMD SEV-SNP supported only) |
| 95 | +- Ubuntu 22.04 LTS |
| 96 | +- Red Hat Enterprise Linux 9.3 (AMD SEV-SNP supported only) |
| 97 | +- Windows Server 2019 Datacenter - x64 Gen 2 (AMD SEV-SNP supported only) |
| 98 | +- Windows Server 2019 Datacenter Server Core - x64 Gen 2 (AMD SEV-SNP supported only) |
| 99 | +- Windows Server 2022 Datacenter - x64 Gen 2 |
| 100 | +- Windows Server 2022 Datacenter: Azure Edition Core - x64 Gen 2 |
| 101 | +- Windows Server 2022 Datacenter: Azure Edition - x64 Gen 2 |
| 102 | +- Windows Server 2022 Datacenter Server Core - x64 Gen 2 |
| 103 | +- Windows 11 Enterprise N, version 22H2 -x64 Gen 2 |
| 104 | +- Windows 11 Pro, version 22H2 ZH-CN -x64 Gen 2 |
| 105 | +- Windows 11 Pro, version 22H2 -x64 Gen 2 |
| 106 | +- Windows 11 Pro N, version 22H2 -x64 Gen 2 |
| 107 | +- Windows 11 Enterprise, version 22H2 -x64 Gen 2 |
| 108 | +- Windows 11 Enterprise multi-session, version 22H2 -x64 Gen 2 |
| 109 | + |
| 110 | +As we work to onboard more OS images with confidential OS disk encryption, there are various images available in early preview that can be tested. You can sign up below: |
| 111 | + |
| 112 | +- [Red Hat Enterprise Linux 9.3 (Support for Intel TDX)](https://aka.ms/tdx-rhel-93-preview) |
| 113 | +- [SUSE Enterprise Linux 15 SP5 (Support for Intel TDX, AMD SEV-SNP)](https://aka.ms/cvm-sles-preview) |
| 114 | +- [SUSE Enterprise Linux 15 SAP SP5 (Support for Intel TDX, AMD SEV-SNP)](https://aka.ms/cvm-sles-preview) |
| 115 | + |
| 116 | +For more information about supported and unsupported VM scenarios, see [support for generation 2 VMs on Azure](../virtual-machines/generation-2.md). |
| 117 | + |
| 118 | +### High availability and disaster recovery |
| 119 | + |
| 120 | +You're responsible for creating high availability and disaster recovery solutions for your confidential VMs. Planning for these scenarios helps minimize and avoid prolonged downtime. |
| 121 | + |
| 122 | +### Deployment with ARM templates |
| 123 | + |
| 124 | +Azure Resource Manager is the deployment and management service for Azure. You can: |
| 125 | + |
| 126 | +- Secure and organize your resources after deployment with the management features, like access control, locks, and tags. |
| 127 | +- Create, update, and delete resources in your Azure subscription using the management layer. |
| 128 | +- Use [Azure Resource Manager templates (ARM templates)](../azure-resource-manager/templates/overview.md) to deploy confidential VMs on AMD processors. There is an available [ARM template for confidential VMs](https://aka.ms/CVMTemplate). |
| 129 | + |
| 130 | +Make sure to specify the following properties for your VM in the parameters section (`parameters`): |
| 131 | + |
| 132 | +- VM size (`vmSize`). Choose from the different [confidential VM families and sizes](#sizes). |
| 133 | +- OS image name (`osImageName`). Choose from the qualified OS images. |
| 134 | +- Disk encryption type (`securityType`). Choose from VMGS-only encryption (`VMGuestStateOnly`) or full OS disk pre-encryption (`DiskWithVMGuestState`), which might result in longer provisioning times. For Intel TDX instances only we also support another security type (`NonPersistedTPM`) which has no VMGS or OS disk encryption. |
| 135 | + |
| 136 | +## Next steps |
| 137 | + |
| 138 | +> [!div class="nextstepaction"] |
| 139 | +> [Deploy a confidential VM from the Azure portal](quick-create-confidential-vm-portal.md) |
| 140 | +
|
| 141 | +For more information see our [Confidential VM FAQ](confidential-vm-faq.yml). |
0 commit comments