# databricks-solutions/cloud-infra-costs architecture

> Architecture diagram of the GitHub repository databricks-solutions/cloud-infra-costs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/databricks-solutions/cloud-infra-costs
- Repository: https://github.com/databricks-solutions/cloud-infra-costs
- Video tour (about a minute): https://gitdiagram.com/databricks-solutions/cloud-infra-costs/video

## Overview

Cloud Infra Costs helps users combine cloud-provider billing data with Databricks system-table data to report classic-compute infrastructure and DBU costs. The documented paths are provider-specific Azure, AWS, and GCP reporting, plus a FOCUS 1.4 dataset generated from Databricks system tables. The README describes these capabilities, but no source excerpts were supplied, so the graph shows only documented data relationships and not internal call order.

Main entry points: [`azure/src`](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/azure/src) (Azure Cost Reporting), [`aws/src`](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/aws/src) (AWS Cost Reporting), [`gcp/src/transformations`](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/gcp/src/transformations) (GCP Cost Pipeline), [`focus/focus_query_1_4.sql`](https://github.com/databricks-solutions/cloud-infra-costs/blob/main/focus/focus_query_1_4.sql) (FOCUS Generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Cost Inputs"]
  node_azure_billing["Azure Cost Exports"]
  node_aws_cur["AWS CUR"]
  node_gcp_billing["GCP Billing Exports"]
  node_dbx_tables[("Databricks System Tables")]
end

subgraph group_cloud["Cloud Reporting"]
  node_azure_reporting["Azure Cost Reporting"]
  node_azure_dashboard["Azure Dashboards"]
  node_aws_reporting["AWS Cost Reporting"]
  node_aws_dashboard["AWS Dashboard"]
  node_gcp_reporting["GCP Cost Pipeline"]
  node_gcp_dashboard["GCP Dashboard"]
end

subgraph group_standard["Standardized Costs"]
  node_focus_generator["FOCUS Generator"]
  node_focus_dataset["FOCUS 1.4 Dataset"]
end

node_user(("FinOps User"))

node_azure_billing -->|"unifies"| node_azure_reporting
node_dbx_tables -->|"unifies"| node_azure_reporting
node_azure_reporting -->|"reports in"| node_azure_dashboard
node_aws_cur -->|"unifies"| node_aws_reporting
node_dbx_tables -->|"unifies"| node_aws_reporting
node_aws_reporting -->|"reports in"| node_aws_dashboard
node_gcp_billing -->|"unifies"| node_gcp_reporting
node_dbx_tables -->|"unifies"| node_gcp_reporting
node_gcp_reporting -->|"reports in"| node_gcp_dashboard
node_dbx_tables -->|"generates from"| node_focus_generator
node_focus_generator -->|"produces"| node_focus_dataset
node_user -->|"views"| node_azure_dashboard
node_user -->|"views"| node_aws_dashboard
node_user -->|"views"| node_gcp_dashboard
node_user -->|"uses"| node_focus_dataset

click node_azure_reporting "https://github.com/databricks-solutions/cloud-infra-costs/tree/main/azure/src"
click node_azure_dashboard "https://github.com/databricks-solutions/cloud-infra-costs/blob/main/azure/src/azure_cost_dashboard.lvdash.json"
click node_aws_reporting "https://github.com/databricks-solutions/cloud-infra-costs/tree/main/aws/src"
click node_aws_dashboard "https://github.com/databricks-solutions/cloud-infra-costs/blob/main/aws/src/aws_cost_dashboard.lvdash.json"
click node_gcp_reporting "https://github.com/databricks-solutions/cloud-infra-costs/tree/main/gcp/src/transformations"
click node_gcp_dashboard "https://github.com/databricks-solutions/cloud-infra-costs/blob/main/gcp/src/gcp_cost_monitoring_dashboard.lvdash.json"
click node_focus_generator "https://github.com/databricks-solutions/cloud-infra-costs/blob/main/focus/focus_query_1_4.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_azure_billing,node_aws_cur,node_gcp_billing,node_dbx_tables,node_user toneBlue
class node_azure_reporting,node_azure_dashboard,node_aws_reporting,node_aws_dashboard,node_gcp_reporting,node_gcp_dashboard toneAmber
class node_focus_generator,node_focus_dataset toneMint
```

## Components

### Cost Inputs

- **Azure Cost Exports**
- **AWS CUR**
- **GCP Billing Exports**
- **Databricks System Tables**

### Cloud Reporting

- [Azure Cost Reporting](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/azure/src): `azure/src`
- [Azure Dashboards](https://github.com/databricks-solutions/cloud-infra-costs/blob/main/azure/src/azure_cost_dashboard.lvdash.json): `azure/src/azure_cost_dashboard.lvdash.json`
- [AWS Cost Reporting](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/aws/src): `aws/src`
- [AWS Dashboard](https://github.com/databricks-solutions/cloud-infra-costs/blob/main/aws/src/aws_cost_dashboard.lvdash.json): `aws/src/aws_cost_dashboard.lvdash.json`
- [GCP Cost Pipeline](https://github.com/databricks-solutions/cloud-infra-costs/tree/main/gcp/src/transformations): `gcp/src/transformations`
- [GCP Dashboard](https://github.com/databricks-solutions/cloud-infra-costs/blob/main/gcp/src/gcp_cost_monitoring_dashboard.lvdash.json): `gcp/src/gcp_cost_monitoring_dashboard.lvdash.json`

### Standardized Costs

- [FOCUS Generator](https://github.com/databricks-solutions/cloud-infra-costs/blob/main/focus/focus_query_1_4.sql): `focus/focus_query_1_4.sql`
- **FOCUS 1.4 Dataset**

### Other components

- **FinOps User**

## Connections

- Azure Cost Exports → Azure Cost Reporting: unifies (evidence: `README.md`)
- Databricks System Tables → Azure Cost Reporting: unifies (evidence: `README.md`)
- Azure Cost Reporting → Azure Dashboards: reports in (evidence: `README.md`)
- AWS CUR → AWS Cost Reporting: unifies (evidence: `README.md`)
- Databricks System Tables → AWS Cost Reporting: unifies (evidence: `README.md`)
- AWS Cost Reporting → AWS Dashboard: reports in (evidence: `README.md`)
- GCP Billing Exports → GCP Cost Pipeline: unifies (evidence: `README.md`)
- Databricks System Tables → GCP Cost Pipeline: unifies (evidence: `README.md`)
- GCP Cost Pipeline → GCP Dashboard: reports in (evidence: `README.md`)
- Databricks System Tables → FOCUS Generator: generates from (evidence: `README.md`)
- FOCUS Generator → FOCUS 1.4 Dataset: produces (evidence: `README.md`)
- FinOps User → Azure Dashboards: views (evidence: `README.md`)
- FinOps User → AWS Dashboard: views (evidence: `README.md`)
- FinOps User → GCP Dashboard: views (evidence: `README.md`)
- FinOps User → FOCUS 1.4 Dataset: uses (evidence: `README.md`)
