none
code-try-0 error : not available in location westus2 RRS feed

  • Question

  • https://docs.microsoft.com/en-us/azure/iot-edge/quickstart-linux

    following step-by-step but I got some error about  "location": "westus2"  ... in Azure Cloud Shell, so great

    seaman@Azure:~$ az extension add --name azure-cli-iot-ext
    seaman@Azure:~$ az group create --name IoTEdgeResources --location westus2
    {
      "id": "/subscriptions/7777777-7777-7777-7777-777777777777/resourceGroups/IoTEdgeResources",
      "location": "westus2",
      "managedBy": null,
      "name": "IoTEdgeResources",
      "properties": {
        "provisioningState": "Succeeded"
      },
      "tags": null,
      "type": "Microsoft.Resources/resourceGroups"
    }
    seaman@Azure:~$ az vm image accept-terms --urn microsoft_iot_edge:iot_edge_vm_ubuntu:ubuntu_1604_edgeruntimeonly:latest
    {
      "accepted": true,
      "id": "/subscriptions/7777777-7777-7777-7777-777777777777/providers/Microsoft.MarketplaceOrdering/offerTypes/Microsoft.MarketplaceOrdering/offertypes/publishers/microsoft_iot_edge/offers/iot_edge_vm_ubuntu/plans/ubuntu_1604_edgeruntimeonly/agreements/current",
      "licenseTextLink": "https://storelegalterms.blob.core.windows.net/legalterms/3E5ED_legalterms_MICROSOFT%253a5FIOT%253a5FEDGE%253a24IOT%253a5FEDGE%253a5FVM%253a5FUBUNTU%253a24UBUNTU%253a5F1604%253a5FEDGERUNTIMEONLY%253a24PTCMHZDQ2SPYANM4O6PBV5XDWEGY44BURG2POVTIBATCMSGIQINKS5GH2YFK2EHS6WIGCLFAIR5U4DXDNUCGLWNIKJB4MRF2ZOJBHSY.txt",
      "name": "ubuntu_1604_edgeruntimeonly",
      "plan": "ubuntu_1604_edgeruntimeonly",
      "privacyPolicyLink": "https://privacy.microsoft.com/en-us/privacystatement",
      "product": "iot_edge_vm_ubuntu",
      "publisher": "microsoft_iot_edge",
      "retrieveDatetime": "2019-09-20T08:30:43.7266548Z",
      "signature": "KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK",
      "type": "Microsoft.MarketplaceOrdering/offertypes"
    }
    seaman@Azure:~$ az vm create --resource-group IoTEdgeResources --name EdgeVM --image microsoft_iot_edge:iot_edge_vm_ubuntu:ubuntu_1604_edgeruntimeonly:latest --admin-username azureuser --generate-ssh-keys
    SSH key files '/home/seaman/.ssh/id_rsa' and '/home/seaman/.ssh/id_rsa.pub' have been generated under ~/.ssh to allow SSH access to the VM. If using machines without permanent storage, back up your keys to asafe location.
    Azure Error: InvalidTemplateDeployment
    Message: The template deployment failed with error: 'The resource with id: '/subscriptions/7777777-7777-7777-7777-777777777777/resourceGroups/IoTEdgeResources/providers/Microsoft.Compute/virtualMachines/EdgeVM' failed validation with message: 'The requested size for resource '/subscriptions/7777777-7777-7777-7777-777777777777/resourceGroups/IoTEdgeResources/providers/Microsoft.Compute/virtualMachines/EdgeVM' is currently not available in location 'westus2' zones '' for subscription '7777777-7777-7777-7777-777777777777'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'.
    Friday, September 20, 2019 9:28 AM

Answers

All replies