# stacksimplify/terraform-on-aws-eks architecture

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

- Interactive diagram: https://gitdiagram.com/stacksimplify/terraform-on-aws-eks
- Repository: https://github.com/stacksimplify/terraform-on-aws-eks

## Overview

This repository is a hands-on course made up of Terraform manifests and Kubernetes examples, rather than a single application. Its learner workflow progresses from Terraform and Kubernetes fundamentals to provisioning AWS networking and EKS, then deploying workloads and practicing storage, identity, networking, scaling, and observability. The tree shows the lesson directories, while the README documents their capabilities; no source excerpts were provided, so links represent documented course relationships rather than inspected runtime calls.

Main entry points: [`02-Terraform-Basics`](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/02-Terraform-Basics) (Terraform Basics), [`08-AWS-EKS-Cluster-Basics`](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/08-AWS-EKS-Cluster-Basics) (EKS Cluster), [`06-AWS-VPC/06-02-AWS-VPC-using-Terraform`](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/06-AWS-VPC/06-02-AWS-VPC-using-Terraform) (VPC Network), [`07-AWS-EC2-BastionHost`](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/07-AWS-EC2-BastionHost) (Bastion Host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_iac["IaC Basics"]
  node_terraform["Terraform Basics"]
  node_kube_fundamentals["Kubernetes Basics"]
end

subgraph group_provisioning["AWS Provisioning"]
  node_vpc["VPC Network"]
  node_bastion["Bastion Host"]
  node_eks["EKS Cluster"]
  node_state[("Remote State")]
end

subgraph group_cluster["EKS Platform"]
  node_iam["EKS Identity"]
  node_storage["EBS and EFS"]
  node_cluster_addons["Cluster Add-ons"]
end

subgraph group_workloads["Workloads and Access"]
  node_sample_app["Sample Web App"]
  node_terraform_k8s["Terraform Workloads"]
  node_access["User Access and RBAC"]
  node_ingress["Ingress and Routing"]
  node_externaldns["ExternalDNS"]
  node_fargate["Fargate Workloads"]
end

subgraph group_operations["Operations"]
  node_autoscaling["Autoscaling"]
  node_pod_scaling["Pod Autoscaling"]
  node_observability["Monitoring and Logging"]
end

node_learner(("Learner"))
node_aws{{"AWS Cloud"}}
node_kubernetes{{"Kubernetes Cluster"}}

node_learner -->|"studies"| node_iac
node_learner -->|"learns"| node_terraform
node_learner -->|"learns"| node_kube_fundamentals
node_terraform -->|"provisions with Terraform"| node_vpc
node_terraform -->|"provisions with Terraform"| node_eks
node_vpc -->|"creates network in"| node_aws
node_bastion -->|"creates instances in"| node_aws
node_eks -->|"creates cluster in"| node_aws
node_terraform -->|"configures remote state"| node_state
node_eks -->|"provides cluster"| node_kubernetes
node_iam -->|"configures service identity"| node_kubernetes
node_storage -->|"installs CSI storage"| node_kubernetes
node_cluster_addons -->|"installs controller"| node_kubernetes
node_sample_app -->|"deploys with YAML"| node_kubernetes
node_terraform_k8s -->|"manages resources"| node_kubernetes
node_access -->|"configures access"| node_kubernetes
node_ingress -->|"defines ingress"| node_kubernetes
node_externaldns -->|"updates DNS"| node_aws
node_fargate -->|"runs workloads"| node_kubernetes
node_autoscaling -->|"scales nodes"| node_kubernetes
node_pod_scaling -->|"scales pods"| node_kubernetes
node_observability -->|"collects telemetry"| node_kubernetes

click node_iac "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/01-Infrastructure-as-Code-IaC-Basics"
click node_terraform "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/02-Terraform-Basics"
click node_kube_fundamentals "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/09-Kubernetes-Fundamentals"
click node_vpc "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/06-AWS-VPC/06-02-AWS-VPC-using-Terraform"
click node_bastion "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/07-AWS-EC2-BastionHost"
click node_eks "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/08-AWS-EKS-Cluster-Basics"
click node_state "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/12-Terraform-Remote-State-Storage"
click node_iam "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/13-EKS-IRSA"
click node_storage "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/14-EBS-CSI-Install-Kubernetes-Storage"
click node_cluster_addons "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/26-EKS-with-LoadBalancer-Controller"
click node_sample_app "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/15-EBS-Kubernetes-SampleApp-YAML/03-kube-manifests-UMS-WebApp"
click node_terraform_k8s "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/11-Kubernetes-Resources-via-Terraform"
click node_access "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/19-EKS-Admins-AWS-Admin-User"
click node_ingress "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/27-EKS-Ingress-Basics/03-kube-manifests-ingress-basics"
click node_externaldns "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/30-EKS-ExternalDNS-Install"
click node_fargate "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/43-EKS-Fargate-Profiles"
click node_autoscaling "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/50-EKS-Cluster-Autoscaler"
click node_pod_scaling "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/52-EKS-Horizontal-Pod-Autoscaler"
click node_observability "https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/55-EKS-Monitoring-Logging-Terraform"

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_iac,node_terraform,node_kube_fundamentals toneBlue
class node_vpc,node_bastion,node_eks,node_state toneAmber
class node_iam,node_storage,node_cluster_addons toneMint
class node_sample_app,node_terraform_k8s,node_access,node_ingress,node_externaldns,node_fargate toneRose
class node_autoscaling,node_pod_scaling,node_observability,node_learner,node_aws,node_kubernetes toneIndigo
```

## Components

### Foundations

- [IaC Basics](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/01-Infrastructure-as-Code-IaC-Basics): `01-Infrastructure-as-Code-IaC-Basics`
- [Terraform Basics](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/02-Terraform-Basics): `02-Terraform-Basics`
- [Kubernetes Basics](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/09-Kubernetes-Fundamentals): `09-Kubernetes-Fundamentals`

### AWS Provisioning

- [VPC Network](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/06-AWS-VPC/06-02-AWS-VPC-using-Terraform): `06-AWS-VPC/06-02-AWS-VPC-using-Terraform`
- [Bastion Host](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/07-AWS-EC2-BastionHost): `07-AWS-EC2-BastionHost`
- [EKS Cluster](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/08-AWS-EKS-Cluster-Basics): `08-AWS-EKS-Cluster-Basics`
- [Remote State](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/12-Terraform-Remote-State-Storage): `12-Terraform-Remote-State-Storage`

### EKS Platform

- [EKS Identity](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/13-EKS-IRSA): `13-EKS-IRSA`
- [EBS and EFS](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/14-EBS-CSI-Install-Kubernetes-Storage): `14-EBS-CSI-Install-Kubernetes-Storage`
- [Cluster Add-ons](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/26-EKS-with-LoadBalancer-Controller): `26-EKS-with-LoadBalancer-Controller`

### Workloads and Access

- [Sample Web App](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/15-EBS-Kubernetes-SampleApp-YAML/03-kube-manifests-UMS-WebApp): `15-EBS-Kubernetes-SampleApp-YAML/03-kube-manifests-UMS-WebApp`
- [Terraform Workloads](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/11-Kubernetes-Resources-via-Terraform): `11-Kubernetes-Resources-via-Terraform`
- [User Access and RBAC](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/19-EKS-Admins-AWS-Admin-User): `19-EKS-Admins-AWS-Admin-User`
- [Ingress and Routing](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/27-EKS-Ingress-Basics/03-kube-manifests-ingress-basics): `27-EKS-Ingress-Basics/03-kube-manifests-ingress-basics`
- [ExternalDNS](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/30-EKS-ExternalDNS-Install): `30-EKS-ExternalDNS-Install`
- [Fargate Workloads](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/43-EKS-Fargate-Profiles): `43-EKS-Fargate-Profiles`

### Operations

- [Autoscaling](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/50-EKS-Cluster-Autoscaler): `50-EKS-Cluster-Autoscaler`
- [Pod Autoscaling](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/52-EKS-Horizontal-Pod-Autoscaler): `52-EKS-Horizontal-Pod-Autoscaler`
- [Monitoring and Logging](https://github.com/stacksimplify/terraform-on-aws-eks/tree/main/55-EKS-Monitoring-Logging-Terraform): `55-EKS-Monitoring-Logging-Terraform`

### Other components

- **Learner**
- **AWS Cloud**
- **Kubernetes Cluster**

## Connections

- Learner → IaC Basics: studies (evidence: `README.md`)
- Learner → Terraform Basics: learns (evidence: `README.md`)
- Learner → Kubernetes Basics: learns (evidence: `README.md`)
- Terraform Basics → VPC Network: provisions with Terraform (evidence: `README.md`)
- Terraform Basics → EKS Cluster: provisions with Terraform (evidence: `README.md`)
- VPC Network → AWS Cloud: creates network in (evidence: `README.md`)
- Bastion Host → AWS Cloud: creates instances in (evidence: `README.md`)
- EKS Cluster → AWS Cloud: creates cluster in (evidence: `README.md`)
- Terraform Basics → Remote State: configures remote state (evidence: `README.md`)
- EKS Cluster → Kubernetes Cluster: provides cluster (evidence: `README.md`)
- EKS Identity → Kubernetes Cluster: configures service identity (evidence: `README.md`)
- EBS and EFS → Kubernetes Cluster: installs CSI storage (evidence: `README.md`)
- Cluster Add-ons → Kubernetes Cluster: installs controller (evidence: `README.md`)
- Sample Web App → Kubernetes Cluster: deploys with YAML (evidence: `README.md`)
- Terraform Workloads → Kubernetes Cluster: manages resources (evidence: `README.md`)
- User Access and RBAC → Kubernetes Cluster: configures access (evidence: `README.md`)
- Ingress and Routing → Kubernetes Cluster: defines ingress (evidence: `README.md`)
- ExternalDNS → AWS Cloud: updates DNS (evidence: `README.md`)
- Fargate Workloads → Kubernetes Cluster: runs workloads (evidence: `README.md`)
- Autoscaling → Kubernetes Cluster: scales nodes (evidence: `README.md`)
- Pod Autoscaling → Kubernetes Cluster: scales pods (evidence: `README.md`)
- Monitoring and Logging → Kubernetes Cluster: collects telemetry (evidence: `README.md`)
