Finding GPU capacity for a training run has been a slog of trying instance type A in Region X, then B in Region Y, then starting again. On 23 November AWS changed the search for EC2 Capacity Blocks for ML. One console search can now span multiple instance types and Regions.

What changed

Previously you ran a separate search for every combination of instance type and Region. Now one console search covers several. The announcement names P6-B300, P6-B200 and Trn2 instances, with reservations starting in the future and lasting up to 6 months.

There is also an API angle: you can search several instance types within a Region in one DescribeCapacityBlockOfferings call. The announcement does not state the parameter names, so check the API reference before scripting it.

The detail people will miss

The multi-Region search is console only. The user guide says that with the CLI, SDK or API, a search covers just the Region you send the request to. If you wanted a cross-Region script, this isn't it, and you'd loop over Regions yourself.

Rules worth knowing before you plan around it

From the EC2 user guide:

  • Up to 64 instances per Capacity Block, and up to 256 across blocks (also across an Organization for a given date).
  • Start dates up to 8 weeks ahead; some offerings can begin as soon as 30 minutes out.
  • Blocks end at 11:30 AM UTC, and termination starts at 11:00 AM UTC on the last day.
  • No cancellations, and a block can't be moved or split.
  • Placement groups are not supported, and instances must target the reservation ID.
  • Default tenancy only.
  • UltraServer blocks can't be shared across accounts or within an Organization.

The docs list a long set of supported types, including p5, p5e, p5en, p4d, trn1, trn2 and the new P6 sizes, with a per-type Regional matrix. I'd read the table rather than trust a summary of it.

Pricing: not stated on the pages I read. The docs only say you pay for the time you need. Find the rate for your type and Region on the pricing page before you commit, because no cancellation means a wrong guess is yours.

How I'd use it

If you're flexible on instance type or Region, run the console search first to see what exists, then pick based on price and data location. Keep data residency in mind before choosing a Region just because it has availability.

What I haven't done is run any of this; it's from the launch post and docs.

Sources

Drafted with AI assistance. I review and edit every post.