# ahmedraza92110/automated-ci-cd-aws-project architecture

> Architecture diagram of the GitHub repository ahmedraza92110/automated-ci-cd-aws-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ahmedraza92110/automated-ci-cd-aws-project
- Repository: https://github.com/ahmedraza92110/automated-ci-cd-aws-project

## Overview

This repository demonstrates a Next.js portfolio packaged and published by GitHub Actions, with Helm and raw Kubernetes resources describing deployment. The documented workflow builds and pushes images and updates the chart’s image tag; deployment through Argo CD and EKS is intended but requires configuration. The graph preserves the portfolio’s distinct pages and deployment alternatives. Relationships are based on README documentation; unsampled workflow and deployment files may contain details not represented here.

Main entry points: [`.github/workflows/deploy.yml`](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/.github/workflows/deploy.yml) (GitHub Actions), [`app/page.tsx`](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/page.tsx) (Home page), [`nextjs-app`](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/tree/main/nextjs-app) (Helm chart), [`nextjs-app/templates/deployment.yaml`](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/deployment.yaml) (Workload deployment)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Portfolio application"]
  node_homepage["Home page<br/>[page.tsx]"]
  node_about["About page<br/>[page.tsx]"]
  node_projects["Projects page<br/>[page.tsx]"]
  node_contact["Contact page<br/>[page.tsx]"]
  node_layout["App layout<br/>[layout.tsx]"]
end

subgraph group_pipeline["Image pipeline"]
  node_workflow["GitHub Actions<br/>[deploy.yml]"]
  node_docker["Image build"]
end

subgraph group_desired["Deployment configuration"]
  node_values["Helm values<br/>[values.yaml]"]
  node_chart["Helm chart"]
  node_rawresources["Raw manifests"]
  node_argocd["Argo CD application"]
  node_eks["EKS configuration<br/>[eks-cluster.yaml]"]
end

subgraph group_runtime["Cluster runtime"]
  node_cluster["Kubernetes cluster"]
  node_deployment["Workload deployment<br/>[deployment.yaml]"]
  node_service["Kubernetes service<br/>[service.yaml]"]
  node_ingress["Ingress routing<br/>[ingress.yaml]"]
end

node_developer(("Developer"))
node_registry[("Docker Hub")]
node_user(("Website visitor"))

node_developer -->|"pushes to main"| node_workflow
node_workflow -->|"builds image"| node_docker
node_docker -->|"packages app"| node_homepage
node_workflow -->|"publishes tags"| node_registry
node_workflow -->|"updates image tag"| node_values
node_workflow -->|"commits chart update"| node_developer
node_values -->|"configures"| node_chart
node_chart -->|"renders workload"| node_deployment
node_chart -->|"renders service"| node_service
node_chart -->|"renders ingress"| node_ingress
node_argocd -.->|"reconciles desired state"| node_cluster
node_eks -.->|"configures target"| node_cluster
node_rawresources -->|"defines resources"| node_cluster
node_deployment -->|"manages replicas"| node_cluster
node_service -->|"targets pods"| node_deployment
node_ingress -->|"routes traffic"| node_service
node_user -->|"requests site"| node_ingress
node_homepage -->|"links to"| node_about
node_homepage -->|"links to"| node_projects
node_homepage -->|"links to"| node_contact
node_layout -.->|"wraps page"| node_homepage

click node_homepage "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/page.tsx"
click node_about "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/about/page.tsx"
click node_projects "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/projects/page.tsx"
click node_contact "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/contact/page.tsx"
click node_layout "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/layout.tsx"
click node_workflow "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/.github/workflows/deploy.yml"
click node_docker "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/Dockerfile"
click node_values "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/values.yaml"
click node_chart "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/tree/main/nextjs-app"
click node_rawresources "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/tree/main/k8s"
click node_argocd "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/argocd-application.yaml"
click node_eks "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/eks-cluster.yaml"
click node_deployment "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/deployment.yaml"
click node_service "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/service.yaml"
click node_ingress "https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/ingress.yaml"

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_homepage,node_about,node_projects,node_contact,node_layout toneBlue
class node_workflow,node_docker,node_registry toneAmber
class node_values,node_chart,node_rawresources,node_argocd,node_eks toneMint
class node_cluster,node_deployment,node_service,node_ingress toneRose
class node_developer,node_user toneIndigo
```

## Components

### Portfolio application

- [Home page](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/page.tsx): `app/page.tsx`
- [About page](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [Projects page](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/projects/page.tsx): `app/projects/page.tsx`
- [Contact page](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [App layout](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/app/layout.tsx): `app/layout.tsx`

### Image pipeline

- [GitHub Actions](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/.github/workflows/deploy.yml): `.github/workflows/deploy.yml`
- [Image build](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/Dockerfile): `Dockerfile`

### Deployment configuration

- [Helm values](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/values.yaml): `nextjs-app/values.yaml`
- [Helm chart](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/tree/main/nextjs-app): `nextjs-app`
- [Raw manifests](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/tree/main/k8s): `k8s`
- [Argo CD application](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/argocd-application.yaml): `argocd-application.yaml`
- [EKS configuration](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/eks-cluster.yaml): `eks-cluster.yaml`

### Cluster runtime

- **Kubernetes cluster**
- [Workload deployment](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/deployment.yaml): `nextjs-app/templates/deployment.yaml`
- [Kubernetes service](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/service.yaml): `nextjs-app/templates/service.yaml`
- [Ingress routing](https://github.com/ahmedraza92110/automated-ci-cd-aws-project/blob/main/nextjs-app/templates/ingress.yaml): `nextjs-app/templates/ingress.yaml`

### Other components

- **Developer**
- **Docker Hub**
- **Website visitor**

## Connections

- Developer → GitHub Actions: pushes to main (evidence: `README.md`)
- GitHub Actions → Image build: builds image (evidence: `README.md`)
- Image build → Home page: packages app (evidence: `README.md`)
- GitHub Actions → Docker Hub: publishes tags (evidence: `README.md`)
- GitHub Actions → Helm values: updates image tag (evidence: `README.md`)
- GitHub Actions → Developer: commits chart update (evidence: `README.md`)
- Helm values → Helm chart: configures (evidence: `README.md`)
- Helm chart → Workload deployment: renders workload (evidence: `README.md`)
- Helm chart → Kubernetes service: renders service (evidence: `README.md`)
- Helm chart → Ingress routing: renders ingress (evidence: `README.md`)
- Argo CD application → Kubernetes cluster: reconciles desired state (evidence: `README.md`)
- EKS configuration → Kubernetes cluster: configures target (evidence: `README.md`)
- Raw manifests → Kubernetes cluster: defines resources (evidence: `README.md`)
- Workload deployment → Kubernetes cluster: manages replicas (evidence: `README.md`)
- Kubernetes service → Workload deployment: targets pods (evidence: `README.md`)
- Ingress routing → Kubernetes service: routes traffic (evidence: `README.md`)
- Website visitor → Ingress routing: requests site (evidence: `README.md`)
- Home page → About page: links to (evidence: `app/page.tsx`)
- Home page → Projects page: links to (evidence: `app/page.tsx`)
- Home page → Contact page: links to (evidence: `app/page.tsx`)
- App layout → Home page: wraps page (evidence: `README.md`)
