Where do you run containers for a small team: Compose on a VM, ECS, or Kubernetes?
IntermediateScenarioCI/CD and production rollouts
Answer
Situation read → Choose by scale and team skill.
What I'd do → A few services and small team: Compose on a VM (or ECS Fargate/Cloud Run if on cloud) with backups and monitoring. Kubernetes when you need autoscaling, multi-team multi-tenant, rich rollout strategies, or many services. Avoid operating Kubernetes without capacity to maintain it.
Why → Operational cost should match need.
Interview tip → Defend the choice with requirements, not trends.
More on CI/CD and production rollouts
Design a GitHub Actions workflow that builds, scans and pushes an image.IntermediateZero-downtime deploy on a single Docker host.AdvancedDeploy via GitOps with image digests.IntermediateCanary a new image on a Swarm service.AdvancedDocker build is flaky in CI due to network errors on package installs.IntermediateRun database migrations in the deploy flow of containerized apps.Intermediate