Interview Prep/Docker/Architecture & Design Decisions

When should you use Docker Compose, Swarm, ECS, or Kubernetes?

IntermediateProductionArchitecture & Design Decisions
Answer
  • Compose on one VM: small apps, internal tools, CI stacks; cheapest and simplest.
  • Swarm: small multi-node clusters when the team refuses Kubernetes complexity.
  • ECS/Fargate: AWS-native, no control plane to run, great for teams already on AWS.
  • Kubernetes: multi-team platforms, autoscaling, ecosystem (operators, service mesh, GitOps).

Choose on team skills, scale, and need for portability, not hype.

All Docker questions Roadmap: Docker & containers

More on Architecture & Design Decisions