# sagarchatterjee19/gcp_proj architecture

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

- Interactive diagram: https://gitdiagram.com/sagarchatterjee19/gcp_proj
- Repository: https://github.com/sagarchatterjee19/gcp_proj

## Overview

This repository is a Terraform-based cloud infrastructure and application deployment project. Its visible components cover network, bastion access, GKE, database, load balancing, container registry, Jenkins, Helm-based application deployment, and Zscaler connectivity. The tree also includes a Dev environment and an application-deployment module. No README content or source excerpts were provided, so relationships between these components cannot be verified; the graph therefore shows subsystem membership without asserting runtime or provisioning edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Network and access"]
  node_vpc["VPC<br/>[main.tf]"]
  node_bastion["Bastion host<br/>[main.tf]"]
end

subgraph group_platform["Cloud platform"]
  node_gke["GKE cluster<br/>[main.tf]"]
  node_database[("Database<br/>[main.tf]")]
  node_alb["Application load balancer<br/>[main.tf]"]
end

subgraph group_delivery["Application delivery"]
  node_gar["Artifact registry<br/>[main.tf]"]
  node_jenkins["Jenkins VM<br/>[main.tf]"]
  node_app_deployment["App deployment<br/>[main.tf]"]
  node_helm_chart["Two-tier Helm chart<br/>[deployment.yaml]"]
end

subgraph group_connectivity["Security connectivity"]
  node_zscaler_hub["Zscaler hub<br/>[main.tf]"]
  node_zscaler_connectors["Spoke connectors<br/>[main.tf]"]
end

node_dev_environment["Dev environment<br/>[main.tf]"]

click node_vpc "https://github.com/sagarchatterjee19/gcp_proj/blob/master/01-VPC_module/main.tf"
click node_bastion "https://github.com/sagarchatterjee19/gcp_proj/blob/master/02-Bastion_module/main.tf"
click node_zscaler_hub "https://github.com/sagarchatterjee19/gcp_proj/blob/master/zscaler_hub/main.tf"
click node_zscaler_connectors "https://github.com/sagarchatterjee19/gcp_proj/blob/master/zscaler_spoke_connectors/main.tf"
click node_gke "https://github.com/sagarchatterjee19/gcp_proj/blob/master/03-GKE_module/main.tf"
click node_database "https://github.com/sagarchatterjee19/gcp_proj/blob/master/04-Database_Module/main.tf"
click node_alb "https://github.com/sagarchatterjee19/gcp_proj/blob/master/05-ALB_Module/main.tf"
click node_gar "https://github.com/sagarchatterjee19/gcp_proj/blob/master/06-GAR/main.tf"
click node_jenkins "https://github.com/sagarchatterjee19/gcp_proj/blob/master/07-jenkins-vm/main.tf"
click node_app_deployment "https://github.com/sagarchatterjee19/gcp_proj/blob/master/app-deployment/main.tf"
click node_helm_chart "https://github.com/sagarchatterjee19/gcp_proj/blob/master/helm/two-tier-app/templates/deployment.yaml"
click node_dev_environment "https://github.com/sagarchatterjee19/gcp_proj/blob/master/Environments/Dev/main.tf"

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_vpc,node_bastion toneBlue
class node_gke,node_database,node_alb toneAmber
class node_gar,node_jenkins,node_app_deployment,node_helm_chart toneMint
class node_zscaler_hub,node_zscaler_connectors toneRose
class node_dev_environment toneTeal
```

## Components

### Network and access

- [VPC](https://github.com/sagarchatterjee19/gcp_proj/blob/master/01-VPC_module/main.tf): `01-VPC_module/main.tf`
- [Bastion host](https://github.com/sagarchatterjee19/gcp_proj/blob/master/02-Bastion_module/main.tf): `02-Bastion_module/main.tf`

### Cloud platform

- [GKE cluster](https://github.com/sagarchatterjee19/gcp_proj/blob/master/03-GKE_module/main.tf): `03-GKE_module/main.tf`
- [Database](https://github.com/sagarchatterjee19/gcp_proj/blob/master/04-Database_Module/main.tf): `04-Database_Module/main.tf`
- [Application load balancer](https://github.com/sagarchatterjee19/gcp_proj/blob/master/05-ALB_Module/main.tf): `05-ALB_Module/main.tf`

### Application delivery

- [Artifact registry](https://github.com/sagarchatterjee19/gcp_proj/blob/master/06-GAR/main.tf): `06-GAR/main.tf`
- [Jenkins VM](https://github.com/sagarchatterjee19/gcp_proj/blob/master/07-jenkins-vm/main.tf): `07-jenkins-vm/main.tf`
- [App deployment](https://github.com/sagarchatterjee19/gcp_proj/blob/master/app-deployment/main.tf): `app-deployment/main.tf`
- [Two-tier Helm chart](https://github.com/sagarchatterjee19/gcp_proj/blob/master/helm/two-tier-app/templates/deployment.yaml): `helm/two-tier-app/templates/deployment.yaml`

### Security connectivity

- [Zscaler hub](https://github.com/sagarchatterjee19/gcp_proj/blob/master/zscaler_hub/main.tf): `zscaler_hub/main.tf`
- [Spoke connectors](https://github.com/sagarchatterjee19/gcp_proj/blob/master/zscaler_spoke_connectors/main.tf): `zscaler_spoke_connectors/main.tf`

### Other components

- [Dev environment](https://github.com/sagarchatterjee19/gcp_proj/blob/master/Environments/Dev/main.tf): `Environments/Dev/main.tf`
