> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 2.3 Deployment View

## Proposed development and showcase environment

```mermaid theme={null}
flowchart TB
    Browser[Deployment Node: Customer or staff browser]
    subgraph Azure[Deployment Node: Azure showcase resource group]
        SWA[Container: Static Web Apps Free]
        ACA[Container: Container Apps Consumption<br/>FastAPI]
        Func[Container: Functions Flex Consumption<br/>Durable workflow]
        Cosmos[Data Store: Cosmos DB serverless]
        Blob[Data Store: Blob Storage Standard LRS]
        Search[External Service: Existing Azure AI Search]
        Foundry[External Service: Existing Microsoft Foundry project]
        Safety[External Service: Content Safety and Document Intelligence]
        KV[Security Service: Key Vault Standard]
        Monitor[Operations Service: Application Insights and Log Analytics]
        Defender[Security Service: Defender for Storage]
    end
    Stripe[External Service: Stripe test mode]
    ACS[External Service: Communication Services Email]

    Browser -->|HTTPS| SWA
    SWA -->|HTTPS API calls| ACA
    ACA -->|Workflow start and approval signals| Func
    ACA -->|Claim and order data| Cosmos
    Func -->|Workflow data| Cosmos
    Browser -->|Direct upload to quarantine| Blob
    Func -->|Scan and promote evidence| Blob
    Defender -->|Malware scan tags| Blob
    Func -->|Policy retrieval and assessment| Search
    Func -->|Safety and extraction calls| Safety
    Func -->|Model call| Foundry
    ACA -->|Secrets| KV
    Func -->|Secrets| KV
    ACA -->|Business-safe telemetry| Monitor
    Func -->|Business-safe telemetry| Monitor
    Func -->|Approved refund| Stripe
    Stripe -->|Signed webhook| ACA
    Func -->|Status email| ACS
```

The Bicep plan sets the primary application region to Canada Central and the Content Safety region to Canada East. No production topology is established.

## Environment notes

| Environment | Evidence in the guide | Status |
| - | - | - |
| Local development | FastAPI, Functions Core Tools, frontend, local environment file, test Stripe flow. | Described in build steps. |
| Development/showcase | Resource group with serverless services, a development environment name, and a protected GitHub environment. | Proposed deployment. |
| Staging | No distinct staging topology is specified. | \[OWNER INPUT REQUIRED: staging environment and data separation] |
| Production | No production deployment is evidenced. | \[OWNER INPUT REQUIRED: production topology, regions, and promotion policy] |

The guide explicitly omits Front Door, private endpoints, PostgreSQL, provisioned Cosmos throughput, and always-on compute from this cost-optimized design.

Azure region selections are design inputs. They do not establish a legal data jurisdiction or prove that every service processes or stores all data only in those regions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.