Amazon EC2 Capacity Blocks for ML Pricing

With Amazon EC2 Capacity Blocks for ML, you pay only for what you reserve. The price of an EC2 Capacity Block depends on available supply and demand for EC2 Capacity Blocks at the time you purchase a reservation. You can view the price of an EC2 Capacity Block before you reserve it, and the price is charged up front at the time you make the reservation. Once reserved, the price does not change. 

When you use an EC2 Capacity Block, you pay for the operating system you use when your instances are running. Linux and Ubuntu Pro operating system prices are billed at per-second granularity. Red Hat Enterprise Linux (RHEL), RHEL with HA, and SUSE Linux Enterprise Server (SLES) are billed at a flat, hourly rate (minimum one-hour billing). The pricing below shows the hourly rate you pay by the operating system you use for your instance. Learn more about EC2 Capacity Blocks.

Pricing Table

Instance Size Hourly rate by operating system
  Linux Red Hat Enterprise Linux (RHEL) RHEL with HA SLES Ubuntu Pro
p5.48xlarge $0.000 USD $0.130 USD $0.165 USD $0.125 USD $0.336 USD
p4d.24xlarge $0.000 USD $0.130 USD $0.165 USD $0.125 USD $0.168 USD

Pricing examples

Pricing example 1

On October 27, 2023 you purchase an EC2 Capacity Block for four p5.48xlarge instances with a start date of November 3, 2023 and an end date of November 5, 2023. At the time of purchase, the EC2 Capacity Block is priced at $14,158.00. When your EC2 Capacity Block reservation begins, you launch all four instances into the reservation using the Red Hat Enterprise Linux operating system at the reservation start time. You run your instances continuously and terminate them one hour before your reservation expiration time. The total price you pay is calculated as follows: 

Reservation upfront fee: $14,158.00 USD

 

Usage type Instance-hours used Operating System Price Charge for the month
Operating system: Red Hat Enterprise Linux (RHEL) 188 hours $0.130 / hour $24.44
Total Charges: $14,182.44

Pricing example 2

On March 8, 2023 you purchase an EC2 Capacity Block for two p4d.24xlarge instances with a start date of April 25, 2023 and an end date of April 28, 2023. At the time of purchase, the EC2 Capacity Block is priced at $4,600.00. When your EC2 Capacity Block reservation begins, you launch both instances into the reservation using the Ubuntu Pro operating system at the reservation start time. You run your instances continuously and terminate them two hours before your reservation expiration time. The total price you pay is calculated as follows: 

Reservation upfront fee: $4,600.00 USD

 

Usage type Instance-hours used Operating System Price Charge for the month
Operating system: Ubuntu Pro 140 hours $0.168 / hour $23.52
Total Charges: $4,623.52

Additional pricing resources

AWS Pricing Calculator

Easily calculate your monthly costs with AWS

Get pricing assistance

Contact AWS specialists to get a personalized quote

Learn how to get started

There are several ways to get started with EC2 for free.

Learn more 
Sign up for a free account

Instantly get access to the AWS Free Tier. 

Sign up 
Start building in the console

Get started building with EC2 in the AWS Management Console.

Sign in