Deep Dive!
🐬 DEEP DIVE! : Cloud Architecture
Cloud-Native Intelligent Content Platform on AWS
⚡ Main Request Flow (핵심 데이터 흐름)
💻
User
Web Browser
→
🌍
CloudFront
CDN + Routing
→
⚛️
Frontend
Next.js SSR
→
🔧
Backend
Hono API
→
🗄️
Database
DynamoDB
💡 핵심 포인트:
CloudFront가 단일 진입점으로 경로별 라우팅 (/→Frontend, /api/*→Backend, /assets/*→S3, /speeches/*→S3)
☁️ AWS CLOUD LAYER
🌐
Content Delivery & Edge
▼
Route 53
DNS Management
ACM
SSL/TLS Certificates
CloudFront
Global CDN + Router
⚛️
Frontend & Backend Services
▼
Frontend Lambda
Docker + Next.js SSR
S3 Assets
Static Files (JS/CSS)
API Gateway
HTTP API Endpoints
Backend Lambda
Hono 3-Tier Architecture
Search Lambda
OpenSearch Integration
💾
Data & Storage
▼
DynamoDB
Single-Table + GSI + Stream
Image S3 Bucket
Images & Thumbnails
Speech S3 Bucket
Generated Audio Files
⚙️
Asynchronous Pipelines (Event-Driven)
▼
Image Resizing Pipeline
S3 Image Upload
→
EventBridge
→
Image Processor λ (sharp)
→
S3 Thumbnails
AI Speech Synthesis Pipeline
API Request
→
Backend λ (Invoke)
→
Speech Synthesis λ
→
Polly
→
S3
→
SNS
→
Update URL λ
→
DynamoDB
Search Indexing Pipeline
DynamoDB Stream
→
Indexing λ
→
OpenSearch
🧠
AI & Search Services
▼
Bedrock (Claude)
AI Summary Generation
Polly
Text-to-Speech
OpenSearch
Full-text Search Cluster
🔐
Security & Authentication
▼
Cognito
User Authentication
IAM
Least Privilege Access
📊
Observability & Monitoring
▼
CloudWatch
Logs, Metrics & Alarms
X-Ray
Distributed Tracing
Sentry
Error Tracking
🛠️ DEVELOPER EXPERIENCE (DevOps)
🔄
CI/CD Pipeline
▼
Deployment Flow
VS Code
→
Git Push
→
GitHub
→
GitHub Actions
→
Self-hosted Runner (EC2)
→
ECR (Docker)
→
CDK Deploy
→
AWS Infrastructure