Sample Web App Architecture

Classic 3-tier SaaS on AWS — generated by the Archify Claude Skill

Users Browser/Mobile Auth Provider OAuth 2.0 AWS Region: us-west-2 CloudFront CDN S3 Buckets • bucket-one • bucket-two • bucket-three OAI Protected sg-name :port Load Balancer HTTPS :443 API Server FastAPI :8000 Database PostgreSQL Frontend React + TypeScript Additional detail More info domain.example.com HTTPS OAI TLS JWT + PKCE Legend Frontend Backend Cloud Service Database Security Auth Flow Security Group

Security

  • • OAuth 2.0 via external provider
  • • JWT + PKCE auth flow
  • • TLS everywhere
  • • Security groups scope ingress

AWS Services

  • • CloudFront CDN + WAF
  • • S3 buckets (OAI-protected)
  • • ALB → ECS / Lambda
  • • RDS PostgreSQL (Multi-AZ)

Data

  • • PostgreSQL primary
  • • Static assets on S3
  • • CDN-cached GET responses
  • • Daily snapshots retained 30d