Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while creating virtual machine X The requested size for resource Y is currently not available in location Z

I've currently created Test Lab in Azure and when I try to create an Ubuntu Server 14.04 LTS it keeps failing with the below error message.

Error while creating virtual machine TestVMUbuntu The requested size for resource /subscriptions/....../resourceGroups/blockchaineuropetest/providers/Microsoft.Compute/virtualMachines/TestVMUbuntu is currently not available in location 'northeurope' zones '' for subscription 'xxxxxxx'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.

I connected with PowerShell remote and it's on the list of available regions.

PS C:\Users\joshua.duxbury> Get-AzureRmLocation | select DisplayName

DisplayName
-----------
East Asia
Southeast Asia
Central US
East US
East US 2
West US
North Central US
South Central US
North Europe
West Europe
Japan West
Japan East
Brazil South
Australia East
Australia Southeast
South India
Central India
West India
Canada Central
Canada East
UK South
UK West
West Central US
West US 2
Korea Central
Korea South
France Central
France South

I've tried a few different regions. Has anyone else encountered this issue and how can I resolve?

like image 208
Joshua Duxbury Avatar asked Apr 07 '18 12:04

Joshua Duxbury


1 Answers

The region I chose was available, the reason I was running into this problem was that I hosted the VM's on a Visual Studio Professional subscription and I was trying to host a VM with premium disks.

I followed the below steps.

  1. Make sure the region is available (which it was available)
  2. Select HDD instead of SSD.
  3. Look down the list of available none premium VM's (green instead of blue)
like image 131
Joshua Duxbury Avatar answered Sep 20 '22 00:09

Joshua Duxbury