Skip to content

Commit 454d6e1

Browse files
Add diagram and visio to ACI sample (#63)
1 parent 6728ac6 commit 454d6e1

3 files changed

Lines changed: 4 additions & 16 deletions

File tree

samples/aci-blob-storage/python/README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,12 @@ A sample application demonstrating how to deploy a containerized Flask web app u
99

1010
## Architecture
1111

12-
```
13-
┌──────────────┐ store conn ┌──────────────┐ env vars ┌──────────────┐
14-
│ Storage │ ──── string ────► │ KeyVault │ ─────────► │ ACI │
15-
│ Account │ │ (secrets) │ │ (container │
16-
└──────────────┘ └──────────────┘ │ group) │
17-
▲ │ │
18-
│ read/write activities │ │
19-
└────────────────────────────────────────────────────────┤ │
20-
│ │
21-
┌──────────────┐ image pull │ │
22-
│ ACR │ ────────────────────────────────────────────► │ │
23-
│ (registry) │ (registry credentials) └──────────────┘
24-
└──────────────┘
25-
```
12+
The following diagram illustrates the architecture of the solution:
2613

27-
**Deployment flow:** The deploy script creates Storage and Key Vault first, stores the storage connection string as a secret, creates ACR and pushes the container image, then creates an ACI container group that pulls from ACR with the secrets injected as environment variables.
14+
![Architecture Diagram](./images/architecture.png)
2815

29-
**At runtime:** The Flask app reads the storage connection string from its environment, connects to Blob Storage, and provides a web UI for managing vacation activities (add, edit, delete).
16+
- **Deployment flow:** The deploy script creates Storage and Key Vault first, stores the storage connection string as a secret, creates ACR and pushes the container image, then creates an ACI container group that pulls from ACR with the secrets injected as environment variables.
17+
- **At runtime:** The Flask app reads the storage connection string from its environment, connects to Blob Storage, and provides a web UI for managing vacation activities (add, edit, delete).
3018

3119
## Prerequisites
3220

67.1 KB
Loading
231 KB
Binary file not shown.

0 commit comments

Comments
 (0)