Build Harbour Mutual's data platform on Azure from parts, against the brief's requirements: ingestion, processing, reports, networking, personal data, recovery, operations and cost. Each part says which requirements justify it, and the design exports as Bicep.
ADLS Gen2
Azure Databricks
Across zones in one region
Survive losing a region
€5,000
5
of 9 requirements met
€3,650
a month (illustrative figures, not prices)
4
kinds of resource in the Bicep
✓ Batch loads from the source systems · Data Factory pipelines load the source systems.
✕ Claims events in near real time · No part receives the claims events.
✓ Spark on the lake · Azure Databricks runs Spark on the lake.
✓ Reports for the board · Power BI reads the gold layer.
✕ No data store on the internet · ADLS Gen2 would be reachable from the internet: add private endpoints.
✕ Personal data classified and protected · Missing for personal data: Microsoft Purview, Key Vault, Entra groups.
✕ Recovery target met · Losing the region would lose the lake: choose a copy in a second region.
✓ One place for the logs · Every service sends its logs to one Log Analytics workspace.
✓ Within the budget · About €3,650 a month, within the budget of €5,000.
Each part names the requirements it meets; a red, dashed box is a gap the brief needs filled, and a cross marks a part another one already covers.The Bicep (96 lines)
// Harbour Mutual's data platform: generated by the Cloud Data Architecture Lab's platform engine.
// Power BI is a SaaS service: its workspaces are created in the Power BI service, not here.
targetScope = 'resourceGroup'
@description('Azure region for every resource.')
param location string = resourceGroup().location
@description('Environment name, part of every resource name.')
@allowed([
'dev'
'test'
'prod'
])
param environment string = 'dev'
var prefix = 'hmdata'
var suffix = uniqueString(resourceGroup().id)
var tags = {
workload: 'data-platform'
environment: environment
}
resource logs 'Microsoft.OperationalInsights/workspaces@2025-07-01' = {
name: 'log-${prefix}-${environment}'
location: location
tags: tags
properties: {
sku: {
name: 'PerGB2018'
}
retentionInDays: 90
}
}
resource lake 'Microsoft.Storage/storageAccounts@2025-06-01' = {
name: take('st${prefix}${environment}${suffix}', 24)
location: location
tags: tags
kind: 'StorageV2'
sku: {
name: 'Standard_ZRS'
}
properties: {
isHnsEnabled: true
minimumTlsVersion: 'TLS1_2'
supportsHttpsTrafficOnly: true
allowBlobPublicAccess: false
allowSharedKeyAccess: false
publicNetworkAccess: 'Disabled'
}
}
resource databricks 'Microsoft.Databricks/workspaces@2026-01-01' = {
name: 'dbw-${prefix}-${environment}'
location: location
tags: tags
sku: {
name: 'premium'
}
properties: {
computeMode: 'Hybrid'
managedResourceGroupId: subscriptionResourceId('Microsoft.Resources/resourceGroups', 'rg-${prefix}-${environment}-databricks')
publicNetworkAccess: 'Enabled'
requiredNsgRules: 'AllRules'
parameters: {
enableNoPublicIp: {
value: true
}
}
}
}
resource factory 'Microsoft.DataFactory/factories@2018-06-01' = {
name: 'adf-${prefix}-${environment}-${suffix}'
location: location
tags: tags
identity: {
type: 'SystemAssigned'
}
properties: {
publicNetworkAccess: 'Disabled'
}
}
resource factoryOnLake 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(lake.id, factory.id, 'ba92f5b4-2d11-453d-a403-e96b0029c9fe')
scope: lake
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe')
principalId: factory.identity.principalId
principalType: 'ServicePrincipal'
}
}
output lakeName string = lake.name