Traffic Flow
End-to-End Path
User → mall.atomai.click
→ CloudFront (+ WAF)
→ api-internal.atomai.click (Route53 Latency-based → nearest NLB)
→ NLB (SG: CloudFront prefix list only, TLS:443)
→ API Gateway pods (EKS)
→ Internal services (20 microservices)
Traffic Routing Detail
1. CloudFront (Edge)
- 모든 퍼블릭 트래픽의 진입점
- Frontend static assets는 S3에서 OAC로 서빙
- API 요청(
/api/*)은api-internal.atomai.click으로 라우팅 - WAF 현재 비활성화 (Bot Control이 curl/headless 브라우저 차단하여 임시 해제)
2. Route53 (DNS)
api-internal.atomai.click— Latency-based routing- 사용자의 네트워크 위치에 따라 가장 가까운 리전의 NLB로 라우팅
- 각 리전에 별도의 A record (Alias to NLB)
3. NLB (Load Balancer)
- 리전별 Public subnet에 배포
- TLS termination at NLB (ACM certificate)
- Security Group: CloudFront managed prefix list만 허용
com.amazonaws.global.cloudfront.origin-facing- Port range: 80-443 (단일 규칙, prefix list 45엔트리 × 규칙 한도 60 제약)