Azure : Availability Patterns for IaaS – Can I do multiple regions?

Introduction

There are several questions that I’m often posed that relate to availability on Azure. In today’s post, we’ll take a look at the different availability patterns. Here I hope this will answer a big portion of the questions you might have about availability on Azure. The main intake for this post will relate to the “IaaS” chunk of Azure services. Concepts like Azure SQL, Webapps, etc may have a totally different approach. But then again, you are not responsible for designing (and thus do not need to worry about) the availability aspect of these services.

Availability Basics when using Azure

When you are unfamiliar with the basic concept of availability, there are several key elements to remember ;

  • Microsoft will only grant an SLA when using multiple machines (who fulfil the same functionality) reside in a joint availability set.
  • An availability set will provide several fault & update domains.
  • An update domain will ensure that systems who reside in another update domain are not touched during an update cycle.
  • A fault domain will ensure that the systems are fault redundant on hardware level.

Want to know more? I can recommend one of our previous cloud chats…

Where the Azure documentation is also a good place to get your info… 😉

 

Availability Pattern : Single Region

Let’s delve into availability on a single region… Imagine an availability set with 5 update domains & 3 fault domains. This means that your systems are spread across three “racks” and there will be a sequence of five “update groups”.

azure-availability-pattern-single-regionIn case that we would deploy two systems, they will not be updated at the same time and they will not share the same physical resources.

 

Availability Pattern : Multi Region

Now let’s imagine the following scenario… We have two regions, where we have deployed an availability set with one system. Strangely enough, we’ll have the same availability as with the previous pattern! Why? Because the “region pairs” also incorporate that updates are not executed at the same time…

“When executing maintenance, Azure will only update the Virtual Machine instances in a single region of its pair. For example, when updating the Virtual Machines in North Central US, Azure will not update any Virtual Machines in South Central US at the same time. This will be scheduled at a separate time, enabling failover or load balancing between regions. However, other regions such as North Europe can be under maintenance at the same time as East US.”

azure-availability-pattern-multi-regionSo we got the “update domain” aspect covered… The systems will not be updated at the same time. So one will always be kept online, as long as you respect the region pairs. Now when looking towards the “fault domain”… We can be quite brief about this one, when in a different zone, you can be 110% sure that the systems will not share the same physical hardware. 😉

So from a pragmatic approach, you will receive the same availability as you would have with the previous pattern. Though… (!) you will NOT get an SLA from Microsoft on the matter. For this the systems will need to be in one Availability Set, and this is something that cannot be spread across regions. 😦

“For all Internet facing Virtual Machines that have two or more instances deployed in the same Availability Set, we guarantee you will have external connectivity at least 99.95% of the time.”

 

TL;DR

  • An SLA of 99,95 is only possible when using availability sets
  • You can create a similiar setup across regions
  • The multi region pattern will not benefit from the SLA

 

Advertisements

2 thoughts on “Azure : Availability Patterns for IaaS – Can I do multiple regions?

  1. hello I have two virtual network in different different region, which are connect each other via VN to VN connectivity . I want to create two virtual machines across two virtual networks , keep them to in a same availability set. Is it possible

    1. An Availability Set is limited to a Region. The more granular for is an Availability Zone (since 09/2017). Where the link over two regions is typically done via Traffic Manager.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s