SOLVED
Home

Cannot select existing Availability Set when creating a new VM

%3CLINGO-SUB%20id%3D%22lingo-sub-81680%22%20slang%3D%22en-US%22%3ECannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-81680%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20an%20MSDN%20subscription%20and%20am%20starting%20to%20learn%20Azure%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efrom%20portal.azure.com%20I%20create%20the%20following%20items%20in%20no%20particular%20order%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20Virtual%20Network%3C%2FP%3E%3CP%3E2)%20Public%20IP%20Address%3C%2FP%3E%3CP%3E3)%20Storage%20Group%3C%2FP%3E%3CP%3E4)%20Load%20Balancer%20(which%20I%20associated%20with%20the%20Public%20IP%20Address)%3C%2FP%3E%3CP%3E5)%20Availability%20Set%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20understand%20if%20I%20want%20to%20NAT%20Public%20facing%20IP%20address%2Fport%20to%20my%20VM%20in%20Azure%20I%20need%20to%20setup%20a%20Load%20Balancer%2FPublic%20IP%20address%20and%20place%20the%20new%20VM%20(created%20last)%20into%20an%20Availability%20Set%20(although%20I%20still%20not%20sure%20why%20I%20need%20to%20use%20an%20Availability%20set%20when%20I%20want%20to%20use%20NAT%20rules).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20how%2C%20I%20then%20went%20on%20to%20create%20a%20VM%20(Windows%202012%20R2%20data%20centre)%20but%20it%20did%20not%20show%20my%20existing%20Availability%20Set%20(it%20just%20gave%20me%20the%20choice%20of%20creating%20a%20new%20one)%2C%20but%20my%20availability%20set%20it%20there%20and%20ready.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20bug%20in%20Azure%20or%20am%20I%20doing%20something%20wrong%3F%3C%2FP%3E%3CP%3Ealso%2C%20do%20I%20really%20need%20an%20Availabily%20Set%20(apart%20from%20the%20obvious%20static%20public%20IP%20and%20load%20balancer)%20ir%20order%20to%20ultimately%20setup%20my%20own%20NAT%20rules%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20advise%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E__AUser%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-81680%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-237015%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-237015%22%20slang%3D%22en-US%22%3E%3CP%3EToday%20i%20faced%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20to%20restore%20a%20VM%2C%20within%20it's%20old%20Availability%20set.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20for%204-5%20hours%20investigating%20and%20troubleshooting.%20Even%20tried%20scripts%20to%20change%20the%20availability%20set.%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20Disk%20Swap%20but%20worked%20nothing.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20last%2C%20I%20found%20little%20odd%20within%20the%20%22Availability%20set%22%20%26gt%3B%26gt%3B%22overview%22%20section%20I%20found%20the%20option%20%22Managed%22%20was%20set%20to%20%22No%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20upgraded%20that%20to%20%22yes%22%20via%20option%20%22convert%20to%20managed%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20that's%20it.%20I%20resolved%20the%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehope%20that%20works%20for%20you%20guys.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-128898%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128898%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20might%20be%20down%20to%20the%20portal%20layout.%20If%20your%20VM's%20are%20not%20using%20managed%20disks%2C%20and%20you've%26nbsp%3Btherefore%20created%20the%20availability%20set%20for%20non-managed%20disks%2C%20then%20when%20you%20come%20in%20to%20add%20your%20second%20VM%20you%20need%20to%20first%20change%20the%20'Storage%20-%20Use%20managed%20disks'%20option%20to%20%3CSTRONG%3ENo%3C%2FSTRONG%3EBEFORE%20you%20go%20in%20to%20the%20Availability%20set%20picker.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20not%2C%20it'll%20only%20show%20the%20Availability%20Sets%20which%20are%20set%20to%20use%20Managed%20Disks%2C%20since%20that's%20the%20default%20option%20on%20the%20VM%20Settings%20blade.%20Very%20confusing%20since%20it%20looks%20like%20your%20Availability%20Set%20has%20just%20vanished.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20they%20positioned%20the%20Storage%20section%20before%20the%20High%20Availability%20section%20this%20wouldn't%20be%20an%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-81757%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-81757%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHello%20Kent%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20again%20for%20taking%20the%20time%20out%20of%20your%20day%20to%20reply.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20for%20clearing%20up%20the%20point%20with%20regard%20to%20Resource%20Groups%20and%20the%20'All%20Resources'%20view.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWith%20regard%20to%20the%20Availability%20Set%20I%20may%20of%20inadvertently%20created%20a%20classic%20one%20(not%20sure)%20I%20have%20deleted%20now%2C%20but%20the%20next%20time%20I%20create%20one%20I%20will%20make%20sure%20I%20used%20managed%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAll%20my%20questions%20answered%20in%20this%20post%20now.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E__AUser%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-81737%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-81737%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20lack%20of%20seeing%20resource%20groups%20from%20the%20%22all%20resources%22%20is%20by%20design.%3C%2FP%3E%3CP%3EResource%20groups%20are%20just%20logical%20containers%2C%20so%20the%20serve%20no%20purpose%20in%20that%20view.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20regards%20to%20you%20availability%20set%2C%20try%20and%20create%20a%20new%20one%20prior%20to%20clicking%20create%20copy%20the%20Resource%20template%20so%20i%20can%20see%20what%20you%20would%20have%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20have%20chosen%20to%20create%20a%20classic%20Availability%20set%2C%20it%20gives%20you%20classic%20or%20aligned%20%22in%20reality%20its%20classic%20vs.%20ARM%22%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20195px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F16353iD1D97B5AC1C3F9AE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22avail.png%22%20title%3D%22avail.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-81721%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-81721%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Kent%3C%2FP%3E%3CP%3EThanks%20for%20taking%20the%20time%20to%20reply%20to%20my%20question.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wonder%20if%20I%20am%20experiancing%20somesort%20of%20bug%20but%20I%20get%20the%20same%20result%20in%20Windows%20Edge%20Brower%20and%20Internet%20Explorer%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20Windows%2010%20version%2010.0.14393%20and%20build%2014393%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20one%20Resource%20Group%20and%20all%20my%20other%20resources%20are%20part%20of%20this%20Resource%20Group%20(based%20in%20West%20UK)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20left%20it%2024%20hours%20but%20when%20I%20go%20to%20create%20a%20VM%20it%20does%20not%20show%20my%20existing%20Availability%20Group%20is%20being%20available%20(it%20does%20not%20show%20it%20at%20all)%20and%20therefore%20I%20have%20the%20option%20of%20None%20or%20to%20create%20a%20New%20one.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20I%20notice%20when%20I%20am%20on%20my%20Azure%20Portal%20home%20page%20under%20the%20'All%20Resources'%20%26amp%3B%20'%20All%20Subscriptions'%20tile%20it%20does%20not%20show%20my%20ResourceGroup%20(but%20it%20does%20show%20the%20other%20items).%20However%20if%20I%20click%20on%20ResourceGroups%20on%20the%20leaf%20most%20menu%2Ftile%20it%20does%20show%20my%20ResourceGroup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETherefore%20I%20now%20have%20two%20issues%20the%20main%20one%20being%20I%20cannot%20select%20a%20current%20AvailabilityGroup%20when%20building%20my%20first%20VM%20and%20also%20I%20do%20not%20see%20my%20Resource%20Group%20under%20'All%20Resources'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%2C%20what%20is%20going%20on%20here%20please%3F%20can%20Microsoft%20offer%20an%20explanation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E__AUser%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-81696%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20select%20existing%20Availability%20Set%20when%20creating%20a%20new%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-81696%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20availability%20set%20has%20to%20be%20in%20the%20same%20Resource%20group%20as%20the%20VM's%20you%20are%20trying%20to%20deploy.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20said%2C%26nbsp%3Byou%20do%20not%20need%20to%20create%20an%20availability%20set%20for%20Port%20forwarding%20in%20Resource%20manager.%3C%2FP%3E%3CP%3EBUT%20the%20availability%20set%20allows%20Azure%20to%20know%20these%202%20machines%20cover%20a%20vital%20role%2C%20and%20they%20should%20not%20take%20them%20both%20offline%20at%20the%20same%20time.%3CBR%20%2F%3EThe%20load%20balancer%20can%20attach%20single%20machines%20or%20a%20entire%26nbsp%3BAvailability%20sets%20to%20make%20management%20easier.%3C%2FP%3E%3CP%3Eany%20machine%20added%20to%20an%20availability%20set%20marked%20as%20a%20backend%20pool%20will%20automatically%20partake%20in%20recieving%20the%20traffic%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
AUser ZUser
Occasional Contributor

Hello,

I have an MSDN subscription and am starting to learn Azure

 

from portal.azure.com I create the following items in no particular order

 

1) Virtual Network

2) Public IP Address

3) Storage Group

4) Load Balancer (which I associated with the Public IP Address)

5) Availability Set

 

I understand if I want to NAT Public facing IP address/port to my VM in Azure I need to setup a Load Balancer/Public IP address and place the new VM (created last) into an Availability Set (although I still not sure why I need to use an Availability set when I want to use NAT rules).

 

Any how, I then went on to create a VM (Windows 2012 R2 data centre) but it did not show my existing Availability Set (it just gave me the choice of creating a new one), but my availability set it there and ready.

 

Is this a bug in Azure or am I doing something wrong?

also, do I really need an Availabily Set (apart from the obvious static public IP and load balancer) ir order to ultimately setup my own NAT rules?

 

Please advise

 

Thanks

__AUser

 

 

 

6 Replies

The availability set has to be in the same Resource group as the VM's you are trying to deploy.

 

 

That said, you do not need to create an availability set for Port forwarding in Resource manager.

BUT the availability set allows Azure to know these 2 machines cover a vital role, and they should not take them both offline at the same time.
The load balancer can attach single machines or a entire Availability sets to make management easier.

any machine added to an availability set marked as a backend pool will automatically partake in recieving the traffic

 

Hello Kent

Thanks for taking the time to reply to my question.

 

I wonder if I am experiancing somesort of bug but I get the same result in Windows Edge Brower and Internet Explorer

 

I am using Windows 10 version 10.0.14393 and build 14393

 

I have one Resource Group and all my other resources are part of this Resource Group (based in West UK)

 

I left it 24 hours but when I go to create a VM it does not show my existing Availability Group is being available (it does not show it at all) and therefore I have the option of None or to create a New one.

 

Also I notice when I am on my Azure Portal home page under the 'All Resources' & ' All Subscriptions' tile it does not show my ResourceGroup (but it does show the other items). However if I click on ResourceGroups on the leaf most menu/tile it does show my ResourceGroup.

 

Therefore I now have two issues the main one being I cannot select a current AvailabilityGroup when building my first VM and also I do not see my Resource Group under 'All Resources'

 

Any idea, what is going on here please? can Microsoft offer an explanation?

 

Thanks

 

__AUser

Solution

The lack of seeing resource groups from the "all resources" is by design.

Resource groups are just logical containers, so the serve no purpose in that view.

 

With regards to you availability set, try and create a new one prior to clicking create copy the Resource template so i can see what you would have created.

 

You may have chosen to create a classic Availability set, it gives you classic or aligned "in reality its classic vs. ARM"

avail.png

Hello Kent,

 

Thanks again for taking the time out of your day to reply.

 

Thanks for clearing up the point with regard to Resource Groups and the 'All Resources' view.

 

With regard to the Availability Set I may of inadvertently created a classic one (not sure) I have deleted now, but the next time I create one I will make sure I used managed

 

All my questions answered in this post now.

 

Thanks

__AUser

It might be down to the portal layout. If your VM's are not using managed disks, and you've therefore created the availability set for non-managed disks, then when you come in to add your second VM you need to first change the 'Storage - Use managed disks' option to No BEFORE you go in to the Availability set picker.

 

If not, it'll only show the Availability Sets which are set to use Managed Disks, since that's the default option on the VM Settings blade. Very confusing since it looks like your Availability Set has just vanished.

 

If they positioned the Storage section before the High Availability section this wouldn't be an issue.

Today i faced the same issue. 

 

I'd to restore a VM, within it's old Availability set. 

I tried for 4-5 hours investigating and troubleshooting. Even tried scripts to change the availability set. 

Tried Disk Swap but worked nothing. 

 

At last, I found little odd within the "Availability set" >>"overview" section I found the option "Managed" was set to "No". 

 

So I upgraded that to "yes" via option "convert to managed"

 

and that's it. I resolved the issue. 

 

hope that works for you guys.