# ose-jossy/tier_2-high-availability-web-infrastructure-on-aws architecture

> Architecture diagram of the GitHub repository ose-jossy/tier_2-high-availability-web-infrastructure-on-aws, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws
- Repository: https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws

## Overview

CloudBinocular.online is a highly available AWS-hosted website, documented through an infrastructure build log and operational runbook rather than application source. The principal visitor flow is DNS to the HTTPS load balancer, then through its target group to Nginx instances; shared EFS serves the site files across instances. A separate operations branch covers jump-server access and publishing content, while Datadog reports CPU metrics and sends alerts to Slack. Relationships below are limited to those explicitly documented in README.md; no source excerpts were available.

Main entry points: [`README.md`](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md) (Nginx Web Servers)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Network and Routing"]
  node_dns["Domain DNS<br/>[README.md]"]
  node_vpc["Two-AZ VPC<br/>[README.md]"]
  node_public_subnets["Public Subnets<br/>[README.md]"]
  node_private_subnets["Private Subnets<br/>[README.md]"]
  node_alb["HTTPS Load Balancer<br/>[README.md]"]
  node_acm["ACM Certificate<br/>[README.md]"]
  node_nat["NAT Gateway<br/>[README.md]"]
end

subgraph group_serving["Web Serving"]
  node_target_group["Target Group<br/>[README.md]"]
  node_asg["Auto Scaling Group<br/>[README.md]"]
  node_launch_template["Launch Template<br/>[README.md]"]
  node_web_servers["Nginx Web Servers<br/>[README.md]"]
  node_efs[("Shared EFS<br/>[README.md]")]
end

subgraph group_operations["Operations"]
  node_bastion["Jump Server<br/>[README.md]"]
  node_site_files["Website Files<br/>[README.md]"]
end

subgraph group_monitoring["Monitoring"]
  node_agent["Datadog Agent<br/>[README.md]"]
  node_datadog["Datadog Monitors<br/>[README.md]"]
  node_slack["Slack Alerts<br/>[README.md]"]
end

node_visitor(("Website Visitor"))
node_operator(("Site Operator"))

node_visitor -->|"requests domain"| node_dns
node_dns -->|"resolves to"| node_alb
node_alb -->|"forwards traffic"| node_target_group
node_target_group -->|"routes requests"| node_web_servers
node_acm -->|"provides certificate"| node_alb
node_asg -->|"scales instances"| node_web_servers
node_launch_template -->|"configures instances"| node_asg
node_web_servers -->|"mount shared files"| node_efs
node_bastion -->|"mount shared files"| node_efs
node_operator -->|"connects by SSH"| node_bastion
node_bastion -->|"hops by SSH"| node_web_servers
node_operator -->|"publishes content"| node_site_files
node_site_files -->|"uploads to"| node_efs
node_web_servers -->|"runs agent"| node_agent
node_agent -->|"reports CPU metrics"| node_datadog
node_datadog -->|"sends alerts"| node_slack

click node_dns "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_vpc "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_public_subnets "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_private_subnets "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_alb "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_acm "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_nat "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_bastion "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_target_group "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_asg "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_launch_template "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_web_servers "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_efs "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_site_files "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_agent "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_datadog "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"
click node_slack "https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md"

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_dns,node_vpc,node_public_subnets,node_private_subnets,node_alb,node_acm,node_nat toneBlue
class node_target_group,node_asg,node_launch_template,node_web_servers,node_efs toneAmber
class node_bastion,node_site_files toneMint
class node_agent,node_datadog,node_slack toneRose
class node_visitor,node_operator toneIndigo
```

## Components

### Network and Routing

- [Domain DNS](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Two-AZ VPC](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Public Subnets](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Private Subnets](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [HTTPS Load Balancer](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [ACM Certificate](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [NAT Gateway](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`

### Web Serving

- [Target Group](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Auto Scaling Group](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Launch Template](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Nginx Web Servers](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Shared EFS](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`

### Operations

- [Jump Server](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Website Files](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`

### Monitoring

- [Datadog Agent](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Datadog Monitors](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`
- [Slack Alerts](https://github.com/ose-jossy/tier_2-high-availability-web-infrastructure-on-aws/blob/main/README.md): `README.md`

### Other components

- **Website Visitor**
- **Site Operator**

## Connections

- Website Visitor → Domain DNS: requests domain (evidence: `README.md`)
- Domain DNS → HTTPS Load Balancer: resolves to (evidence: `README.md`)
- HTTPS Load Balancer → Target Group: forwards traffic (evidence: `README.md`)
- Target Group → Nginx Web Servers: routes requests (evidence: `README.md`)
- ACM Certificate → HTTPS Load Balancer: provides certificate (evidence: `README.md`)
- Auto Scaling Group → Nginx Web Servers: scales instances (evidence: `README.md`)
- Launch Template → Auto Scaling Group: configures instances (evidence: `README.md`)
- Nginx Web Servers → Shared EFS: mount shared files (evidence: `README.md`)
- Jump Server → Shared EFS: mount shared files (evidence: `README.md`)
- Site Operator → Jump Server: connects by SSH (evidence: `README.md`)
- Jump Server → Nginx Web Servers: hops by SSH (evidence: `README.md`)
- Site Operator → Website Files: publishes content (evidence: `README.md`)
- Website Files → Shared EFS: uploads to (evidence: `README.md`)
- Nginx Web Servers → Datadog Agent: runs agent (evidence: `README.md`)
- Datadog Agent → Datadog Monitors: reports CPU metrics (evidence: `README.md`)
- Datadog Monitors → Slack Alerts: sends alerts (evidence: `README.md`)
