# sangala632/roboshop-aws-infra architecture

> Architecture diagram of the GitHub repository sangala632/roboshop-aws-infra, 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/sangala632/roboshop-aws-infra
- Repository: https://github.com/sangala632/roboshop-aws-infra

## Overview

This repository provisions AWS infrastructure for running and testing the Roboshop microservices. The documented workflow is to configure the environment and Terraform backend, then run Terraform to create the infrastructure. The tree identifies network, access, database, application, and traffic-entry components, but no source excerpts or documented dependency relationships were provided, so their runtime connections are not asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Network"]
  node_vpc["VPC<br/>[main.tf]"]
  node_security["Security groups<br/>[main.tf]"]
end

subgraph group_access["Access"]
  node_bastion["Bastion host<br/>[main.tf]"]
  node_vpn["VPN<br/>[main.tf]"]
end

subgraph group_data["Data"]
  node_databases[("Databases<br/>[main.tf]")]
end

subgraph group_application["Application"]
  node_catalogue["Catalogue service<br/>[main.tf]"]
  node_components["Roboshop components<br/>[main.tf]"]
  node_user["User service<br/>[main.tf]"]
end

subgraph group_traffic["Traffic"]
  node_backendalb["Backend ALB<br/>[main.tf]"]
  node_acm["TLS certificates<br/>[main.tf]"]
  node_frontendalb["Frontend ALB<br/>[main.tf]"]
  node_cdn["CDN<br/>[main.tf]"]
end

click node_vpc "https://github.com/sangala632/roboshop-aws-infra/blob/main/00-VPC/main.tf"
click node_security "https://github.com/sangala632/roboshop-aws-infra/blob/main/10-SG/main.tf"
click node_bastion "https://github.com/sangala632/roboshop-aws-infra/blob/main/20-bastion/main.tf"
click node_vpn "https://github.com/sangala632/roboshop-aws-infra/blob/main/30-VPN/main.tf"
click node_databases "https://github.com/sangala632/roboshop-aws-infra/blob/main/40-databases/main.tf"
click node_backendalb "https://github.com/sangala632/roboshop-aws-infra/blob/main/50-backend-alb/main.tf"
click node_acm "https://github.com/sangala632/roboshop-aws-infra/blob/main/60-acm/main.tf"
click node_catalogue "https://github.com/sangala632/roboshop-aws-infra/blob/main/60-catalogue/main.tf"
click node_frontendalb "https://github.com/sangala632/roboshop-aws-infra/blob/main/70-frontend-alb/main.tf"
click node_components "https://github.com/sangala632/roboshop-aws-infra/blob/main/80-components/main.tf"
click node_user "https://github.com/sangala632/roboshop-aws-infra/blob/main/90-user/main.tf"
click node_cdn "https://github.com/sangala632/roboshop-aws-infra/blob/main/91-cdn/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_security toneBlue
class node_bastion,node_vpn toneAmber
class node_databases toneMint
class node_catalogue,node_components,node_user toneRose
class node_backendalb,node_acm,node_frontendalb,node_cdn toneIndigo
```

## Components

### Network

- [VPC](https://github.com/sangala632/roboshop-aws-infra/blob/main/00-VPC/main.tf): `00-VPC/main.tf`
- [Security groups](https://github.com/sangala632/roboshop-aws-infra/blob/main/10-SG/main.tf): `10-SG/main.tf`

### Access

- [Bastion host](https://github.com/sangala632/roboshop-aws-infra/blob/main/20-bastion/main.tf): `20-bastion/main.tf`
- [VPN](https://github.com/sangala632/roboshop-aws-infra/blob/main/30-VPN/main.tf): `30-VPN/main.tf`

### Data

- [Databases](https://github.com/sangala632/roboshop-aws-infra/blob/main/40-databases/main.tf): `40-databases/main.tf`

### Application

- [Catalogue service](https://github.com/sangala632/roboshop-aws-infra/blob/main/60-catalogue/main.tf): `60-catalogue/main.tf`
- [Roboshop components](https://github.com/sangala632/roboshop-aws-infra/blob/main/80-components/main.tf): `80-components/main.tf`
- [User service](https://github.com/sangala632/roboshop-aws-infra/blob/main/90-user/main.tf): `90-user/main.tf`

### Traffic

- [Backend ALB](https://github.com/sangala632/roboshop-aws-infra/blob/main/50-backend-alb/main.tf): `50-backend-alb/main.tf`
- [TLS certificates](https://github.com/sangala632/roboshop-aws-infra/blob/main/60-acm/main.tf): `60-acm/main.tf`
- [Frontend ALB](https://github.com/sangala632/roboshop-aws-infra/blob/main/70-frontend-alb/main.tf): `70-frontend-alb/main.tf`
- [CDN](https://github.com/sangala632/roboshop-aws-infra/blob/main/91-cdn/main.tf): `91-cdn/main.tf`
