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
Copy file name to clipboardExpand all lines: docs/CustomizingAzdParameters.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ By default this template will use the environment name as the prefix to prevent
14
14
|`AZURE_ENV_MODEL_NAME`| string |`gpt-4o`| Set the Model Name (allowed values: gpt-4o). |
15
15
|`AZURE_ENV_MODEL_VERSION`| string |`2024-08-06`| Set the Azure model version (allowed values: 2024-08-06) |
16
16
|`AZURE_ENV_MODEL_CAPACITY`| integer |`200`| Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). |
17
-
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string |`<Existing Workspace Id>`| Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
17
+
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string |Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)| Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
18
18
|`AZURE_ENV_IMAGETAG`| string |`latest`| Set the Image tag Like (allowed values: latest, dev, hotfix) |
19
19
|`AZURE_ENV_JUMPBOX_SIZE`| string |`Standard_DS2_v2`| Specifies the size of the Jumpbox Virtual Machine. Set a custom value if `enablePrivateNetworking` is `true`. |
20
20
|`AZURE_ENV_JUMPBOX_ADMIN_USERNAME`| string |`JumpboxAdminUser`| Specifies the administrator username for the Jumpbox Virtual Machine. |
@@ -39,4 +39,4 @@ azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '/subscriptions/<subscription-i
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+62-40Lines changed: 62 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,41 +29,8 @@ Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/g
29
29
30
30
➡️ To ensure sufficient quota is available in your subscription, please follow **[Quota check instructions guide](../docs/quota_check.md)** before you deploy the solution.
31
31
32
-
|[](https://codespaces.new/microsoft/Modernize-your-Code-Solution-Accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Modernize-your-Code-Solution-Accelerator)|
33
-
|---|---|
34
-
35
-
### **Configurable Deployment Settings**
36
-
37
-
When you start the deployment, most parameters will have **default values**, but you can update the following settings by following the steps [here](../docs/CustomizingAzdParameters.md):
|**Azure Region**| The region where resources will be created. | East US |
42
-
|**Resource Prefix**| Prefix for all resources created by this template. This prefix will be used to create unique names for all resources. The prefix must be unique within the resource group. | azdtemp |
43
-
|**Capacity**| Configure capacity for **gpt-4o**. | 200 |
44
-
|**Model Deployment Type**| Change the Model Deployment Type (allowed values: Standard, GlobalStandard). | GlobalStandard |
45
-
|**Model Name**| Set the Model Name (allowed values: gpt-4o). | gpt-4o |
46
-
|**Model Version**| Set the Azure model version (allowed values: 2024-08-06). | 2024-08-06 |
47
-
|**Image Tag**| Set the Image tag (allowed values: latest, dev, hotfix). | latest |
48
-
|**Existing Log analytics workspace**| To reuse the existing Log analytics workspace Id. |`<Existing Workspace Id>`|
49
-
|**Jumpbox Admin Username**| Specifies the administrator username for the Jumpbox Virtual Machine. |`JumpboxAdminUser`|
50
-
|**Jumpbox Admin Password**| Specifies the administrator password for the Jumpbox Virtual Machine. |`JumpboxAdminP@ssw0rd1234!`|
51
-
|**Cosmos DB Secondary Location**| Specifies the secondary region for Cosmos DB. Set this if redundancy (`enableRedundancy`) is enabled. |`<Secondary Region>`|
52
-
32
+
## Deployment Options & Steps
53
33
54
-
This accelerator can be configured to use authentication.
55
-
56
-
* To use authentication the installer must have the rights to create and register an application identity in their Azure environment.
57
-
After installation is complete, follow the directions in the [App Authentication](../docs/AddAuthentication.md) document to enable authentication.
58
-
* Note: If you enable authentication, all processing history and current processing will be performed for your specific user. Without authentication, all batch history from the tool will be visible to all users.
59
-
60
-
### [Optional] Quota Recommendations
61
-
By default, the **GPT model capacity** in deployment is set to **5k tokens**.
62
-
> **We recommend increasing the capacity to 200k tokens for optimal performance.**
63
-
64
-
To adjust quota settings, follow these [steps](../docs/AzureGPTQuotaSettings.md)
65
-
66
-
### Deployment Options & Steps
67
34
### Sandbox or WAF Aligned Deployment Options
68
35
69
36
The [`infra`](../infra) folder contains the [`main.bicep`](../infra/main.bicep) Bicep script, which defines all Azure infrastructure components for this solution.
@@ -86,12 +53,17 @@ When prompted during `azd up`:
86
53
87
54
- Select **`true`** to deploy a **WAF-aligned, production-ready environment**
88
55
- Select **`false`** to deploy a **lightweight sandbox/dev environment**
89
-
-
56
+
90
57
> [!TIP]
91
58
> Always review and adjust parameter values (such as region, capacity, security settings and log analytics workspace configuration) to match your organization’s requirements before deploying. For production, ensure you have sufficient quota and follow the principle of least privilege for all identities and role assignments.
92
59
60
+
### Deployment Steps
61
+
93
62
Pick from the options below to see step-by-step instructions for: GitHub Codespaces, VS Code Dev Containers, Local Environments, and Bicep deployments.
94
63
64
+
|[](https://codespaces.new/microsoft/Modernize-your-Code-Solution-Accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Modernize-your-Code-Solution-Accelerator)|
65
+
|---|---|
66
+
95
67
<details>
96
68
<summary><b>Deploy in GitHub Codespaces</b></summary>
97
69
@@ -104,7 +76,7 @@ You can run this solution using GitHub Codespaces. The button will open a web-ba
104
76
[](https://codespaces.new/microsoft/Modernize-your-Code-Solution-Accelerator)
105
77
2. Accept the default values on the create Codespaces page
106
78
3. Open a terminal window if it is not already open
107
-
4. Continue with the [deploying steps](#deploying)
79
+
4. Continue with the [deploying steps](#deploying-with-azd)
108
80
109
81
</details>
110
82
@@ -122,7 +94,7 @@ You can run this solution in VS Code Dev Containers, which will open the project
122
94
123
95
124
96
3. In the VS Code window that opens, once the project files show up (this may take several minutes), open a terminal window.
125
-
4. Continue with the [deploying steps](#deploying)
97
+
4. Continue with the [deploying steps](#deploying-with-azd)
126
98
127
99
</details>
128
100
@@ -148,11 +120,61 @@ If you're not using one of the above options for opening the project, then you'l
148
120
149
121
3. Open the project folder in your terminal or editor.
150
122
151
-
4. Continue with the [deploying steps](#deploying).
123
+
4. Continue with the [deploying steps](#deploying-with-azd).
152
124
153
125
</details>
154
126
155
-
### Deploying
127
+
<br/>
128
+
129
+
Consider the following settings during your deployment to modify specific settings:
When you start the deployment, most parameters will have **default values**, but you can update the following settings by following the steps [here](../docs/CustomizingAzdParameters.md):
|**Azure Region**| The region where resources will be created. | East US |
139
+
|**Resource Prefix**| Prefix for all resources created by this template. This prefix will be used to create unique names for all resources. The prefix must be unique within the resource group. | azdtemp |
|**Model Deployment Type**| Change the Model Deployment Type (allowed values: Standard, GlobalStandard). | GlobalStandard |
142
+
|**Model Name**| Set the Model Name (allowed values: gpt-4o). | gpt-4o |
143
+
|**Model Version**| Set the Azure model version (allowed values: 2024-08-06). | 2024-08-06 |
144
+
|**Image Tag**| Set the Image tag (allowed values: latest, dev, hotfix). | latest |
145
+
|**Existing Log analytics workspace**| To reuse the existing Log analytics workspace Id. |`<Existing Workspace Id>`|
146
+
|**Jumpbox Admin Username**| Specifies the administrator username for the Jumpbox Virtual Machine. |`JumpboxAdminUser`|
147
+
|**Jumpbox Admin Password**| Specifies the administrator password for the Jumpbox Virtual Machine. |`JumpboxAdminP@ssw0rd1234!`|
148
+
|**Cosmos DB Secondary Location**| Specifies the secondary region for Cosmos DB. Set this if redundancy (`enableRedundancy`) is enabled. |`<Secondary Region>`|
149
+
150
+
151
+
This accelerator can be configured to use authentication.
152
+
153
+
* To use authentication the installer must have the rights to create and register an application identity in their Azure environment.
154
+
After installation is complete, follow the directions in the [App Authentication](../docs/AddAuthentication.md) document to enable authentication.
155
+
* Note: If you enable authentication, all processing history and current processing will be performed for your specific user. Without authentication, all batch history from the tool will be visible to all users.
156
+
157
+
</details>
158
+
159
+
<details>
160
+
<Summary><b> Quota Recommendations </b></Summary>
161
+
162
+
By default, the **GPT model capacity**in deployment is set to **5k tokens**.
163
+
>**We recommend increasing the capacity to 200k tokens for optimal performance.**
164
+
165
+
To adjust quota settings, follow these [steps](../docs/AzureGPTQuotaSettings.md)
166
+
167
+
</details>
168
+
169
+
<details>
170
+
171
+
<summary><b>Reusing an Existing Log Analytics Workspace</b></summary>
172
+
173
+
Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)
174
+
175
+
</details>
176
+
177
+
### Deploying with AZD
156
178
157
179
Once you've opened the project in [Codespaces](#github-codespaces) or in [Dev Containers](#vs-code-dev-containers) or [locally](#local-environment), you can deploy it to Azure following the following steps.
158
180
@@ -182,7 +204,7 @@ To change the azd parameters from the default values, follow the steps [here](..
182
204
```shell
183
205
azd up
184
206
```
185
-
207
+
186
208
4. Select a subscription from your Azure account, and select a location which has quota for all the resources.
187
209
* This deployment will take *6-9 minutes* to provision the resources in your account and set up the solution with sample data.
188
210
* If you get an error or timeout with deployment, changing the location can help, as there may be availability constraints for the resources.
0 commit comments