# kishore-donipudi/aws_e2e_de architecture

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

- Interactive diagram: https://gitdiagram.com/kishore-donipudi/aws_e2e_de
- Repository: https://github.com/kishore-donipudi/aws_e2e_de

## Overview

This repository implements a food-delivery analytics workflow: files enter from S3 through manual or managed ingestion, are transformed through Bronze, Silver, and Gold Lakeflow stages, and feed an AI/BI dashboard embedded in a public Streamlit app. The README documents the ingestion notebooks, dashboard, and Lakeflow job; sampled code confirms the pipeline transformations and app embedding. The job and dashboard definitions are external to this tree, so their nodes have no repository path.

Main entry points: [`app/app.py`](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/app/app.py) (Streamlit dashboard app), [`aws-pipeline/raw_tables.py`](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/raw_tables.py) (Bronze streaming tables), [`Data_ingestion/aws_manual_ingestion.ipynb`](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/Data_ingestion/aws_manual_ingestion.ipynb) (Manual S3 download), [`aws-pipeline/silver_tables.py`](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/silver_tables.py) (Silver cleaned tables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingestion["Data ingestion"]
  node_s3[("AWS S3 CSVs")]
  node_manual_ingest["Manual S3 download"]
  node_file_cleaning["File registration and cleaning"]
  node_uc_volumes[("Unity Catalog Volumes")]
  node_external_location["External location ingestion"]
  node_managed_tables[("Managed tables")]
end

subgraph group_pipeline["Lakeflow pipeline"]
  node_bronze[("Bronze streaming tables<br/>[raw_tables.py]")]
  node_silver[("Silver cleaned tables<br/>[silver_tables.py]")]
  node_gold[("Gold aggregates<br/>[gold_tables.py]")]
end

subgraph group_analytics["Analytics serving"]
  node_dashboard["AI/BI dashboard"]
  node_lakeflow_job["Lakeflow job"]
end

subgraph group_app["Public application"]
  node_streamlit["Streamlit dashboard app<br/>[app.py]"]
  node_diagnostics["App diagnostics<br/>[app_diagnostics.py]"]
end

node_user(("Public user"))

node_s3 -->|"lists and downloads"| node_manual_ingest
node_manual_ingest -->|"downloads files"| node_uc_volumes
node_uc_volumes -->|"registers and cleans"| node_file_cleaning
node_s3 -->|"grants access"| node_external_location
node_external_location -->|"ingests data"| node_managed_tables
node_s3 -->|"streams CSVs"| node_bronze
node_bronze -->|"reads and cleans"| node_silver
node_silver -->|"joins and aggregates"| node_gold
node_gold -->|"supplies analytics"| node_dashboard
node_lakeflow_job -->|"runs pipeline"| node_bronze
node_lakeflow_job -->|"runs dashboard task"| node_dashboard
node_user -->|"views dashboard"| node_streamlit
node_streamlit -->|"embeds live dashboard"| node_dashboard
node_streamlit -->|"installs diagnostics"| node_diagnostics

click node_manual_ingest "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/Data_ingestion/aws_manual_ingestion.ipynb"
click node_file_cleaning "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/Data_ingestion/aws_files_cleaning.ipynb"
click node_bronze "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/raw_tables.py"
click node_silver "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/silver_tables.py"
click node_gold "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/gold_tables.py"
click node_streamlit "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/app/app.py"
click node_diagnostics "https://github.com/kishore-donipudi/aws_e2e_de/blob/main/app/app_diagnostics.py"

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_s3,node_manual_ingest,node_file_cleaning,node_uc_volumes,node_external_location,node_managed_tables,node_user toneBlue
class node_bronze,node_silver,node_gold toneAmber
class node_dashboard,node_lakeflow_job toneMint
class node_streamlit,node_diagnostics toneRose
```

## Components

### Data ingestion

- **AWS S3 CSVs**
- [Manual S3 download](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/Data_ingestion/aws_manual_ingestion.ipynb): `Data_ingestion/aws_manual_ingestion.ipynb`
- [File registration and cleaning](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/Data_ingestion/aws_files_cleaning.ipynb): `Data_ingestion/aws_files_cleaning.ipynb`
- **Unity Catalog Volumes**
- **External location ingestion**
- **Managed tables**

### Lakeflow pipeline

- [Bronze streaming tables](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/raw_tables.py): `aws-pipeline/raw_tables.py`
- [Silver cleaned tables](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/silver_tables.py): `aws-pipeline/silver_tables.py`
- [Gold aggregates](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/aws-pipeline/gold_tables.py): `aws-pipeline/gold_tables.py`

### Analytics serving

- **AI/BI dashboard**
- **Lakeflow job**

### Public application

- [Streamlit dashboard app](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/app/app.py): `app/app.py`
- [App diagnostics](https://github.com/kishore-donipudi/aws_e2e_de/blob/main/app/app_diagnostics.py): `app/app_diagnostics.py`

### Other components

- **Public user**

## Connections

- AWS S3 CSVs → Manual S3 download: lists and downloads (evidence: `README.md`)
- Manual S3 download → Unity Catalog Volumes: downloads files (evidence: `README.md`)
- Unity Catalog Volumes → File registration and cleaning: registers and cleans (evidence: `README.md`)
- AWS S3 CSVs → External location ingestion: grants access (evidence: `README.md`)
- External location ingestion → Managed tables: ingests data (evidence: `README.md`)
- AWS S3 CSVs → Bronze streaming tables: streams CSVs (evidence: `aws-pipeline/raw_tables.py`)
- Bronze streaming tables → Silver cleaned tables: reads and cleans (evidence: `aws-pipeline/silver_tables.py`)
- Silver cleaned tables → Gold aggregates: joins and aggregates (evidence: `aws-pipeline/gold_tables.py`)
- Gold aggregates → AI/BI dashboard: supplies analytics (evidence: `README.md`)
- Lakeflow job → Bronze streaming tables: runs pipeline (evidence: `README.md`)
- Lakeflow job → AI/BI dashboard: runs dashboard task (evidence: `README.md`)
- Public user → Streamlit dashboard app: views dashboard (evidence: `README.md`)
- Streamlit dashboard app → AI/BI dashboard: embeds live dashboard (evidence: `app/app.py`)
- Streamlit dashboard app → App diagnostics: installs diagnostics (evidence: `app/app.py`)
