AI Cloud Architect

Secure short-term GPU capacity for ML workloads with EC2 Capacity Blocks for ML and SageMaker training plans

AWSHow-to by Vanessa Ji, Alvaro Sanchez Martin and Yati AgarwalAWS Artificial Intelligence Blog

In this post, you will learn how to secure reserved GPU capacity for short-term workloads using Amazon Elastic Compute Cloud (Amazon EC2) Capacity Blocks for ML and Amazon SageMaker training plans. These solutions can address GPU availability challenges when you need short-term capacity for load testing, model validation, time-bound workshops, or preparing inference capacity ahead of a release.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Explains how to reserve short-term GPU capacity for ML work, comparing on-demand, spot, Capacity Blocks and SageMaker training plans, then walks through reserving an inference endpoint with a training plan.

Who it is for

Teams running short load tests, model validations or inference preparation on GPU instances who cannot get on-demand capacity when needed.

Key points

  • Capacity Blocks for ML reserve up to eight weeks ahead for 1 to 182 days, with a 40-50% lower rate than on-demand per AWS.
  • SageMaker training plans are priced 70-75% below on-demand per AWS and cannot be canceled after purchase.
  • Training plans for inference are tied to the target resource and cannot be used for training jobs or HyperPod clusters.

Timeline

Posts about Amazon EC2 Capacity Blocks for ML, oldest first.

  1. What it explainsAmazon SageMaker AI now supports Flexible Training Plans capacity for Inference · AWS · Announcement
  2. Generally availableAmazon EC2 capacity blocks for ML can be shared across multiple accounts · AWS · Announcement
  3. Listed inAmazon SageMaker AI in 2025, a year in review part 1: Flexible Training Plans and improvements to price performance for inference workloads · AWS · Blog post
  4. This postSecure short-term GPU capacity for ML workloads with EC2 Capacity Blocks for ML and SageMaker training plans
  5. Generally availableAmazon EC2 Capacity Blocks for ML is now available in AWS GovCloud (US) Regions · AWS · Announcement
  6. Update to an existing featureAWS launches support for amortization of EC2 Capacity Blocks for ML · AWS · Announcement
  7. Update to an existing featureAmazon EC2 Capacity Blocks for ML now supports search across multiple instance types and AWS Regions · AWS · Announcement

Go deeper