Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are Azure Resource Groups associated with a specific region?

I'm new to Azure architecture and am trying to understand why Azure Resource Groups, which are logical deployment buckets for applications built on Azure, are associated with a region when they are defined.

At first I thought it was to provide global distribution for disaster recovery or geographic redundancy, but then I realized that a single Resource Group can contain web apps in different regions, which can provide those features via Traffic Manager. I suppose that using separate Resource Groups would help better identify which resources are in which region, but other than for organizational purposes, I can't understand what the region definition for Resource Groups implies.

(edit: removed general advice query to be more focused)

like image 259
Josh Avatar asked Sep 04 '15 20:09

Josh


People also ask

Why does an Azure resource group have a region?

A resource group is just a logical container, and the resources in your resource group can belong to various locations. The answer is pretty straightforward: you may want to have specific locations because of user requirements or maybe that certain Azure resources are only available in certain regions.

Are Azure resource groups region specific?

Azure resource groups are specific to Azure regions. But resources in a resource group often span multiple regions. In a regional failure, control plane operations against a resource group fail in the affected region, but the resources in other regions in that resource group continue to operate.

Can a resource group have resources from different regions?

A: Yes. An Azure resource group can span multiple regions. The resource group is a way to manage the lifecycle of multiple resources that are part of a single unit, with the resources being able to span multiple regions. An example is virtual networks.

Does resource Group region matter?

"If the resources can have different locations than the resource group, why does the resource group location matter at all?" The resource group stores metadata about the resources. Therefore, when you specify a location for the resource group, you're specifying where that metadata is stored.


2 Answers

The main reason for specifying the location of a resource group is to specify a location for data/metadata for the deployment to be stored in... It also makes the API consistent (think of the paths in REST API calls) but the primary reason is storage during deployment.

The location of the resources in the group is independent/not related to the location of the group itself.

like image 63
bmoore-msft Avatar answered Oct 16 '22 15:10

bmoore-msft


When creating a resource group, you need to provide a location for that resource group. You may be wondering, "Why does a resource group need a location? And, if the resources can have different locations than the resource group, why does the resource group location matter at all?" The resource group stores metadata about the resources. Therefore, when you specify a location for the resource group, you are specifying where that metadata is stored. For compliance reasons, you may need to ensure that your data is stored in a particular region.

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-overview

like image 34
Leo Bastin Avatar answered Oct 16 '22 14:10

Leo Bastin