Pinboard Architecture

Photo-sharing application infrastructure

HTTPS Sign-in Forward Forward SQL Session Upload Serve Photos AWS Region: us-east-1 Users Browser / Mobile Auth0 Identity Provider CloudFront Edge CDN sg-web ALB Load Balancer sg-app API Service Node.js (ECS Fargate) PostgreSQL RDS Managed Redis ElastiCache S3 Bucket Photo Storage Legend External AWS Service Backend Database Security

Frontend & Edge

  • • CloudFront CDN for low-latency delivery
  • • Browser and Mobile app clients
  • • Auth0 for centralized identity management

Compute Layer

  • • Node.js API deployed on ECS Fargate
  • • Traffic managed by Application Load Balancer
  • • Isolation via sg-web and sg-app security groups

Storage Layer

  • • RDS PostgreSQL for structured photo data
  • • ElastiCache Redis for session management
  • • S3 Bucket for high-durability image storage