Beyond Kubernetes: Nomad and ECS
Know the simpler orchestrators so you can pick the right tool rather than defaulting to Kubernetes for everything.
Intermediate · about 5 hours · difficulty 3/5
Learn first: Kubernetes Architecture and kubectl
Kubernetes is powerful but complex. For some teams a simpler orchestrator is the better engineering choice, and you may join a company that already runs one.
Amazon ECS
- AWS-native container orchestration: task definitions (like a pod spec), services (keep N tasks running behind a load balancer) and clusters.
- Runs on Fargate (serverless, no nodes to manage) or on EC2 instances.
- Tight integration with IAM task roles, ALB, CloudWatch and Secrets Manager. Very little control-plane overhead.
HashiCorp Nomad
- A single binary scheduler for containers and non-container workloads (raw binaries, Java, VMs).
- Job specs in HCL; integrates with Consul for service discovery and Vault for secrets.
- Simple to operate on-prem or across clouds.
Other options
Docker Swarm (simple but little momentum), and platforms such as Google Cloud Run or Azure Container Apps that run containers without cluster management.
Choosing
Ask how many services you run, whether you need the Kubernetes ecosystem (operators, Helm charts), which cloud you are on, and how much platform staff you have.
Good enough to move on: you can deploy a container behind a load balancer on ECS Fargate or Nomad and argue when that beats Kubernetes.
Key concepts
- ECS task definitions and services
- Fargate vs EC2 launch types
- Nomad jobs and HCL
- Cloud Run / Container Apps
- Docker Swarm
Mini project
Deploy the same container image to ECS Fargate behind an ALB, and write a short comparison of the effort versus deploying it to Kubernetes.
Check yourself
Name two situations where ECS Fargate or Cloud Run is a better choice than running your own Kubernetes cluster.
Free resources
- Amazon ECS docs (AWS)
- Nomad documentation (HashiCorp)