Skip to content

Commit caf4be8

Browse files
updated deployment.md file with waf deployment steps.
1 parent f711994 commit caf4be8

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

content-gen/docs/DEPLOYMENT.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,32 @@ Depending on your subscription quota and capacity, you can adjust quota settings
161161

162162
</details>
163163

164+
### Deployment Options
165+
166+
The [`infra`](../infra) folder of the Content Generation Solution Accelerator contains the [`main.bicep`](../infra/main.bicep) Bicep script, which defines all Azure infrastructure components for this solution.
167+
168+
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**.
169+
170+
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 can be used for Production scenarios.
171+
172+
**How to choose your deployment configuration:**
173+
174+
* **To use sandbox/dev environment** — Use the default `main.parameters.json` file.
175+
176+
* **To use production configuration:**
177+
178+
Before running `azd up`, copy the contents from the production configuration file to your main parameters file:
179+
180+
1. Navigate to the `infra` folder in your project.
181+
2. Open `main.waf.parameters.json` in a text editor (like Notepad, VS Code, etc.).
182+
3. Select all content (Ctrl+A) and copy it (Ctrl+C).
183+
4. Open `main.parameters.json` in the same text editor.
184+
5. Select all existing content (Ctrl+A) and paste the copied content (Ctrl+V).
185+
6. Save the file (Ctrl+S).
186+
164187
### Deploying with AZD
165188

166-
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following the steps in the [AZD Deployment Guide](AZD_DEPLOYMENT.md)
189+
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following the steps in the [AZD Deployment Guide](AZD_DEPLOYMENT.md).
167190
168191
## Post Deployment Steps
169192

0 commit comments

Comments
 (0)