| Pattern | Mô tả | Use Case |
|---|---|---|
| IAM Roles | Service assume role để gọi service khác | AWS service-to-service |
| API Gateway + Authorizer | Centralized auth gateway | External-facing APIs |
| Service Mesh (App Mesh) | mTLS giữa services | ECS/EKS microservices |
| VPC Endpoints | Private connectivity | Internal AWS service calls |
Lambda A (Role A) → STS AssumeRole → Role B → Call Service B
Client → API Gateway → Lambda Authorizer → Validate token
→ Route to microservice A
→ Route to microservice B
Service A → STS AssumeRole (Role for Service B) → Call Service B API
Exam Tip: Microservices auth = IAM Roles + least privilege. API Gateway cho external-facing. VPC Endpoints cho private internal communication. Role chaining max 1 hour.