SOLVED

Availability Zone set up

%3CLINGO-SUB%20id%3D%22lingo-sub-1334437%22%20slang%3D%22en-US%22%3EAvailability%20Zone%20set%20up%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1334437%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3EI%20would%20like%20to%20know%20how%20are%20VM%20are%20replicated%20in%20an%20availability%20zone.%26nbsp%3B%20For%20example%20if%20I%20create%20one%20VM%20and%20choose%20the%20option%20of%20availability%20zone%20in%20two%20different%20zones%2C%20In%20each%20zone%2C%20will%20there%20be%20only%20one%20machine%20setup%20on%20a%20server%20or%20will%20it%20be%20setup%20in%20an%20availability%20set%3F%26nbsp%3B%20What%20my%20understanding%20is%20that%20if%20I%20choose%20two%20availability%20sets%2C%20the%20machine%20will%20be%20running%20on%20two%20separate%20racks%20with%20their%20own%20FD%20and%20UD.%20If%20my%20machine%20is%20in%20two%20different%20zones%2C%20it%20will%20be%20only%20one%20instance%20of%20each%20machine%20running%20on%20one%20server%20in%20each%20zone.%20If%20those%20particular%20fault%20domain%20on%20which%20my%20machine%20is%20running%2C%20go%20down%20at%20the%20same%20time%2C%20I%20will%20loose%20my%20machine.%26nbsp%3B%20If%20this%20is%20the%20case%2C%20shouldn't%20there%20be%20an%20option%20of%20creating%20an%20availability%20set%20first%20and%20then%20deploy%20them%20in%20different%20availability%20zones%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%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1334437%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENetworking%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProtection%20%26amp%3B%20Recovery%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1336066%22%20slang%3D%22en-US%22%3ERe%3A%20Availability%20Zone%20set%20up%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1336066%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F635166%22%20target%3D%22_blank%22%3E%40muhammedkhan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20deploy%20a%20VM%20in%20an%20Availability%20Zone%2C%20you%20are%20deploying%20it%20to%20a%20%3CSTRONG%3Esingle%20AZ%3C%2FSTRONG%3E.%20When%20you%20chose%201%2C%202%20or%203%2C%20you%20are%20just%20picking%20%3CSTRONG%3Eone%20of%20the%20AZs%3C%2FSTRONG%3E%20in%20the%20specified%20region.%20Each%20region%20has%20normally%20AZ%201%2C%20AZ%202%20and%20AZ%203.%20If%20you%20want%20high-availability%2C%20you%20need%20to%20deploy%20more%20than%20one%20VM%2C%20in%20multiple%20AZs.%20For%20example%2C%20deploy%20VM1%20in%20AZ%201%20and%20VM2%20in%20AZ%202.%20Each%20AZ%20corresponds%20to%20a%20distinct%20UD%2FFD.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAvailability%20Sets%20are%20used%20when%20you%20want%20regional%20high%20availability%20(instead%20of%20zonal).%20In%20this%20case%2C%20when%20adding%20multiple%20VMs%20in%20an%20Availability%20Set%2C%20they%20will%20end%20up%20in%20different%20UDs%20and%20FDs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESee%20more%20details%20here.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1337091%22%20slang%3D%22en-US%22%3ERe%3A%20Availability%20Zone%20set%20up%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1337091%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3Bfor%20your%20reply.%20%26nbsp%3BMy%20understanding%20was%20that%20Azure%20would%20automatically%20create%20two%20VM's%20if%20you%20wanted%20them%20to%20be%20deploy%20in%20two%20zones%20or%20a%20set.%20Now%20that%20you%20explained%20it%2C%20choosing%201%2C%202%20or%203%20availability%20zones%20simply%20means%20that%20my%20VM%20will%20only%20be%20in%20one%20specified%20zone%20I%20choose.%20As%20a%20beginner%2C%20now%20it%20makes%20sense%20to%20me%20that%20you%20will%20always%20have%20to%20create%20multiple%20VM's%26nbsp%3B%20if%20you%20want%20them%20paired%20in%20an%20availability%20set%20or%20an%20availability%20zone.%20If%20you%20create%20one%20VM%20and%20you%20want%20them%20in%20a%20single%20availability%20set%2C%20you%20have%20to%20create%20to%20VM's.%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello Everyone,

I would like to know how are VM are replicated in an availability zone.  For example if I create one VM and choose the option of availability zone in two different zones, In each zone, will there be only one machine setup on a server or will it be setup in an availability set?  What my understanding is that if I choose two availability sets, the machine will be running on two separate racks with their own FD and UD. If my machine is in two different zones, it will be only one instance of each machine running on one server in each zone. If those particular fault domain on which my machine is running, go down at the same time, I will loose my machine.  If this is the case, shouldn't there be an option of creating an availability set first and then deploy them in different availability zones?

 

Thanks

 

 

2 Replies
Best Response confirmed by hspinto (Microsoft)
Solution

@muhammedkhan 

 

When you deploy a VM in an Availability Zone, you are deploying it to a single AZ. When you chose 1, 2 or 3, you are just picking one of the AZs in the specified region. Each region has normally AZ 1, AZ 2 and AZ 3. If you want high-availability, you need to deploy more than one VM, in multiple AZs. For example, deploy VM1 in AZ 1 and VM2 in AZ 2. Each AZ corresponds to a distinct UD/FD.

 

Availability Sets are used when you want regional high availability (instead of zonal). In this case, when adding multiple VMs in an Availability Set, they will end up in different UDs and FDs.

 

See more details here.

Thanks for your reply.  My understanding was that Azure would automatically create two VM's if you wanted them to be deploy in two zones or a set. Now that you explained it, choosing 1, 2 or 3 availability zones simply means that my VM will only be in one specified zone I choose. As a beginner, now it makes sense to me that you will always have to create multiple VM's  if you want them paired in an availability set or an availability zone. If you create one VM and you want them in a single availability set, you have to create to VM's.@hspinto