Pinboard Architecture

Photo-sharing application infrastructure layout

AWS Region: us-east-1 Users Browser / Mobile Auth0 Identity Provider CloudFront CDN / Edge S3 Bucket Photo Storage sg-web :443 ALB Application Load Balancer sg-app :80/443 API Service Node.js on ECS Fargate PostgreSQL RDS Instance Redis ElastiCache (Sessions) HTTPS Sign-in Forward Serve Photos Proxy SQL Cache Upload Legend Frontend / User Backend Service AWS Cloud Service Database / Cache Security / Auth Security Group

Application Layer

  • • Node.js API on ECS Fargate
  • • Managed by sg-app security group
  • • Stateless service architecture

AWS Infrastructure

  • • Region: us-east-1
  • • CloudFront for global distribution
  • • ALB for traffic distribution
  • • S3 for scalable photo storage

Data Persistence

  • • PostgreSQL on RDS for metadata
  • • ElastiCache Redis for sessions
  • • S3 for binary image assets