HashiCorp Nomad is a workload orchestrator that deploys containers, VMs, and binaries. If Kubernetes is too complex, Nomad gives you 80% of the value with 20% of the complexity.
What Is Nomad?
Nomad schedules and deploys workloads across a cluster. It handles Docker containers, Java apps, binaries, and even Windows services.
Features:
- Multi-workload (Docker, exec, Java, QEMU)
- Single binary
- Multi-datacenter
- Batch scheduling
- Service mesh (with Consul)
- Free and open source
Quick Start
# Install
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt install nomad
# Dev mode
nomad agent -dev
Job File
job "web" {
group "app" {
count = 3
task "server" {
driver = "docker"
config {
image = "nginx:latest"
ports = ["http"]
}
resources {
cpu = 256
memory = 128
}
}
network {
port "http" { to = 80 }
}
}
}
REST API
# List jobs
curl http://localhost:4646/v1/jobs
# Get job status
curl http://localhost:4646/v1/job/web
# Submit job
nomad job run web.nomad.hcl
# Scale
curl -X POST http://localhost:4646/v1/job/web/scale \
-d '{"Count":5,"Target":{"Group":"app"}}'
Use Cases
- Simple orchestration — Kubernetes alternative
- Legacy apps — deploy non-containerized workloads
- Batch processing — scheduled jobs
- Edge — lightweight cluster management
- Multi-cloud — federate across providers
Need web data at scale? Check out my scraping tools on Apify or email spinov001@gmail.com for custom solutions.
Top comments (0)