Skip to content

Commit b6463fa

Browse files
Merge pull request #591 from microsoft/psl-wafstandardization
feat: Merging the AVM WAF changes into dev
2 parents 564228f + 9945264 commit b6463fa

35 files changed

+4581
-224
lines changed

.github/workflows/deploy-KMGeneric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
az deployment group create \
121121
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
122122
--template-file infra/main.bicep \
123-
--parameters solutionName=${{env.SOLUTION_PREFIX}} contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" imageTag=${{ steps.determine_tag.outputs.tagname }} gptDeploymentCapacity=150 aiDeploymentsLocation="${{ env.AZURE_LOCATION }}" createdBy="Pipeline" tags="{'SecurityControl':'Ignore'}"
123+
--parameters solutionName=${{env.SOLUTION_PREFIX}} contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" imageTag=${{ steps.determine_tag.outputs.tagname }} gptDeploymentCapacity=150 azureAiServiceLocation="${{ env.AZURE_LOCATION }}" createdBy="Pipeline" tags="{'SecurityControl':'Ignore'}"
124124
125125
126126

documents/DeploymentGuide.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,45 @@ This will allow the scripts to run for the current session without permanently c
3232

3333
## Deployment Options & Steps
3434

35+
### Sandbox or WAF Aligned Deployment Options
36+
37+
The [`infra`](../infra) folder of the Multi Agent Solution Accelerator contains the [`main.bicep`](../infra/main.bicep) Bicep script, which defines all Azure infrastructure components for this solution.
38+
39+
By default, the `azd up` command uses the [`main.parameters.json`](../infra/main.parameters.json) file to deploy the solution. This file is pre-configured for a **sandbox environment** — ideal for development and proof-of-concept scenarios, with minimal security and cost controls for rapid iteration.
40+
41+
For **production deployments**, the repository also provides [`main.waf.parameters.json`](../infra/main.waf.parameters.json), which applies a [Well-Architected Framework (WAF) aligned](https://learn.microsoft.com/en-us/azure/well-architected/) configuration. This option enables additional Azure best practices for reliability, security, cost optimization, operational excellence, and performance efficiency, such as:
42+
43+
- Enhanced network security (e.g., Network protection with private endpoints)
44+
- Stricter access controls and managed identities
45+
- Logging, monitoring, and diagnostics enabled by default
46+
- Resource tagging and cost management recommendations
47+
48+
**How to choose your deployment configuration:**
49+
50+
* Use the default `main.parameters.json` file for a **sandbox/dev environment**
51+
* For a **WAF-aligned, production-ready deployment**, copy the contents of `main.waf.parameters.json` into `main.parameters.json` before running `azd up`
52+
53+
---
54+
55+
### VM Credentials Configuration
56+
57+
By default, the solution sets the VM administrator username and password from environment variables.
58+
59+
To set your own VM credentials before deployment, use:
60+
61+
```sh
62+
azd env set AZURE_ENV_VM_ADMIN_USERNAME <your-username>
63+
azd env set AZURE_ENV_VM_ADMIN_PASSWORD <your-password>
64+
```
65+
66+
> [!TIP]
67+
> 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.
68+
69+
> [!IMPORTANT]
70+
> The WAF-aligned configuration is under active development. More Azure Well-Architected recommendations will be added in future updates.
71+
72+
### Deployment Steps
73+
3574
Pick from the options below to see step-by-step instructions for GitHub Codespaces, VS Code Dev Containers, Local Environments, and Bicep deployments.
3675

3776
| [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator) | [![Open in Dev Containers](https://img.shields.io/static/v1?style=for-the-badge&label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator) |

0 commit comments

Comments
 (0)