Infrastructure

Azure resources

Azure infrastructure is managed by IaC (Infrastructure as Code). Bicep files defined in the infra/bicep folder manage Parameter Pilot specifc resources. Resources on the Shared Development Platform are referenced when necessary.

main.bicep creates the application resource group for this project and the modules below. It also declares the Shared Development Platform resources as existing and wires their names, IDs, and connection strings into those modules. In this way the bicep files in this proejct are responsible for the resources “owned” by this project only while deploying to resources owned by the Shared Development Platform.

Managed by this project

These resources are implemented in infra/bicep and live in rg-distributed-systems-dev, except the Cosmos container and Service Bus topic, which are created on the shared account and namespace in rg-platform-dev.

Provisioned with Bicep from infra/bicep .

Service Name Tier Purpose Bicep
Resource group rg-parameterpilot-dev Subscription Application-owned resources environments/dev/main.bicep
Static web app (UI) stapp-adt-parameterpilot-dev Free Angular UI (Node 22) modules/static-web-app.bicep
Storage account stadtparameterpilotdev Standard_LRS Photo storage modules/storage-account.bicep
Service Bus topic parameterpilot-events Shared namespace Domain events for parameter pilot modules/servicebus.bicep

No click-ops

Tiers in this table must match the IaC parameters. If a SKU changes, change the Bicep or Terraform first, then this table.

Referenced from the shared platform

Declared as existing in environments/dev/main.bicep. This project consumes them. It does not create or set their SKUs.

Referenced as existing resources in environments/dev/main.bicep. This project does not create them.

Service Name Tier Purpose Bicep
Resource group rg-platform-dev Shared Shared platform resource group environments/dev/main.bicep
App Service Plan asp-platform-dev Shared Linux plan hosting the API, UI, and Function environments/dev/main.bicep
Application Insights appi-platform-dev Shared Traces, metrics, and exceptions environments/dev/main.bicep
Azure SQL server sql-adt-platform-dev Shared Logical server for the read-model database environments/dev/main.bicep
Azure SQL database ReferenceProjectsDb Shared Blast-plan projections environments/dev/main.bicep
Cosmos DB account cosmos-adt-platform-dev Shared Event-store account environments/dev/main.bicep
Cosmos DB database ReferenceProjects Shared Event-store database environments/dev/main.bicep
Service Bus namespace sb-adt-platform-dev Shared Namespace for domain-events environments/dev/main.bicep