PhimStream - Serverless Streaming Platform AWS
About This Architecture
PhimStream is a serverless video streaming platform on AWS combining CloudFront CDN, AWS Amplify Next.js frontend, and Lambda microservices for authentication, movie search, watch progress, favorites, and VIP subscriptions. Data flows from users through API Gateway to specialized Lambda functions, with MongoDB Atlas as primary database, Redis ElastiCache for search/suggestion caching, and S3 for avatar and video file storage via pre-signed URLs. This architecture demonstrates serverless best practices including least-privilege IAM roles, EventBridge Scheduler for subscription expiry automation, and CloudWatch observability with SNS alerting to admins. Fork and customize this diagram on Diagrams.so to adapt the Lambda function distribution, caching strategy, or database topology for your streaming use case. The separation of concerns across Lambda functions enables independent scaling and deployment of auth, search, and user preference features.
People also ask
How do you build a serverless video streaming platform on AWS with Lambda microservices and MongoDB?
PhimStream demonstrates a serverless streaming architecture using AWS Lambda for auth, search, watch progress, and subscription management, with CloudFront CDN for video delivery, MongoDB Atlas for data persistence, and Redis ElastiCache for search caching. API Gateway routes HTTP requests to specialized Lambda functions with least-privilege IAM roles, while EventBridge Scheduler automates subscri
- Domain:
- Serverless
- Audience:
- AWS solutions architects designing serverless streaming platforms
Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.