Skip to content

Commit 4274af1

Browse files
authored
Merge pull request #14 from microsoft/agh-doc-review
docs: Enhance documentation with all deployment options
2 parents 923d6a3 + c726859 commit 4274af1

6 files changed

Lines changed: 904 additions & 767 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Unified Data Foundation with Fabric",
2+
"name": "Real-Time Intelligence Operations Solution Accelerator Dev Container",
33
"image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
44
"features": {
55
"ghcr.io/devcontainers/features/azure-cli:1": {

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,10 @@ Quick deploy
8383

8484
Follow these steps to deploy the solution to your own Azure subscription:
8585

86-
| [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/microsoft/real-time-intelligence-operations-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/real-time-intelligence-operations-solution-accelerator) | [![Open in Visual Studio Code Web](https://img.shields.io/static/v1?style=for-the-badge&label=Visual%20Studio%20Code%20(Web)&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://vscode.dev/github/microsoft/real-time-intelligence-operations-solution-accelerator) |
87-
|---|---|---|
88-
89-
<br/>
86+
| [![GitHub Codespaces](https://img.shields.io/badge/GitHub_Codespaces-Open-grey?style=flat&labelColor=grey&message=Open&color=blue&logo=github)](https://codespaces.new/microsoft/real-time-intelligence-operations-solution-accelerator) | [![Visual Studio Code Dev Containers](https://img.shields.io/badge/Visual_Studio_Code_Dev_Container-Open-gray?style=flat&labelColor=grey&message=Open&color=blue)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/real-time-intelligence-operations-solution-accelerator) | [![Visual Studio Code Web](https://img.shields.io/badge/Visual_Studio_Code_Web-Open-gray?style=flat&labelColor=grey&message=Open&color=blue)](https://vscode.dev/github/microsoft/real-time-intelligence-operations-solution-accelerator) | [![Azure Cloud Shell](https://img.shields.io/badge/Azure_Cloud_Shell-Open-grey?style=flat&labelColor=grey&message=Open&color=blue)](https://portal.azure.com/#cloudshell/) |
87+
|---|---|---|---|
9088

91-
**One-command deployment** - Deploy everything with [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd) and [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) (Check [prerequisites](./docs/DeploymentGuide.md#prerequisites)):
89+
**One-command deployment** - Deploy everything with [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd) and [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) (check [prerquisites](./docs/DeploymentGuide.md#prerequisites)):
9290

9391
```bash
9492
# Clone and navigate to repository
@@ -127,7 +125,7 @@ Check more deployment aspects in our [deployment guide](./docs/DeploymentGuide.m
127125
| [**Deployment validation**](./docs/DeploymentGuide.md#deployment-results) | Once deployed, verify Azure infrastructure, Fabric workspace components, and real-time data flow |
128126
| [**Deployment overview**](./docs/DeploymentGuide.md#deployment-overview) | Two-phase deployment process: Azure infrastructure provisioning and Fabric workspace setup |
129127
| [**Advanced configuration**](./docs/DeploymentGuide.md#advanced-configuration-options) | Customize workspace names, component names, email alerts, and capacity deployment options |
130-
| [**Alternative deployment options**](./docs/DeploymentGuide.md#deployment-options) | Deploy locally, Azure Cloud Shell, GitHub Codespaces, or VS Code Dev Container |
128+
| [**Alternative deployment options**](./docs/DeploymentGuide.md#deployment-options) | Deploy locally, Azure Cloud Shell, GitHub Codespaces, VS Code Dev Container or GitHub Actions|
131129
| [**Limitations**](./docs/DeploymentGuide.md#known-limitations) | See identified limitations of the solution |
132130
| [**Cleanup**](./docs/DeploymentGuide.md#environment-cleanup) | Remove all deployed resources and clean up your environment with `azd down` |
133131

azure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
template: real-time-intelligence-operations-solution-accelerator@1.0
66

77
requiredVersions:
8-
azd: ">1.20.0"
8+
azd: ">1.19.0"
99

1010
hooks:
1111
postprovision:

docs/DeploymentGuide.md

Lines changed: 53 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Deploy the **Real-Time Intelligence Data Platform** solution accelerator using Azure Developer CLI - get a complete real-time analytics platform with Event Hub, Fabric Eventhouse, and KQL dashboards in minutes.
44

5-
## 🚀 Quick Start
5+
## Quick Start
66

77
**One-command deployment** - Deploy everything with Azure Developer CLI ([prerequisites required](#prerequisites)). See also other available [deployment options](#deployment-options):
88

@@ -70,8 +70,9 @@ Before starting, ensure your deployment identity has the following requirements.
7070
- [ ] **`Microsoft.EventHub` Resource Provider Access**: Verify your Azure Subscription has Event Hub resource provider enabled
7171

7272
### 🔗 API Permissions
73-
- [ ] **Fabric REST API - Workspace Management**: Access to create and manage Fabric workspaces
74-
- [ ] **Fabric REST API - Item Creation**: Access to create Eventhouses, KQL databases, and dashboards
73+
- [ ] **Service principals and managed identities support on Fabric REST API**: To use service principals and managed identities with Fabric REST APIs (GitHub actions require it), [enable the `Service principals can use Fabric` APIs tenant setting](https://learn.microsoft.com/rest/api/fabric/articles/identity-support)
74+
- [ ] **Fabric REST API - Workspace Management**: Access to create and manage Fabric workspaces ([see scopes](https://learn.microsoft.com/rest/api/fabric/articles/scopes))
75+
- [ ] **Fabric REST API - Item Creation**: Access to create Eventhouses, KQL databases, and dashboards ([see scopes](https://learn.microsoft.com/rest/api/fabric/articles/scopes))
7576
- [ ] **Azure Event Hubs API**: Access to create and manage Event Hub resources
7677

7778
### 💻 Software Requirements
@@ -216,57 +217,74 @@ The solution includes comprehensive sample data for real-time analytics scenario
216217

217218
Choose your deployment environment based on your workflow and requirements. All options use the same [Deploy with AZD](#deploy-with-azd) commands with environment-specific setup.
218219

219-
| Environment | Best For | Setup Required | Notes |
220-
|-------------|----------|----------------|-------|
221-
| **[Local Machine](#local-machine)** | Full development control | Install [software requirements](#software-requirements) | Most flexible, requires local setup |
222-
| **[Azure Cloud Shell](#azure-cloud-shell)** | Zero setup | Just a web browser | Pre-configured tools, session timeouts |
223-
| **[GitHub Codespaces](#github-codespaces)** | Team consistency | GitHub account | Cloud development environment |
224-
| **[Dev Container](#vs-code-dev-container)** | Standardized tooling | Docker Desktop + VS Code | Containerized consistency |
220+
| Environment | Setup Required | Notes |
221+
|-------------|----------------|-------|
222+
| **[Local Machine](#local-machine)** | Install [software requirements](#software-requirements) | Most flexible, requires local setup |
223+
| **[Visual Studio Code Dev Container](#visual-studio-code-dev-container)** | Docker Desktop + VS Code | Containerized consistency |
224+
| **[GitHub Codespaces](#github-codespaces)** | GitHub account | Cloud development environment |
225+
| **[Azure Cloud Shell](#azure-cloud-shell)** | Web browser | Pre-configured tools, session timeouts |
226+
| **[GitHub Actions](#github-actions)** | Azure service principal | Federated identity, automated deployment |
225227

226228
### Local Machine
229+
227230
Deploy with full control over your development environment.
228231

229-
**Setup requirements**: Install the [software requirements](#software-requirements)
232+
**Setup**: Install the [software requirements](#software-requirements)
230233

231-
**Deployment**: Use the standard [Deploy with AZD](#deploy-with-azd) commands
234+
**Deployment**: Follow the [quick start steps](#quick-start) commands
232235

233-
### Azure Cloud Shell
234-
Deploy from Azure's browser-based terminal with zero local installation.
236+
### Visual Studio Code Dev Container
237+
Deploy from a containerized environment for team consistency.
235238

236-
**Setup**: Open [Azure Cloud Shell](https://shell.azure.com) and install Azure Developer CLI:
237-
```bash
238-
curl -fsSL https://aka.ms/install-azd.sh | bash && exec bash
239-
```
239+
**Setup**:
240+
1. Install Visual Studio Code, [Docker Desktop](https://www.docker.com/products/docker-desktop) and [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
241+
2. Clone repository and open in VS Code
242+
3. Reopen in container when prompted
240243

241-
**Deployment**: Run the [Deploy with AZD](#deploy-with-azd) commands (Azure CLI pre-authenticated)
244+
**Deployment**: All tools pre-installed - follow the [quick start steps](#quick-start) commands
242245

243246
### GitHub Codespaces
247+
244248
Deploy from a cloud development environment with pre-configured tools.
245249

246250
**Setup**:
247251
1. Go to the repository
248-
2. Click **Code****Codespaces****Create codespace**
252+
2. Click **Code****Codespaces****Create codespace on main**
249253

250-
**Deployment**: Install azd and run deployment commands with device authentication:
254+
**Deployment**: All tools pre-installed - follow the [quick start steps](#quick-start) commands
255+
256+
### Azure Cloud Shell
257+
258+
Deploy from Azure's browser-based terminal with zero local installation.
259+
260+
**Setup**: Open [Azure Cloud Shell](https://shell.azure.com) and install Azure Developer CLI:
251261
```bash
252-
# Install azd if needed
253262
curl -fsSL https://aka.ms/install-azd.sh | bash && exec bash
263+
```
254264

255-
# Use device code authentication
256-
azd auth login --use-device-code
265+
**Deployment**: Follow the [quick start steps](#quick-start) commands
257266

258-
# Continue with deployment commands
259-
```
267+
### GitHub Actions
260268

261-
### VS Code Dev Container
262-
Deploy from a containerized environment for team consistency.
269+
Deploy using automated CI/CD pipeline with GitHub Actions and Azure federated identity.
263270

264-
**Setup**:
265-
1. Install [Docker Desktop](https://www.docker.com/products/docker-desktop) and [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
266-
2. Clone repository and open in VS Code
267-
3. Reopen in container when prompted
271+
**Setup**:
272+
1. Fork the repository to your GitHub account
273+
2. Configure [Azure service principal with federated identity credentials](https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure-openid-connect) for GitHub Actions (recommened)
274+
3. Set repository variables in GitHub:
275+
- `AZURE_CLIENT_ID`: Service principal client ID
276+
- `AZURE_TENANT_ID`: Azure tenant ID
277+
- `AZURE_SUBSCRIPTION_ID`: Target subscription ID
278+
- `AZURE_ENV_NAME`: Environment name for resource naming
279+
4. Set optinall repository variables in GitHub if needed:
280+
- `FABRIC_WORKSPACE_ADMINISTRATORS`: Comma-separated admin identities
281+
- `FABRIC_ACTIVATOR_ALERTS_EMAIL`: Email for alert notifications
268282

269-
**Deployment**: All tools pre-installed - run [Deploy with AZD](#deploy-with-azd) commands directly
283+
**Deployment**:
284+
1. Navigate to **Actions** tab in your GitHub repository
285+
2. Select **CI/CD Azure - Real-Time Intelligence Operations** workflow
286+
3. Click **Run workflow** to trigger deployment
287+
4. Monitor deployment progress and view summary with Azure Portal links
270288

271289
---
272290

@@ -359,8 +377,9 @@ The `azd down` command orchestrates a complete environment cleanup process that:
359377

360378
1. **Removes Fabric Workspace Components**: Executes [`delete_fabric_rti.py`](../infra/scripts/fabric/delete_fabric_rti.py) via `predown` hook to safely delete workspace connections and components
361379
2. **Deletes Fabric Workspace**: Removes the Microsoft Fabric workspace and all associated items
362-
3. **Deprovisions Azure Resources**: Removes all Azure infrastructure components including Event Hub and Fabric Capacity
363-
4. **Preserves Local Environment**: Keeps your local development environment and configurations intact
380+
3. **Deletes Fabric connection**: Removes the Microsoft Fabric Event Hub connection
381+
4. **Deprovisions Azure Resources**: Removes all Azure infrastructure components including Event Hub and Fabric Capacity
382+
5. **Preserves Local Environment**: Keeps your local development environment and configurations intact
364383

365384
**Complete cleanup commands:**
366385

0 commit comments

Comments
 (0)