Regions and zones
A region is several separate buildings, so that one can fail
A region holds three or more availability zones, each with its own power, cooling and network.
Start with the physical side of Azure. The smallest unit is a datacentre: a building full of servers. One or more datacentres with their own power, cooling and network make an availability zone. A region is the zones of one area, joined by a fast private network. A region that has zones has at least three. So if you put a copy of your application in each zone and one zone goes dark, the other two carry on.
Regions and zones · Going deeper
How services use zones
Zonal services are pinned to a zone. Zone-redundant services are spread for you.
Region pairs
Each region has a distant partner in the same geography
A region pair is two regions at least 300 miles apart where possible, in one geography.
Zones protect you from losing a building. What about losing a whole region? Most regions are paired with another in the same geography. North Europe, in Ireland, is paired with West Europe, in the Netherlands. The two are at least three hundred miles apart where that is possible, so one flood or power failure cannot reach both. Some services, such as geo-redundant storage, copy your data to the pair. Azure also updates only one region of a pair at a time, and in a wide outage restores one of each pair first.
Region pairs · Going deeper
Sovereign regions, and choosing a region
Sovereign regions are isolated copies of Azure for a government or a country.
Check yourself
Both copies of an application are placed as shown. Which single failure stops the application?
The hierarchy
Resources sit in groups, groups in subscriptions
Resource, resource group, subscription, management group: each sits inside exactly one of the next.
Now the logical side: how Azure organises what you own. At the bottom are resources: a virtual machine, a disk, a database. Each resource is in exactly one resource group, a folder for things that are created and deleted together. Each resource group is in one subscription, which is what you are billed for and where access begins. Above subscriptions come management groups, with a single root at the top, so that one rule can cover many subscriptions.
The hierarchy · Going deeper
What to know about each level
Groups cannot be nested. Deleting a group deletes its resources. A subscription is a billing boundary.
Inheritance
A setting flows down the tree, never sideways
A policy, role or lock set at one level is inherited by everything beneath it.
The tree matters because of one behaviour. Here a policy is assigned once, to the Production management group. It reaches both subscriptions under it, every resource group, and every resource. Nothing in Non-production is touched. A role given on one resource group reaches only the resources in that group. The level at which you apply something is called its scope.
Inheritance · Going deeper
Choosing the scope
There are four scopes. Assign as high as the rule applies, and no higher.
Check yourself
A resource lock is placed on the subscription marked with a star. How many of the resources shown does it protect?
Two addresses
Where a resource runs and who owns it are separate questions
The region is where it runs. The resource group and subscription are who owns and pays.
Put the two halves together. Every resource has a physical address: a geography, a region and often a zone. That decides latency, the law it falls under and what failure it survives. It also has a logical address: a resource group, in a subscription, under a management group. That decides who may touch it, which rules apply and who gets the bill. The two are independent. Moving a resource to another group does not move it on the map.
Two addresses · Going deeper
Clue words for architecture
Zones answer a building failing, pairs a region failing, the tree who and whose bill.
Check yourself
The resource group shown is deleted. What happens to the three resources?
Lesson complete
You finished “Regions, zones and the Azure resource hierarchy”
Answer the questions along the way to see your score here.