How senac-sp-ara/app-senac-aws works
This repository is a Spring Boot demo service and its documented EKS runtime configuration. The user workflow is an HTTP request through API Gateway and an internal NLB to a Kubernetes service and application pod; the controller returns an HTML greeting identifying the pod hostname and IP. Kubernetes health probes and CPU-based autoscaling support the deployment. The README describes infrastructure and scaling relationships; source excerpts were not provided, so edges rely on those documented relationships.
Main entry points: DemoAwsApplication.java Spring Boot Pods · ControllerAWS.java Greeting Controller · service.yaml NodePort Service · deployment.yaml Application Deployment
Components 11
Spring Boot Service
- Spring Boot Entry
src/main/java/sp/senac/demo/aws/DemoAwsApplication.java - Greeting Controller
src/main/java/sp/senac/demo/aws/controller/ControllerAWS.java
AWS Traffic Routing
- API Gateway
- Internal NLB
EKS Workloads
- NodePort Service
k8s/service.yaml - Application Deployment
k8s/deployment.yaml - Spring Boot Pods
src/main/java/sp/senac/demo/aws/DemoAwsApplication.java
Health and Scaling
- Health Probes
src/main/resources/application.yaml - Horizontal Autoscaler
k8s/hpa.yaml - Metrics Server
Other components
- User / Client
Connections 11
- User / Client → API Gateway: sends request
README.md - API Gateway → Internal NLB: VPC Link
README.md - Internal NLB → NodePort Service: forwards traffic
README.md - NodePort Service → Spring Boot Pods: routes requests
README.md - Application Deployment → Spring Boot Pods: manages replicas
README.md - Spring Boot Pods → Spring Boot Entry: runs
README.md - Spring Boot Entry → Greeting Controller: serves endpoint
README.md - Greeting Controller → User / Client: returns HTML
README.md - Health Probes → Spring Boot Pods: exposes health
README.md - Horizontal Autoscaler → Application Deployment: scales replicas
README.md - Metrics Server → Horizontal Autoscaler: provides metrics
README.md