How qorgh529/eks-petclinic-3tier works
This repository packages the Spring PetClinic staff application as a three-tier service and provides its AWS EKS operating environment. The user path runs from public DNS through the protected gateway and web tier to the PetClinic application and MySQL; the public landing page is served separately by Nginx. The repository also describes canary routing, autoscaling, monitoring/tracing, secrets, and database backup. Source excerpts were unavailable, so relationships below rely on explicit README descriptions; unsampled implementation details are represented only by supported directory paths.
Main entry points: was EKS workloads · gateway NGINX Gateway · web Staff PetClinic · jobs Database backup
Components 20
Traffic and web
- Route 53
- ALB and WAF
- NGINX Gateway
k8s/gateway - Nginx web
docker/web
PetClinic application
- Staff PetClinic
app/src/main/java/org/springframework/samples/petclinic/web - Clinic service
app/src/main/java/org/springframework/samples/petclinic/service - Clinic repositories
app/src/main/java/org/springframework/samples/petclinic/repository
EKS platform
- EKS workloads
k8s/was - Canary routing
k8s/gateway - Autoscaling
k8s/was
Observability
- Prometheus
k8s/monitoring - Grafana
k8s/monitoring - OpenTelemetry
k8s/tracing - Tempo traces
k8s/tracing - Log shipping
k8s/logging
Operations and data
- RDS MySQL
- Secret delivery
k8s/secrets - Database backup
k8s/jobs - S3 backups
Other components
- User
Connections 18
- User → Route 53: resolves
README.md - Route 53 → ALB and WAF: routes to
README.md - ALB and WAF → NGINX Gateway: forwards traffic
README.md - ALB and WAF → User: blocks with 403
README.md - NGINX Gateway → Nginx web: routes by weight
README.md - Nginx web → Staff PetClinic: proxies /was
README.md - Staff PetClinic → Clinic service: uses
- Clinic service → Clinic repositories: accesses data
- Staff PetClinic → RDS MySQL: connects over TLS
README.md - NGINX Gateway → Canary routing: routes canary
README.md - Autoscaling → EKS workloads: scales workloads
README.md - Prometheus → Grafana: feeds dashboards
README.md - OpenTelemetry → Tempo traces: exports traces
README.md - EKS workloads → OpenTelemetry: sends telemetry
README.md - EKS workloads → Log shipping: ships logs
README.md - Secret delivery → EKS workloads: supplies secrets
README.md - Database backup → RDS MySQL: dumps database
README.md - Database backup → S3 backups: writes backups
README.md