You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> All major cloud providers occasionally face regional or zone capacity limits for compute and storage due to demand surges, supply chain issues, or quota exhaustion. The Stamps Pattern’s modular, zone-aware, and multi-region CELL design gives you more options to mitigate these challenges: if a region or AZ is at capacity, you can deploy new CELLs in available locations with minimal disruption, maintaining business continuity and agility even in constrained environments.
9
+
5
10
This repository provides a production-grade, CAF/WAF-compliant Azure reference implementation for organizations seeking secure, scalable, and automated SaaS solutions. Designed for both IT leaders and developers, it enables rapid onboarding, compliance, and operational excellence.
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE_GUIDE.md
+37-14Lines changed: 37 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,34 +49,51 @@
49
49
50
50
## 🏗️ Architecture Overview
51
51
52
-
This solution implements a sophisticated **GEO → Region → CELL** hierarchy using Azure's stamps pattern for maximum scalability, isolation, and global distribution.
53
52
54
-
### 🌍 **Visual: Global Architecture Hierarchy**
53
+
This solution implements a sophisticated **GEO → Region → Availability Zone → CELL** hierarchy using Azure's stamps pattern for maximum scalability, isolation, and global distribution. Availability Zones (AZs) are a critical layer for high availability (HA) and disaster recovery (DR), allowing each CELL to be deployed in 0, 1, 2, or 3 zones depending on business and SLA requirements.
> All major cloud providers occasionally face regional or zone capacity limits for compute and storage resources, due to demand surges, supply chain disruptions, or quota exhaustion. The Stamps Pattern architecture is designed to address this reality: its modular, zone-aware, and multi-region CELL approach enables organizations to deploy new workloads or scale existing ones in any available region or zone, minimizing business disruption. If a preferred region or AZ is at capacity, new CELLs can be provisioned elsewhere with minimal reconfiguration, ensuring business continuity and operational agility even in constrained environments.
58
+
59
+
### 🌍 **Visual: Global Architecture Hierarchy with Availability Zones**
55
60
56
61
```mermaid
57
62
graph TB
58
-
subgraph "� Global Layer"
63
+
subgraph "🌐 Global Layer"
59
64
FD[Azure Front Door<br/>Global Load Balancing]
60
65
TM[Traffic Manager<br/>DNS-based Routing]
61
66
GF[Global Functions<br/>Tenant Management]
62
67
end
63
68
64
-
subgraph "🌎 GEO: North America"
69
+
subgraph "� GEO: North America"
65
70
subgraph "🏢 Region: East US"
66
-
AG1[App Gateway<br/>Regional Security]
67
-
C1[CELL-001<br/>Shared: 50 tenants]
68
-
C2[CELL-002<br/>Dedicated: 1 tenant]
71
+
subgraph "🗂️ AZ 1"
72
+
AG1[App Gateway<br/>Zone-Redundant]
73
+
C1[CELL-001<br/>Shared: 50 tenants]
74
+
C2[CELL-002<br/>Dedicated: 1 tenant]
75
+
end
76
+
subgraph "🗂️ AZ 2"
77
+
C3[CELL-003<br/>Shared: 30 tenants]
78
+
end
69
79
end
70
80
subgraph "🏢 Region: West US"
71
-
AG2[App Gateway<br/>Regional Security]
72
-
C3[CELL-003<br/>Shared: 75 tenants]
81
+
subgraph "🗂️ AZ 1"
82
+
AG2[App Gateway<br/>Zone-Redundant]
83
+
C4[CELL-004<br/>Shared: 75 tenants]
84
+
end
85
+
subgraph "🗂️ AZ 2"
86
+
C5[CELL-005<br/>Dedicated: 1 tenant]
87
+
end
73
88
end
74
89
end
75
90
76
91
subgraph "🌍 GEO: Europe"
77
92
subgraph "🏢 Region: West Europe"
78
-
AG3[App Gateway<br/>Regional Security]
79
-
C4[CELL-004<br/>Enterprise GDPR]
93
+
subgraph "🗂️ AZ 1"
94
+
AG3[App Gateway<br/>Zone-Redundant]
95
+
C6[CELL-006<br/>Enterprise GDPR]
96
+
end
80
97
end
81
98
end
82
99
@@ -86,8 +103,9 @@ graph TB
86
103
87
104
AG1 --> C1
88
105
AG1 --> C2
89
-
AG2 --> C3
90
-
AG3 --> C4
106
+
AG2 --> C4
107
+
AG2 --> C5
108
+
AG3 --> C6
91
109
```
92
110
93
111
### �🎯 **Key Design Principles (Explained)**
@@ -289,7 +307,12 @@ graph TD
289
307
-**Response**: Traffic Manager routes to backup region
290
308
-**Recovery**: Geo-disaster recovery procedures
291
309
292
-
This solution implements a sophisticated **GEO → Region → CELL** hierarchy using Azure's stamps pattern for maximum scalability, isolation, and global distribution.
310
+
311
+
**Why Availability Zones Matter:**
312
+
-**High Availability (HA):** Deploying CELLs across multiple AZs protects against datacenter failures.
313
+
-**Disaster Recovery (DR):** AZs enable rapid failover and business continuity.
314
+
-**Flexible Cost/SLA:** You can choose the number of AZs per CELL to balance cost and durability for each tenant or workload.
315
+
293
316
294
317
### 🌍 **Hierarchical Structure with Availability Zones**
-[Naming Conventions](./NAMING_CONVENTIONS.md) — see for full details on the **GEO → Region → Availability Zone → CELL** hierarchy and zone-aware naming/tagging
### **Why Availability Zones Matter in the Stamps Pattern**
963
+
-**High Availability (HA):** Deploying CELLs across multiple AZs protects against datacenter failures and supports strict SLA targets.
964
+
-**Disaster Recovery (DR):** AZs enable rapid failover and business continuity for each CELL.
965
+
-**Flexible Cost/SLA:** You can choose the number of AZs per CELL to balance cost and durability for each tenant or workload, supporting both enterprise and cost-sensitive scenarios.
Copy file name to clipboardExpand all lines: docs/COST_OPTIMIZATION_GUIDE.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,44 @@ Cost optimization in the Azure Stamps Pattern requires understanding the **total
57
57
58
58
---
59
59
60
+
61
+
## 🏗️ Zone Flexibility: Cost, Durability, and SLA Options
62
+
63
+
The Azure Stamps Pattern is built on a four-tier hierarchy: **GEO → Region → Availability Zone → CELL**. This enables highly flexible deployment options for each CELL, allowing you to optimize for cost, durability, and business requirements at a granular level.
64
+
65
+
-**No Zones (z0):** No zone redundancy. Lowest cost, suitable for dev/test or non-critical workloads. Standard durability and SLA.
66
+
-**1 Zone (z1):** Single zone deployment, standard SLA, moderate cost.
67
+
-**2 Zones (z2):** High availability with failover across two AZs, 99.95% SLA, increased cost (+20%).
68
+
-**3 Zones (z3):** Maximum durability and resilience with three AZs, 99.99% SLA, highest cost (+40%).
69
+
70
+
**Key Points:**
71
+
- You can mix and match zone configurations per CELL to right-size cost, durability, and SLA for every tenant or workload.
72
+
- Zone-aware naming and tagging (e.g., `ca-shared-smb-z3-eus-prod`) help track and manage these options and support compliance/auditing.
73
+
- Higher zone count increases cost but provides stronger SLAs, disaster recovery, and business continuity.
74
+
75
+
76
+
**Why Availability Zones Matter:**
77
+
-**High Availability (HA):** Deploying CELLs across multiple AZs protects against datacenter failures and supports strict SLA targets.
78
+
-**Disaster Recovery (DR):** AZs enable rapid failover and business continuity for each CELL.
79
+
-**Flexible Cost/SLA:** Choose the number of AZs per CELL to balance cost and durability for each tenant or workload, supporting both enterprise and cost-sensitive scenarios.
> Cloud providers sometimes face regional or zone capacity limits for compute and storage due to demand spikes, supply chain issues, or quota exhaustion. The Stamps Pattern’s modular, zone-aware, and multi-region CELL design gives you more options to mitigate these challenges: if a region or AZ is at capacity, you can deploy new CELLs in available locations with minimal disruption, maintaining business continuity and agility even in constrained environments.
84
+
85
+
**Example Table:**
86
+
87
+
| Zone Config | Use Case | SLA Target | Cost Impact |
**Tip:** For cost-sensitive tenants, start with z0/z1. For enterprise or regulated tenants, use z2/z3 for higher durability and compliance.
95
+
96
+
This flexibility is a core advantage of the Stamps Pattern—enabling you to right-size cost and resilience for every business scenario.
97
+
60
98
## 📊 Deployment Cost Analysis
61
99
62
100
Understanding the cost implications of different deployment scenarios is crucial for making informed architectural decisions. The following analysis compares various deployment patterns across different scales and tenancy models.
-**Example**: Netflix uses a similar pattern to serve different regions with identical infrastructure
56
56
57
-
### **GEO → Region → CELL Hierarchy**
58
-
The three-tier architecture structure of the Stamps Pattern:
57
+
58
+
### **GEO → Region → Availability Zone → CELL Hierarchy**
59
+
The four-tier architecture structure of the Stamps Pattern:
59
60
-**GEO**: Geographic area (e.g., North America, Europe) - highest level routing
60
61
-**Region**: Azure region within a GEO (e.g., East US, West Europe) - regional services
61
-
-**CELL**: Individual application instance within a region - tenant hosting
62
+
-**Availability Zone (AZ)**: Physically separate datacenters within a region, providing high availability and fault tolerance. Each CELL can be deployed in 0, 1, 2, or 3 zones depending on business and SLA requirements.
63
+
-**CELL**: Individual application instance within a zone - tenant hosting and logical isolation
Copy file name to clipboardExpand all lines: docs/NAMING_CONVENTIONS.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@
51
51
52
52
This guide defines the standardized naming conventions for the Azure Stamps Pattern implementation to ensure consistency, clarity, and Azure best practices compliance.
53
53
54
-
> **📝 Recent Updates**: This guide was enhanced to address naming consistency issues, particularly ensuring resource groups include Azure region abbreviations and storage accounts stay within the 24-character limit. All deployment scripts and templates have been updated to follow these standards.
54
+
> **📝 Recent Updates**: This guide now reflects the four-tier hierarchy: **GEO → Region → Availability Zone → CELL**. All CELL-level resources should include zone information in their names and tags to support high availability (HA), disaster recovery (DR), and cost/SLA flexibility.
55
55
56
56
## 🌍 **Resource Group Naming**
57
57
@@ -115,10 +115,10 @@ This guide defines the standardized naming conventions for the Azure Stamps Patt
115
115
```
116
116
117
117
**Zone Count Convention**:
118
-
-`z0`: Single zone (development/testing)
118
+
-`z0`: No zone (development/testing, lowest cost)
119
119
-`z1`: Single zone deployment (standard)
120
-
-`z2`: Two-zone deployment (99.95% SLA)
121
-
-`z3`: Three-zone deployment (99.99% SLA)
120
+
-`z2`: Two-zone deployment (99.95% SLA, HA)
121
+
-`z3`: Three-zone deployment (99.99% SLA, maximum resilience)
122
122
123
123
### **Data Resources**
124
124
```bicep
@@ -192,8 +192,11 @@ This guide defines the standardized naming conventions for the Azure Stamps Patt
192
192
// Example: acruseusprod
193
193
```
194
194
195
+
195
196
## 🔄 **Zone-Aware Naming Considerations**
196
197
198
+
### **Hierarchy:** GEO → Region → Availability Zone → CELL
199
+
197
200
### **When to Include Zone Information**
198
201
- ✅ **CELL Resources**: All CELL-level resources should include zone count (ca-, sqldb-, cosmos-)
199
202
- ✅ **Application Services**: Container Apps, Function Apps that are CELL-specific
@@ -204,11 +207,16 @@ This guide defines the standardized naming conventions for the Azure Stamps Patt
204
207
### **Zone Count Mapping**
205
208
| Zone Config | Naming | Use Case | SLA | Cost Impact |
0 commit comments