Skip to content

Commit 4a2a12e

Browse files
docs: Azure Region Restrictions, Model Capacity Enhancements, and Documentation Alignment (#1928)
1 parent 28e0a1e commit 4a2a12e

File tree

7 files changed

+42
-23
lines changed

7 files changed

+42
-23
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,23 @@ locations support this version. If you're deploying to a location that doesn't s
205205
switch to a lower version. To find out which versions are supported in different regions, visit the
206206
[GPT-4.1 Model Availability](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models?tabs=global-standard%2Cstandard-chat-completions#global-standard-model-availability) page.
207207

208+
209+
### Supported Azure Regions
210+
211+
The solution has been tested and is compatible with the following Azure regions:
212+
- **Australia East**
213+
- **East US 2**
214+
- **Japan East**
215+
- **UK South**
216+
217+
These regions are specifically configured in the deployment template to guarantee compatibility with paired regions and data redundancy. This restriction ensures reliable failover scenarios based on Azure's region availability and the requirements of services like Azure Database for PostgreSQL Flexible Server.
218+
219+
When deploying the solution using the "Deploy to Azure" button, you'll see two fields in the Azure portal:
220+
- **Region**: This refers to the Azure region where the deployment metadata is stored
221+
- **Location**: This corresponds to the "location" parameter in the bicep template and determines where all your solution resources will be deployed
222+
223+
**Important**: For this solution, you must select one of the supported regions listed above in the "Location" field. The "Region" field can be set to any available region since it only affects deployment metadata storage.
224+
208225
### Testing the deployment
209226
1. Navigate to the admin site, where you can upload documents. It will be located at:
210227

docs/QuotaCheck.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ azd auth login
1212

1313
### 📌 Default Models & Capacities:
1414
```
15-
gpt4.1:30, text-embedding-ada-002:30
15+
gpt4.1:150, text-embedding-ada-002:100
1616
```
1717
### 📌 Default Regions:
1818
```
19-
francecentral, australiaeast, uksouth, eastus2, northcentralus, swedencentral, westus, westus2, southcentralus
19+
australiaeast, eastus2, japaneast, uksouth
2020
```
2121
### Usage Scenarios:
2222
- No parameters passed → Default models and capacities will be checked in default regions.
@@ -38,20 +38,20 @@ francecentral, australiaeast, uksouth, eastus2, northcentralus, swedencentral, w
3838
```
3939
✔️ Check specific model(s) in default regions:
4040
```
41-
./quota_check_params.sh --models gpt4.1:30,text-embedding-ada-002:30
41+
./quota_check_params.sh --models gpt4.1:150,text-embedding-ada-002:100
4242
```
4343
✔️ Check default models in specific region(s):
44-
```
45-
./quota_check_params.sh --regions eastus2,westus
46-
```
47-
✔️ Passing Both models and regions:
48-
```
49-
./quota_check_params.sh --models gpt4.1:30 --regions eastus2,westus
50-
```
44+
```
45+
./quota_check_params.sh --regions eastus2,japaneast
46+
```
47+
✔️ Passing both models and regions:
48+
```
49+
./quota_check_params.sh --models gpt4.1:150 --regions eastus2,japaneast
50+
```
5151
✔️ All parameters combined:
52-
```
53-
./quota_check_params.sh --models gpt4.1:30,text-embedding-ada-002:30 --regions eastus2,westus --verbose
54-
```
52+
```
53+
./quota_check_params.sh --models gpt4.1:150,text-embedding-ada-002:100 --regions eastus2,japaneast --verbose
54+
```
5555

5656
### **Sample Output**
5757
The final table lists regions with available quota. You can select any of these regions for deployment.
@@ -99,3 +99,5 @@ The final table lists regions with available quota. You can select any of these
9999
az login
100100
```
101101
6. Rerun the script after installing Azure CLI.
102+
103+
> **Note:** The solution is restricted to these specific regions to ensure compatibility with paired regions and data redundancy requirements: australiaeast, eastus2, japaneast, uksouth.

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ param solutionUniqueText string = take(uniqueString(subscription().id, resourceG
1616
'uksouth'
1717
])
1818
@metadata({ azd: { type: 'location' } })
19-
@description('Required. Azure region for all services. Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Azure Database for MySQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/mysql/flexible-server/overview#azure-regions).')
19+
@description('Required. Azure region for all services. Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Azure Database for PostgreSQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/postgresql/flexible-server/overview#azure-regions). Note: In the "Deploy to Azure" interface, you will see both "Region" and "Location" fields - "Region" is only for deployment metadata while "Location" (this parameter) determines where your actual resources are deployed.')
2020
param location string
2121

2222
@description('Optional. Existing Log Analytics Workspace Resource ID.')

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.37.4.10188",
9-
"templateHash": "9518149285531278918"
9+
"templateHash": "5346639491059147931"
1010
}
1111
},
1212
"parameters": {
@@ -39,7 +39,7 @@
3939
"azd": {
4040
"type": "location"
4141
},
42-
"description": "Required. Azure region for all services. Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Azure Database for MySQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/mysql/flexible-server/overview#azure-regions)."
42+
"description": "Required. Azure region for all services. Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Azure Database for PostgreSQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/postgresql/flexible-server/overview#azure-regions). Note: In the \"Deploy to Azure\" interface, you will see both \"Region\" and \"Location\" fields - \"Region\" is only for deployment metadata while \"Location\" (this parameter) determines where your actual resources are deployed."
4343
}
4444
},
4545
"existingLogAnalyticsWorkspaceId": {

infra/main.parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"value": "${AZURE_OPENAI_MODEL_VERSION=2025-04-14}"
113113
},
114114
"azureOpenAIModelCapacity": {
115-
"value": "${AZURE_OPENAI_MODEL_CAPACITY=30}"
115+
"value": "${AZURE_OPENAI_MODEL_CAPACITY=150}"
116116
},
117117
"azureOpenAISkuName": {
118118
"value": "${AZURE_OPENAI_SKU_NAME=S0}"
@@ -148,7 +148,7 @@
148148
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_VERSION=2}"
149149
},
150150
"azureOpenAIEmbeddingModelCapacity": {
151-
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY=30}"
151+
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY=100}"
152152
},
153153
"azureOpenAIMaxTokens": {
154154
"value": "${AZURE_OPENAI_MAX_TOKENS=1000}"

infra/main.waf.parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"value": "${AZURE_OPENAI_MODEL_VERSION=2025-04-14}"
113113
},
114114
"azureOpenAIModelCapacity": {
115-
"value": "${AZURE_OPENAI_MODEL_CAPACITY=30}"
115+
"value": "${AZURE_OPENAI_MODEL_CAPACITY=150}"
116116
},
117117
"azureOpenAISkuName": {
118118
"value": "${AZURE_OPENAI_SKU_NAME=S0}"
@@ -148,7 +148,7 @@
148148
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_VERSION=2}"
149149
},
150150
"azureOpenAIEmbeddingModelCapacity": {
151-
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY=30}"
151+
"value": "${AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY=100}"
152152
},
153153
"azureOpenAIMaxTokens": {
154154
"value": "${AZURE_OPENAI_MAX_TOKENS=1000}"

scripts/quota_check_params.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ log_verbose() {
4747
}
4848

4949
# Default Models and Capacities (Comma-separated in "model:capacity" format)
50-
DEFAULT_MODEL_CAPACITY="gpt4.1:30,text-embedding-ada-002:30"
50+
DEFAULT_MODEL_CAPACITY="gpt4.1:150,text-embedding-ada-002:100"
5151

5252
# Convert the comma-separated string into an array
5353
IFS=',' read -r -a MODEL_CAPACITY_PAIRS <<< "$DEFAULT_MODEL_CAPACITY"
@@ -93,7 +93,7 @@ az account set --subscription "$AZURE_SUBSCRIPTION_ID"
9393
echo "🎯 Active Subscription: $(az account show --query '[name, id]' --output tsv)"
9494

9595
# Default Regions to check (Comma-separated, now configurable)
96-
DEFAULT_REGIONS="francecentral,australiaeast,uksouth,eastus2,northcentralus,swedencentral,westus,westus2,southcentralus"
96+
DEFAULT_REGIONS="australiaeast,eastus2,japaneast,uksouth"
9797
IFS=',' read -r -a DEFAULT_REGION_ARRAY <<< "$DEFAULT_REGIONS"
9898

9999
# Read parameters (if any)
@@ -166,7 +166,7 @@ for REGION in "${REGIONS[@]}"; do
166166
INSUFFICIENT_QUOTA=false
167167

168168
MODEL_TYPES=("openai.standard.$MODEL_NAME" "openai.globalstandard.$MODEL_NAME")
169-
169+
170170
for MODEL_TYPE in "${MODEL_TYPES[@]}"; do
171171
FOUND=false
172172
INSUFFICIENT_QUOTA=false

0 commit comments

Comments
 (0)