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/DeploymentGuide.md
+42-8Lines changed: 42 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This guide walks you through deploying the Multi Agent Custom Automation Engine
6
6
7
7
🆘 **Need Help?** If you encounter any issues during deployment, check our [Troubleshooting Guide](./TroubleShootingSteps.md) for solutions to common problems.
8
8
9
-
> **Note**: Some tenants may have additional security restrictions that run periodically and could impact the application (e.g., blocking public network access). If you experience issues or the application stops working, check if these restrictions are the cause. In such cases, consider deploying the WAF-supported version to ensure compliance. To configure, [Click here](#31-choose-deployment-type-optional).
9
+
> **Note**: Some tenants may have additional security restrictions that run periodically and could impact the application (e.g., blocking public network access). If you experience issues or the application stops working, check if these restrictions are the cause. In such cases, consider deploying the WAF-supported version (deployment flavor `avm-waf`) to ensure compliance. To configure, [Click here](#31-choose-deployment-type-optional).
10
10
11
11
## Step 1: Prerequisites & Setup
12
12
@@ -184,13 +184,16 @@ Review the configuration options below. You can customize any settings that meet
> **Note:** An intermediate option (`avm`) is also available — it uses AVM modules without WAF networking features. Set `DEPLOYMENT_FLAVOR` to `avm` for enterprise-grade modules without private endpoints.
196
+
194
197
**To use production configuration:**
195
198
196
199
**Prerequisite** — Enable the Microsoft.Compute/EncryptionAtHost feature for every subscription (and region, if required) where you plan to deploy VMs or VM scale sets with `encryptionAtHost: true`. Repeat the registration steps below for each target subscription (and for each region when applicable). This step is required for **WAF-aligned** (production) deployments.
@@ -320,7 +323,7 @@ azd up
320
323
321
324
**Expected Duration:** 9-10 minutes for default configuration
322
325
323
-
-**Upon successful completion**, you will see a success message indicating that all resources have been deployed, along with the application URL and next steps for uploading team configurations and sample data.
326
+
-**Upon successful completion**, you will see a success message indicating that all resources have been deployed, along with the application URL and next steps for building and pushing the application container images and uploading team configurations and sample data.
@@ -338,18 +341,49 @@ After successful deployment:
338
341
339
342
## Step 5: Post-Deployment Configuration
340
343
341
-
### 5.1 Run Post Deployment Script
344
+
### 5.1 Build and Push Container Images
345
+
346
+
This solution provisions a dedicated **Azure Container Registry (ACR)** in your resource group. During provisioning, the backend and frontend App Services start with a temporary *hello-world* placeholder image. Run the following script to build the backend (`macaebackend`), MCP Server(`macaemcp`) and frontend (`macaefrontend`) images, push them to your ACR, and update the App Services to run them.
347
+
348
+
**Run the build and push script:**
349
+
350
+
The `azd up` deployment output includes a ready-to-use bash script command. Look for the script in the deployment output and run it:
The images are **built remotely in ACR** using `az acr build`, so no local Docker installation is required.
363
+
364
+
**What the script does:**
365
+
- Builds the Frontend image from [src/App/Dockerfile](../src/App/Dockerfile)
366
+
- Builds the Backend image from [src/backend/Dockerfile](../src/backend/Dockerfile)
367
+
- Builds the MCP Server image from [src/mcp_server/Dockerfile](../src/mcp_server/Dockerfile)
368
+
- Pushes both images to the provisioned Azure Container Registry
369
+
- Updates the backend, MCP Server and frontend App Services to run the new images (pulled via managed identity) and restarts them
370
+
371
+
> **Note:** For Production (WAF) deployments, ACR public network access is disabled. The script temporarily enables it to build/push the images and restores the original setting when it finishes.
372
+
373
+
**Expected Processing Time:** 5-10 minutes depending on network speed.
374
+
375
+
### 5.2 Run Post Deployment Script
342
376
343
377
1. You can upload Team Configurations using command printed in the terminal. The command will look like one of the following. Run the appropriate command for your shell from the project root:
0 commit comments