Azure VM in availability Zone

MyAzQuery 171 Reputation points
2022-10-16T15:58:04.903+00:00

I have read that when we create azure VMs in availability zone, it gives zone redundancy.

(Lets take for west europe)
Now at the time of creating Azure VM, when i select the option for Availability Zone Redundancy and select Zone 1 , does it automatically create redundancy.

Should i not manually create another Azure VM in Zone 2 again to build the redundancy ?

So my question is do i not need to build another Azure VM in another zone to build zone redundancy or does azure automatically take care of it ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Andreas Baumgarten 129.4K Reputation points MVP Volunteer Moderator
    2022-10-20T04:48:05.657+00:00

    Hi @MyAzQuery ,

    an Azure Virtual Network (including the related subnets) are spanning all Availability Zones in an Azure region.
    Means your VMs in different Availiability Zones could be connected to the vNet RG_VM-vnet subnet default.

    Please take a look here:
    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview#virtual-networks-and-availability-zones

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    3 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Andreas Baumgarten 129.4K Reputation points MVP Volunteer Moderator
    2022-10-16T16:12:29.35+00:00

    Hi @MyAzQuery ,

    to build the redudancy using Availabilty Zones you need to deploy at least 2 VMs, one in each Availabilty Zone (for instance 1 and 2).
    One VM in one Availabilty Zones doesn't offer any redundancy.
    https://learn.microsoft.com/en-us/azure/virtual-machines/availability

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    2 people found this answer helpful.

  2. Andreas Baumgarten 129.4K Reputation points MVP Volunteer Moderator
    2022-10-17T19:39:53.083+00:00

    Hi @MyAzQuery ,

    each VM will have its own Private IP address.

    To reach both VMs (for instance 2 web servers) with one Private IP you need a private Load Balancer with one private IP in the frontend and both VMs with private IP in the backend configuration:
    https://learn.microsoft.com/en-us/azure/virtual-machines/availability#load-balancer
    https://learn.microsoft.com/en-us/azure/load-balancer/components#frontend-ip-configurations

    If you have two DCs in an Availaibilty Zone you don't need a Load Balancer. Both VMs will be added to DNS with the individual private IPs.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


  3. Andreas Baumgarten 129.4K Reputation points MVP Volunteer Moderator
    2022-10-18T20:00:40.443+00:00

    Hi @MyAzQuery ,

    You don't need a Public IP for a VM using an Availability Zone config / A Public IP is not required for a VM in an Availiablity Zone. Just expand the Public IP list and select none

    251648-image.png

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.