AWS low-cost proof of concept

Java API + static UI on AWS, without overbuilding it.

This sample frontend is meant to live on S3 and CloudFront while the backend runs on a single EC2 instance. Use it to verify the deployment path before adding more AWS services.

Frontend

S3 hosts the built files. CloudFront provides HTTPS, caching, and your public URL.

Backend

Spring Boot runs in Docker on EC2, fronted by Caddy or Nginx for TLS and reverse proxying.

Deploy

GitHub Actions assumes an AWS role, uploads the UI, pushes the API image to ECR, and deploys through SSM.

Backend status

Waiting to call /api/hello.