liveBook · Manning

Zonal redundancy

As explained in Microsoft Azure in Action

isZoneRedundant is a Boolean configuration parameter specifying whether data in a region is replicated across multiple availability zones.

Zonal redundancy replicates data across multiple availability zones within one region. It protects a Cosmos DB deployment when an entire zone becomes unavailable, keeping data accessible instead of placing all resilience eggs in one zone. section 11.1.2 section 11.4.2

Choose zonal redundancy by weighing local resilience against cost and regional coverage:

  • Enable it with isZoneRedundant=True for each configured region when protection from zone-level failures matters. section 11.4.2
  • Pair it with multi-region replication when the application also needs protection from regional failures and globally distributed access. section 11.1.2 section 11.4.2
  • Accept higher storage and replication costs, and question the value in regions with fewer availability zones or existing regional redundancy. section 11.1.2

A resilient Cosmos DB configuration

A Cosmos DB account can assign Australia Central failover priority 0 and East US priority 1, then set isZoneRedundant=True in both regions. Each region distributes its replicas across availability zones, while failover priority selects the next region if the primary fails. section 11.4.2

C:/> az cosmosdb update --name alpacacosmosdbaccount 
--resource-group AlpacaRG --locations regionName=australiacentral 
failoverPriority=0 isZoneRedundant=True regionName=eastus 
failoverPriority=1 isZoneRedundant=True

Inspect the Azure CLI listing that enables zonal redundancy in both Australia Central and East US. section 11.4.2

How Microsoft Azure in Action covers it

How deep it goes
Defines the Boolean setting, explains zone-level protection and trade-offs, and demonstrates Azure CLI configuration without covering replication internals.
Examples
Shows Cosmos DB CLI commands using isZoneRedundant=False or True for Australia Central, East US, Australia East, and West Europe.
What it assumes
Assumes a Cosmos DB account and basic regional deployment concepts while defining the zone-replication setting from zero.
What you can do after
Operate/configure Cosmos DB zone redundancy and evaluate its resilience, regional coverage, and replication-cost trade-offs.
How it connects
Connects zonal redundancy with availability zones, multi-region replication, automatic failover, failover priority, and high availability.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.