Batch Workloads with Amazon EC2 Spot Instances

Save up to 90% on fully managed batch processing

AWS Batch dynamically provisions the optimal quantity and type of compute resources (e.g. CPU or memory optimized instances) and eliminates the need to install and manage batch computing software or server clusters. With Batch you can spend less time on managing infrastructure and more time analyzing results and solving problems.

EC2 Spot Instances are unused EC2 capacity available at up to a 90% discount compared to On-Demand prices. As Spot Instances can be reclaimed with a two-minute warning, they are ideal for fault tolerant applications. Since Batch workloads are containerized, Batch is a perfect fit for Spot Instances. If a workload is interrupted, Batch will automatically spin-up another Spot Instance you’ve specified. From genomic sequencing to animation rendering, running Spot Instances with AWS Batch allows you to take advantage of all AWS Batch has to offer, but for a fraction of the cost.

AWS Batch on EC2 Spot Instances: How to Accelerate Batch Processing for Less (7:09)

Benefits

Accelerate Results

By taking advantage of Spot’s discounted instance pricing, you can access more compute for less.

Reduce Costs

AWS Batch will maximize your cost savings by choosing the lowest priced Spot Instance for your workload.

Leverage Scale

Both Batch and Spot are designed to take full advantage of the massive scale that AWS offers. Now you can cost-effectively scale your compute capacity.

Features

Compute Environments

Batch allows you to schedule job queues that use On-Demand and Spot Instance compute environments.

GPU Scheduling

Batch’s integration with Spot allows you to access GPU accelerators like P-family instances at steep discounts.

Learn more »

Defined Duration

Due to Batch’s integration with other services, you can leverage Spot Instances via Batch to save on other AWS services like Amazon Rekognition.

Customer References

Read blog
Read our compute blog

Learn how you can leverage Spot Capacity Optimized allocation strategy when running Spot Instances with AWS Batch to lower costs and increase application throughput.

Learn more 
Sign up for an AWS account
Sign up for a free account

Instantly get access to the AWS Free Tier.

Sign up 
10 minute tutorial
10 minute tutorial

Follow this quick tutorial to set up your first AWS Batch workload with Spot Instances. This self-guided tutorial includes detailed instructions and step-by-step screenshots to help you start running AWS Batch with Spot Instances in minutes.

Learn more