Where do you typically deploy microservices, and how do you choose?
Quick Answer
Common targets: Kubernetes (EKS) for complex, portable, always-on services; ECS/Fargate for simpler container workloads with less ops; and EC2 for legacy or specialized needs. Choose by operational complexity, portability, and scale.
Detailed Answer
EKS gives the richest orchestration (autoscaling, service mesh, GitOps) at the cost of operational complexity; Fargate removes node management for a per-task price; ECS is a lighter AWS-native option; plain EC2 is a fallback for lift-and-shift. Match the platform to team maturity and portability needs rather than defaulting to Kubernetes for everything.
Interview Tip
Answer with the selection criteria (complexity vs ops burden vs portability), not just a list — and resist Kubernetes-for-everything.