Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Infrastructure Level 1

Cloud environments, trust boundaries, and building-block placement.

Deployment View

Overview and Motivation

Azure deployments place application workloads in Azure Container Apps and stateful dependencies in Azure-managed services, with Confluent Cloud, Qdrant Cloud, SendGrid, and Microsoft Entra ID as separate service boundaries. Local development substitutes persistent containers and emulators for most managed resources. The environments preserve logical topology but use different capacity and resilience settings, balancing operability and security with development cost.

Production Infrastructure Topology

The view emphasizes environment and service boundaries. The mapping below provides the per-building-block placement, scaling, and security detail.

Building Block to Infrastructure Mapping

Infrastructure NodeHosted Building Blocks (from Sec 5)Scaling & AvailabilityKey Security / Network Boundary
Azure Container Apps public ingressAPI Gateway; Scheduler’s Quartz DashboardGateway and dashboard are separate apps; the published baseline declares a minimum of one replica but no maximum or application-specific scale rules; deployed values are unverifiedHTTPS from the public network; dashboard access is protected by Microsoft Entra ID and the admin role
Azure Container Apps internal workloadsStorefront, Commerce, Backoffice; Catalog API, Catalog Ingestion, Basket API, Ordering API, Finance, Rating API, Chat API, MCP Tools, Notification, Scheduler; Presidio supports Chat API and Rating APIConsumption profile; workload limits and capacity targets remain to be defined; no multi-region application deployment is establishedInternal app ingress is not public ingress; it does not imply a VNet or private endpoint boundary
Azure PostgreSQL Flexible ServerCatalog API, Ordering API, SchedulerDevelopment uses a smaller tier without zone redundancy; Staging and Production use zone-redundant HA with 14- and 35-day backups respectivelyService-scoped identity and encrypted connections; production geo-redundant backup is enabled
Azure Managed Redis and Azure Cosmos DBRedis: Catalog API, Basket API, Ordering API, Rating API, Notification; Cosmos DB: Rating APIRedis HA is enabled in Staging and Production; Cosmos DB is serverless in Development and Staging, provisioned in ProductionAzure workload identity and role-based access; Cosmos local authentication is disabled outside Development
Azure Storage and Durable Task SchedulerStorage: Catalog API, Catalog Ingestion, Chat API, Finance; Durable Task Scheduler: FinanceStorage redundancy increases from locally redundant in Development to zone-redundant in Staging and geo-zone-redundant in Production; task scheduler uses Consumption tierPrivate data is not publicly anonymous; access uses scoped identity roles. Private endpoints are not currently declared
Microsoft FoundryCatalog API, Catalog Ingestion, Chat API, Rating APIModel capacity and regional availability depend on provider deployment quotasAzure role-based access from workload identities; model endpoints remain a managed-service boundary
External providers: Confluent Cloud, Qdrant Cloud, SendGridKafka integrations across Catalog, Shopping, Ordering, Reviews, and Platform; Qdrant for Catalog; SMTP for NotificationProvider availability and quotas are external dependencies; recovery and failover are provider-specificSeparate provider trust boundary; encrypted connections and protected connection credentials
Azure Container Registry and Log AnalyticsImages and operational telemetry for the hosted Section 5 building blocksLog retention is 30 days in non-Production and 90 days in Production; registry and workspace service limits applyAzure control-plane access and scoped workload permissions
Microsoft Entra IDUser authentication for customer and staff applications; managed identities and agent identities for service accessIdentity availability and token lifetimes follow tenant configurationTenant and token-validation boundary; OIDC for users and workload identity for Azure resource access

Quality and Operational Characteristics

  • API Gateway is the customer-facing application entry point. Quartz Dashboard is a separate externally reachable administrative endpoint protected by Microsoft Entra ID; other application ingress is internal to the Container Apps environment.
  • User authentication uses Microsoft Entra ID. Workloads use managed identities and scoped roles for Azure resources; external provider connections use encrypted transport and protected credentials.
  • PostgreSQL has zone-redundant HA in Staging and Production, with 14- and 35-day backup retention; Production enables geo-redundant backups. Redis HA is enabled in those environments. Multi-region application recovery is not established.
  • The published Container Apps baseline does not define workload-specific maximum replicas or scale triggers. Capacity limits, traffic targets, and recovery objectives must be established before production commitments, and deployed settings must be verified.
  • Internal ingress describes application routing, not network isolation: no VNet or private endpoints are currently declared for managed dependencies.
  • Building Block ViewCustom DocBuilding Block ViewStatic decomposition of BookWorm into owned business capabilities, services, and shared foundations.Ownerarchitecture-enabling-teamOpen doc — Static ownership of the hosted building blocks.
  • Runtime ViewCustom DocRuntime ViewRepresentative BookWorm runtime scenarios across commerce, discovery, customer feedback, and platform operations.Ownerarchitecture-enabling-teamOpen doc — Interactions between building blocks.
  • Infrastructure Level 2Custom DocInfrastructure Level 2Selective detail of application hosting, ingress, and operational boundaries.Ownerplatform-engineering-teamOpen doc — Selective compute and ingress detail.