Skip to content

Step 1 — Discovery

Generated by @requirements agent | 2026-03-11

⬅️ Previous📑 IndexNext ➡️
Demo IndexArchitecture Assessment
FieldValue
Project Namenordic-fresh-foods (FreshConnect MVP)
Project TypeFull-Stack N-Tier Web Application
TimelineMarch 2026 → June 2026 (3 months to peak season)
Primary StakeholderCTO, Nordic Fresh Foods
Business ContextCloud-based farm-to-table ordering platform connecting organic farmers with restaurants and consumers in Scandinavia.
IaC ToolBicep
FieldValue
Industry / VerticalFood & Agriculture
Company SizeStartup / Small (1-50 employees)
Current StateGreenfield — no existing cloud infrastructure (spreadsheets, WordPress, manual processes)
Migration SourceN/A (greenfield)
Business DriversModernize operations before peak season; eliminate order errors (~8% loss); enable real-time inventory and delivery ops
Success CriteriaReduce order errors to <1%, real-time inventory visibility, automated delivery routing, restaurant order tracking portal
flowchart LR
    A["🏢 Current State<br/>Spreadsheets + WordPress + Manual Processes"] -->|"Greenfield Build"| B["☁️ Desired State<br/>FreshConnect Cloud Platform on Azure"]
    B --> C["✅ Success Criteria<br/>< 1% order errors, real-time inventory, automated routing"]
#CapabilityPriorityAcceptance Criteria
1Web-based order management🔴 MustOrders from web portal accepted, validated, and stored with <1% error rate
2Real-time inventory from farms🔴 MustFarmer stock levels reflected within 5 min; overselling blocked automatically
3Delivery route optimization🔴 MustRoutes generated automatically; reduce wasted driver trips by >50%
4Restaurant order tracking🔴 MustRestaurants can view order status and ETA in real time via web portal
5Consumer order placement🟡 ShouldConsumers can browse and order produce via web portal
6Analytics dashboard🟡 ShouldBusiness reports showing order volume, revenue trends, delivery performance
7Mobile app API support🟢 CouldREST API endpoints designed to support future mobile app
8Seasonal auto-scaling🔴 MustPlatform handles 3× order volume during summer and December without degradation
User TypeDescriptionEst. CountAccess Level
Restaurant StaffPlace orders, track deliveries, view menu500+Contributor
ConsumerBrowse products, place orders10,000Reader
Farm OperatorUpdate inventory, confirm produce readiness50-100Contributor
Delivery DriverView routes, confirm pickups/deliveries20-50Reader
Operations AdminManage platform, view analytics, configure5-10Admin
SystemDirectionProtocolAuth MethodSLAEU Data Residency Required
Payment GatewayOutboundRESTAPI Key99.9%Yes — PII/payment tokens
Mapping/Routing APIOutboundRESTAPI Key99.5%Yes — address data
Email/SMS NotificationsOutboundRESTAPI Key99.0%Yes — PII (names, emails)
Farm Inventory APIInboundRESTOAuth 2.099.0%Yes — supply chain data
Social Identity ProvidersOutboundOIDCOAuth 2.099.9%Yes — PII (email, profile)

[!IMPORTANT] All external processors handling EU personal data MUST store and process data within the EU, or operate under an approved GDPR transfer mechanism (e.g., Standard Contractual Clauses). The Architect must validate processor compliance during Step 2.

CategorySensitivityEst. VolumeRetentionResidency
Customer PII🔴 High10K+ records3 yearsEU only
Payment tokens🔴 High1K+ dailyPer PCIEU only
Order data🟡 Medium500+ orders/day2 yearsEU only
Inventory levels🟢 LowUpdated hourly90 daysEU only
Delivery route data🟡 Medium50+ routes/day1 yearEU only
Analytics/aggregates🟢 LowDerived daily2 yearsEU
FieldValue
Workload PatternN-Tier Web Application
Recommended OptionApp Service + Azure SQL + Key Vault + Application Insights + Storage Account (SKUs to be sized in Step 2)
TierCost-Optimized
JustificationStartup budget (<€1K/month), <100 concurrent users at MVP launch, greenfield build, Dev + Prod envs

[!NOTE] Step 1 intentionally avoids prescribing SKUs. Step 2 (Architecture) must validate platform tiers against concurrency, autoscale, background processing, caching, and seasonal 3× peak load requirements.

WAF PillarMetricTargetCurrentGap
🔄 ReliabilitySLA99.9%N/AFull build required
🔄 ReliabilityRTO24 hoursN/ARelaxed — acceptable for MVP
🔄 ReliabilityRPO12 hoursN/ARelaxed — acceptable for MVP
⚡ PerformancePage Load<3000 msN/AFull build required
⚡ PerformanceAPI Response (p95)<500 msN/AFull build required
⚡ PerformanceConcurrent Users<100 (peak)N/AFull build required
🔒 SecurityAuth MethodEntra External ID + Social
🔒 SecurityEncryptionAt-rest + In-transit
💰 CostMonthly Budget<€1,000
🔧 OperationsUptime MonitoringYes
DimensionCurrent6-Month Projection12-Month Projection
Users~10,500~20,000~50,000
Data Volume~5 GB~20 GB~50 GB
Transactions/day~500 orders~1,500 orders~3,000 orders
RequirementApplicabilityNotes
Cardholder data storageNoPayment tokens only — PCI scope minimized via external gateway
Network segmentationYesPrivate endpoints for data services
Encryption requirementsYesTLS 1.2+ in transit, platform-managed encryption at rest
Trust PrincipleApplicabilityNotes
SecurityNoNot required for MVP
AvailabilityNoNot required for MVP
ConfidentialityNoNot required for MVP
RequirementApplicabilityNotes
PHI handlingNoNo health data processed
BAA requiredNoN/A
Audit loggingNoN/A
RequirementApplicabilityNotes
EU data subjectsYesAll customers are EU residents (Scandinavia)
Data residencyYesAll data must reside in EU regions (swedencentral primary)
Right to erasureYesMust support GDPR Article 17 — customer data deletion
Control AreaApplicabilityNotes
Access controlNoNot required for MVP
Asset managementNoNot required for MVP
Incident managementNoNot required for MVP
RequirementValue
Primary Regionswedencentral
Data SovereigntyEU-only (GDPR compliance)
Cross-region ReplicationNot required (relaxed recovery objectives)
BoundaryDevProduction
Identity tenantSeparate Entra configSeparate Entra config
Secrets (KV)Dedicated Key VaultDedicated Key Vault
Data storesSeparate SQL + StorageSeparate SQL + Storage
DiagnosticsSeparate Log AnalyticsSeparate Log Analytics
Budget alertSeparate budget scopeSeparate budget scope
NetworkShared or separate VNetDedicated VNet + private endpoints
RequirementValue
Identity ProviderMicrosoft Entra External ID (consumers + restaurants) + Social providers
MFA RequirementConditional (required for admin users)
RBAC ModelApplication-level (role per user type)

[!NOTE] Azure AD B2C is end-of-sale for new tenants since May 2025. Microsoft Entra External ID is the successor for greenfield consumer-facing identity.

ControlRequiredNotes
Private endpointsFor Azure SQL and Storage Account
VNet integrationApp Service VNet integration for SQL access
Public endpoints acceptableWeb frontend and API (behind App Service)
WAF requiredNot required for MVP — compensating controls below
ControlRecommendedUser ConfirmedNotes
Managed IdentityYesYesPrefer over keys for service-to-service
Private EndpointsYesYesFor Azure SQL and Storage Account
WAFNoNoNot required for MVP — add post-launch
Key Vault for SecretsYesYesCentralized secrets management
Diagnostic SettingsYesYesApplication Insights + Log Analytics
TLS 1.2 MinimumYesYesAlways recommended — security baseline
Encryption at RestYesYesPlatform-managed encryption
Network IsolationYesYesVNet integration + private endpoints
Edge Rate LimitingYesYesApp Service built-in or API Management tier
API ThrottlingYesYesPer-client rate limits on order/inventory APIs
Bot ProtectionYesYesBasic bot detection on login and order endpoints

[!NOTE] The Azure Pricing MCP server generates detailed cost estimates during architecture assessment (Step 2). Provide an approximate budget here.

FieldValue
💰 Monthly Budget<€1,000/month (Azure platform only)
📅 Annual Budget~€12,000 (Azure platform only)
🚦 Limit Type🔴 Hard = startup runway constraints
📊 Cost Model PrefConsumption — pay only for what is used
CategoryMonthly EnvelopeNotes
Compute (App Service)~€200-400Web + API; must support autoscale in peak
Database (Azure SQL)~€150-250Orders, inventory, users
Identity (Entra Ext ID)~€50-100MAU-based pricing for consumers
Networking (PE + DNS)~€50-100Private endpoints, private DNS zones
Observability~€50-100Log Analytics ingestion + App Insights
Storage + Key Vault~€20-50Blobs, secrets, certificates
Total Azure<€1,000Hard cap; Step 2 must validate feasibility
3rd-party SaaSSeparate budgetPayment gateway, maps, email/SMS — not in cap

[!IMPORTANT] Step 2 must estimate both steady-state and peak-season (3×) costs, including private networking overhead, log ingestion volume, and identity MAU charges. Third-party SaaS costs are tracked separately but must be surfaced in the cost estimate for total operational awareness.

PrioritySelectedImpact
Minimize compute costsHigh
Prefer consumption-based pricingHigh
Reserved instances acceptableLow
Spot instances for non-criticalLow
CapabilityRequiredTool / ServiceNotes
Application monitoringApplication InsightsRequest tracking, errors
Log aggregationLog AnalyticsCentralized log workspace
Alert notificationsEmailCTO and operations team
Custom dashboardsNot required for MVP
RequirementValue
Support HoursBusiness hours (Stockholm CET)
On-call RequirementNo
Maintenance WindowsWeekends, 02:00-06:00 CET
Change ManagementTeam approval via GitHub PRs
ComponentBackup FrequencyRetentionRecovery Method
Azure SQL DatabaseDaily30 daysAutomated (PITR)
Storage AccountLRS replication30 daysAutomated
App ConfigurationIaC re-deployN/ABicep redeploy
PreferenceValueJustification
Primary RegionswedencentralEU GDPR-compliant, closest to Stockholm
Failover RegionN/ANot required — relaxed recovery objectives
Availability ZonesNot neededCost optimization — single zone sufficient

FieldValue
Complexitystandard
Criteria5+ resource types (App Service, SQL, KV, Storage, App Insights, VNet, Private Endpoints, Entra External ID, Log Analytics), multi-environment (Dev + Prod), GDPR + PCI-DSS compliance pressure
RationaleAlthough an MVP, the workload involves PII, payment-scoped data, multiple external integrations, private networking, consumer-facing identity, and dual environments — exceeding the ≤3 resource / single-env threshold for simple classification

AspectKey Points
Critical ConstraintsBudget <€1K/month (Azure only); 3-month timeline; EU data residency (GDPR) incl. external processors
Key DecisionsBicep IaC; Cost-Optimized tier; N-Tier pattern; Entra External ID + social auth; Private endpoints; Dev + Prod envs
Open RisksPCI-DSS scope depends on payment gateway integration; seasonal 3× scale needs SKU validation; edge security compensating controls need sizing
Recommended PatternN-Tier Web Application (App Service + SQL + KV + App Insights + Storage — SKUs per Step 2)
Budget Envelope<€1,000/month (Azure platform; 3rd-party tracked separately)
SectionStatusNotes
Project OverviewAll fields populated
Functional Requirements8 capabilities with priorities and acceptance criteria
NFRsWAF metrics, scalability projections defined
Compliance & SecurityGDPR + PCI-DSS scoped; security controls confirmed
BudgetHard limit <€1K/month; consumption model preferred
Operational RequirementsMonitoring, alerting, backup defined for MVP scope

[!NOTE] 📚 The following Microsoft Learn resources provide additional guidance.

TopicLink
Well-Architected FrameworkOverview
Azure RegionsProducts by Region
Compliance OfferingsAzure Compliance

Requirements captured using the requirements planning prompt template


⬅️ —🏠 Demo Index➡️ Architecture Assessment