Managed service · Container-only

AWS Batch

Managed scheduling of batch and HPC jobs on EC2, Spot, Fargate or EKS capacity.

When to use it

Choose AWS Batch for large numbers of containerized jobs — simulations, rendering, genomics, financial risk, ML training and data processing — where you want queues, priorities, dependencies and Spot capacity managed for you. Tightly coupled MPI workloads can use multi-node parallel jobs or AWS ParallelCluster.

When not to use it

Avoid Batch for always-on services or request-driven APIs; use ECS, EKS or Lambda. Short event-driven tasks are simpler on Lambda.

Trade-offs at a glance

Hosting model Managed service
Container support Container-only
Minimum nodes 0 (compute environments scale from zero)
State management Stateless (jobs read and write S3, EFS or FSx)
Web hosting Not applicable
Autoscaling Built-in (managed compute environments)
Load balancer Not applicable
Scale limit Bounded by the EC2 vCPU quotas of the account; array jobs of up to 10,000 child jobs
Multiregion Single Region
Virtual network integration Native (compute environments in your VPC)
Hybrid connectivity Through the VPC
GPU support Supported (GPU instance types)
TLS Not applicable
Architecture styles Big compute (HPC)
Required skills Containers, job scheduling, HPC concepts
Operational overhead Low — AWS manages queues, scheduling and capacity
Best for teams Data, research and engineering teams running large job volumes

Frequently asked questions

Is there a charge for AWS Batch?

No. You pay for the EC2 instances, Fargate resources or EKS capacity the jobs run on, which can include Spot Instances at a large discount.

Can AWS Batch use Spot Instances?

Yes. A managed compute environment can use Spot capacity with an allocation strategy, and jobs can retry when an instance is interrupted.

AWS Batch or ParallelCluster?

Batch schedules container jobs as a managed service. AWS ParallelCluster builds a traditional HPC cluster with Slurm for teams who want that interface and tightly coupled MPI jobs.

Starting point, not a verdict

This is one candidate from the AWS compute decision wizard. The right choice depends on your full requirements — evaluate scaling, cost, and operational fit before committing.

Run the AWS wizard →