Skip to content

Commit 5780167

Browse files
docs: update README and QuotaCheck documentation with supported Azure regions and deployment details; refine region descriptions in main.bicep and main.json; adjust default regions in quota_check_params.sh
1 parent baf6c6d commit 5780167

File tree

5 files changed

+35
-16
lines changed

5 files changed

+35
-16
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: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gpt4.1:30, text-embedding-ada-002:30
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.
@@ -41,17 +41,17 @@ francecentral, australiaeast, uksouth, eastus2, northcentralus, swedencentral, w
4141
./quota_check_params.sh --models gpt4.1:30,text-embedding-ada-002:30
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:30 --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:30,text-embedding-ada-002:30 --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": "5895320887545019006"
9+
"templateHash": "8315389814354571577"
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": {

scripts/quota_check_params.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)