Unable to create a VM on Azure Confidential Computing (ACC)

余生颓废 提交于 2020-04-16 02:27:29

问题


I'm trying to create a VM on Azure Confidential Computing service, but I always get the same error during the validation phase: an invalid template deployment error.

I've tried with different combinations of configurations, but to no avail:

  • Location: West Europe | East US
  • Image: Ubuntu Server 16.04 LTS | Ubuntu Server 18.04 LTS
  • VM size: Standard_DC2s | Standard_DC4s
  • OS disk type: Premium SSD | Standard SSD | Standard HDD

I've also tried to create a normal VM on West Europe and it went well. So at the moment I'm completely clueless on how to solve this problem.

Below you find an excerpt of the error message I'm getting:

InvalidTemplateDeploymentThe template deployment failed with error: 'The resource with id: '/subscriptions/9b389ced-1bbf-40ab-919f-a10e7a960ed8/resourceGroups/ACC-Ubuntu1604-01-RG/providers/Microsoft.Compute/virtualMachines/ACC-Ubuntu-1604-01' failed validation with message: 'The requested size for resource '/subscriptions/9b389ced-1bbf-40ab-919f-a10e7a960ed8/resourceGroups/ACC-Ubuntu1604-01-RG/providers/Microsoft.Compute/virtualMachines/ACC-Ubuntu-1604-01' is currently not available in location 'westeurope' zones '' for subscription '9b389ced-1bbf-40ab-919f-a10e7a960ed8'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'.

Thanks!


回答1:


Basically what it says - this size is not available for this region. You can get list of available skus for the region with:

Get-AzComputeResourceSku | where {$_.Locations -icontains "region_name"}

or you can search for skus available for the region here




回答2:


You can find Confidential Compute DC-series virtual machines in the directory in the Azure Marketplace or by searching the Azure Portal Marketplace for Confidential Compute.

  1. Click Get it now, and then Continue.
  2. If not already logged in, you will be asked to log in to your Azure account.
  3. Once logged in, you will be re-directed to the Confidential Compute VM Deployment wizard.

I tried that deployment within EastUs region.

For more details, you could refer to this article https://software.intel.com/en-us/articles/get-started-with-azure-confidential-computing.




回答3:


You should be able to deploy with the newest family of ACC VMs - DCsv2-Series in UK South and Canada Central. Please follow the steps here.



来源:https://stackoverflow.com/questions/60578520/unable-to-create-a-vm-on-azure-confidential-computing-acc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!