EC2 Spot Instances – Pricing, Interruption & Best Practices [2026]

Spot Instances

  • EC2 Spot instances allow access to spare EC2 computing capacity at up to 90% off the On-Demand price.
  • Spot Instance prices are set by Amazon EC2 and adjust gradually based on long-term trends in supply and demand for Spot Instance capacity, but never exceed On-Demand prices.
  • Spot Instances can be interrupted by EC2 when EC2 needs the capacity back with a two-minute notification.
  • Spot instances are a cost-effective choice and can bring the EC2 costs down significantly.
  • Spot instances can be used for applications flexible in the timing when they can run and also able to handle interruption by storing the state externally for e.g. they are well-suited for data analysis, batch jobs, background processing, and optional tasks
  • The only difference between an On-Demand Instance and a Spot Instance is that a Spot Instance can be interrupted by Amazon EC2, with two minutes of notice, when EC2 needs the capacity back.
  • Usual strategy involves using Spot instances with On-Demand or Reserved Instances, which provide a minimum level of guaranteed compute resources, while spot instances provide an additional computation boost.
  • Spot instances can also be launched with a required duration (also known as Spot blocks), which are not interrupted due to changes in the Spot price.
  • Spot Blocks (Defined Duration) have been discontinued. Spot Blocks were not available to new customers from July 1, 2021, and support ended entirely on December 31, 2022.
  • EC2 provides a data feed, sent to an S3 bucket specified during subscription, that describes the Spot instance usage and pricing.
  • Spot Instances are not suitable for workloads that are inflexible, stateful, fault-intolerant, or tightly coupled between instance nodes.
  • Well Suited for
    • Ideal for various stateless, fault-tolerant, or flexible applications such as big data, containerized workloads, CI/CD, high-performance computing (HPC), stateless web servers, image and media rendering, machine learning, and other test & development workloads
    • Applications that have flexible start and end times
    • Applications that are only feasible at very low compute prices
    • Users with urgent computing needs for large amounts of additional capacity

Spot Concepts

  • Spot capacity pool – A set of unused EC2 instances with the same instance type (for example, m5.large), operating system, Availability Zone, and network platform.
  • Spot price – Current price of a Spot Instance per hour, set by Amazon EC2 and adjusting gradually based on long-term trends in supply and demand. Spot prices never exceed On-Demand prices.
  • Spot Instance request
    • Provides the maximum price per hour that you are willing to pay for a Spot Instance. If unspecified, it defaults to the On-Demand price.
    • EC2 fulfils the request when the maximum price per hour for the request exceeds the Spot price and if capacity is available.
    • A Spot Instance request is either one-time or persistent.
    • EC2 automatically resubmits a persistent Spot request after the Spot Instance associated with the request is terminated.
  • Spot Instance interruption – EC2 terminates, stops, or hibernates the Spot Instance when capacity is no longer available. EC2 provides a Spot Instance interruption notice, which gives the instance a two-minute warning before it is interrupted.
  • EC2 Instance Rebalance Recommendation is a signal that notifies when a Spot Instance is at elevated risk of interruption. The signal provides an opportunity to proactively manage the Spot Instance in advance of the two-minute Spot Instance interruption notice.
  • Spot placement score – indicates how likely it is that a Spot request will succeed in a Region or Availability Zone, scored on a scale from 1 to 10.

Spot Pricing Model

ℹ️ Important: Since 2017, AWS uses a simplified Spot pricing model. Spot prices adjust gradually based on long-term supply and demand trends, not on a real-time bidding/auction system. You no longer need to analyze historical prices or determine bidding strategies. Typical savings are 70-90% over On-Demand prices.

  • Spot Instance prices are set by Amazon EC2 and adjust gradually based on long-term trends in supply and demand for Spot Instance capacity.
  • Spot prices never exceed On-Demand prices.
  • You can specify a maximum price when requesting Spot Instances. If unspecified, it defaults to the On-Demand price.
  • EC2 fulfils the request when the maximum price per hour exceeds the Spot price and capacity is available.
  • Everyone pays the same Spot price for the period irrespective of the maximum price specified, given the maximum price is more than the Spot price.
  • EC2 can interrupt the Spot Instance when the demand for Spot instances rises or when the supply of Spot instances decreases.
  • When EC2 interrupts a Spot Instance, it provides a two-minute warning before interruption.
  • Termination notice warning is made available via:
    • Instance metadata: http://169.254.169.254/latest/meta-data/spot/termination-time
    • Amazon EventBridge event: EC2 Spot Instance Interruption Warning
  • Applications on Spot Instances should poll for the termination notice at 5-second intervals or use EventBridge for event-driven handling.
  • EBS-backed Spot Instance can be stopped, started, rebooted, or terminated.

Spot Instance Billing

  • Spot Instances use per-second billing (with a minimum of 60 seconds) for Linux and Windows instances.
  • If Amazon EC2 interrupts the Spot Instance in the first hour, you are not charged for the usage.
  • If Amazon EC2 interrupts the Spot Instance after the first hour, you are charged for the seconds used.
  • If you stop or terminate the Spot Instance, you are charged for the seconds used (even in the first hour).
  • While an interrupted Spot Instance is stopped, you are charged only for the EBS volumes, which are preserved.

Spot Instances Requests

  • A Spot Instance request is either
    • One-time
      • A one-time request remains active until EC2 launches the Spot Instance, the request expires, or you cancel the request.
    • Persistent
      • EC2 automatically resubmits a persistent Spot request after the Spot Instance associated with the request is terminated.
      • A persistent Spot Instance request remains active until it expires or you cancel it, even if the request is fulfilled.
      • Cancelling spot instance requests does not terminate the instances.
      • Be sure to cancel the spot request before you terminate the instances, else they would be launched again.

EC2 Spot Instance Requests

Spot Fleet and EC2 Fleet

⚠️ Spot Fleet is Legacy: AWS strongly discourages using Spot Fleet because it uses a legacy API with no planned investment. Use EC2 Fleet or EC2 Auto Scaling groups instead.

  • EC2 Fleet (Recommended)
    • Creates a fleet of both On-Demand Instances and Spot Instances in a single request.
    • Supports multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.
    • EC2 Fleet types:
      • instant – Places a synchronous one-time request. Returns launched instances immediately. Recommended when you don’t need auto scaling.
      • request – Places an asynchronous one-time request. Does not attempt to replenish interrupted capacity.
      • maintain – Places an asynchronous request and maintains capacity by automatically replenishing interrupted Spot Instances.
  • Spot Fleet (Legacy – Not Recommended)
    • Collection of Spot Instances and optionally On-Demand Instances.
    • Attempts to launch the number of instances to meet the specified target capacity.
    • Uses a legacy API with no planned investment.

Allocation Strategies

  • priceCapacityOptimized (Recommended)
    • Requests Spot Instances from the pools that have the lowest chance of interruption AND the lowest possible price.
    • Best choice for most Spot workloads: containerized applications, microservices, web applications, data analytics, batch processing.
    • AWS recommended default strategy.
  • capacityOptimized
    • From the pools with optimal capacity for the number of instances launching.
    • Lowest risk of interruption.
  • capacityOptimizedPrioritized
    • Optimizes for capacity first, but honors instance type priorities on a best-effort basis.
    • Set priority for each instance type using the Priority parameter.
  • diversified
    • Distributed across all specified pools.
    • Good for high availability, long workloads.
  • lowestPrice (Not Recommended)
    • From the pool with the lowest price.
    • AWS does not recommend this strategy because it has the highest risk of interruption for Spot Instances.

Spot Instances Interruption

  • EC2 Instance Rebalance Recommendations and Spot Instance interruption notices can be used to gracefully handle Spot Instance interruptions.
  • EC2 Instance Rebalance Recommendation
    • Signal that notifies when a Spot Instance is at elevated risk of interruption.
    • Provides an opportunity to proactively manage the Spot Instance in advance of the two-minute interruption notice.
    • Can be monitored via Amazon EventBridge events.
    • Capacity Rebalancing feature in Auto Scaling groups and EC2 Fleet automatically acts on these signals.
  • Spot Instance Interruption Notice
    • Warning issued two minutes before EC2 interrupts a Spot Instance (except for hibernation, which begins immediately).
    • Available as an EventBridge event and in instance metadata.
  • Interruption Behavior – You can specify what happens when a Spot Instance is interrupted:
    • Terminate (default) – Instance is terminated.
    • Stop – Instance is stopped and can be restarted when capacity is available. You are charged only for EBS volumes while stopped.
    • Hibernate – Instance memory (RAM) is saved to EBS root volume. Instance resumes from where it left off when capacity is available. Hibernation begins immediately (no two-minute warning period).
  • Initiate a Spot Instance Interruption
    • You can test your application’s fault tolerance by initiating Spot Instance interruptions using AWS Fault Injection Service (AWS FIS).
    • Available directly from the Amazon EC2 console: Spot Request → Actions → Initiate interruption.
    • FIS-injected interruptions behave identically to real interruptions (including notifications and configured behaviors).

Spot Placement Score

  • Indicates how likely it is that a Spot request will succeed in a Region or Availability Zone.
  • Scored on a scale from 1 to 10 (10 = highly likely to succeed, 1 = not likely to succeed).
  • Recommends optimal Regions or Availability Zones based on capacity requirements and instance type specifications.
  • A point-in-time recommendation — capacity can vary over time. It does not guarantee available capacity or predict interruption risk.
  • Best for workloads that are flexible about instance types and Region/AZ.
  • Available via Amazon EC2 console, AWS CLI, or SDKs.

Attribute-Based Instance Type Selection

  • Specify instance attributes (vCPUs, memory, storage, network throughput) rather than specific instance types.
  • EC2 Auto Scaling or EC2 Fleet automatically identifies and launches matching instances.
  • Automatically uses newly released instance types as they become available.
  • Removes the effort of manually selecting specific instance types.
  • Provides access to an increasingly broad range of Spot Instance capacity, reducing interruption risk.
  • Ideal for workloads that can be flexible about instance types: HPC, big data, containerized workloads.

Which is the Best Spot Request Method?

  • CreateAutoScalingGroup (Recommended)
    • Use when you need multiple instances and want automated lifecycle management.
    • Supports horizontal scaling between specified minimum and maximum limits.
    • Best for most workloads that need Spot Instances.
  • CreateFleet (EC2 Fleet) (Recommended)
    • Use when you need multiple instances but want to self-manage instance lifecycle.
    • Creates both On-Demand and Spot Instances in a single request.
    • Use instant mode if you don’t need auto scaling.
  • RunInstances
    • Use if already using RunInstances for On-Demand and want to switch to Spot.
    • Does not allow mixed instance types in a single request.
  • RequestSpotFleetLegacy. DO NOT USE. No planned investment.
  • RequestSpotInstancesLegacy. DO NOT USE. No planned investment.

Spot Instances vs On-Demand Instances

Spot Instances vs On-Demand Instances

Spot Instances Best Practices

  • Be flexible about instance types and Availability Zones
    • Be flexible across at least 10 instance types for each workload.
    • Include larger instance types (for vertical scaling) and older generation types (less demand from On-Demand customers).
    • Ensure all Availability Zones are configured for use in your VPC.
  • Use attribute-based instance type selection
    • Specify attributes (vCPUs, memory) instead of specific instance types.
    • Automatically uses new instance types as they become available.
  • Use Spot placement scores
    • Identify optimal Regions and Availability Zones before launching.
  • Use EC2 Auto Scaling groups or EC2 Fleet to manage aggregate capacity
    • Think in terms of aggregate capacity (vCPUs, memory, throughput) rather than individual instances.
    • These services automatically request resources to replace interrupted instances.
  • Use the price-capacity-optimized allocation strategy
    • Automatically provisions instances from pools that are least likely to be interrupted AND have the lowest price.
    • Recommended strategy for most Spot workloads.
  • Prepare individual instances for interruptions
    • Make applications fault-tolerant. Store important data externally (S3, EBS, DynamoDB).
    • Use EventBridge rules to capture rebalance recommendations and interruption notices.
    • Configure Spot Instances to stop or hibernate instead of terminate if workload is time-flexible.
  • Use Proactive Capacity Rebalancing
    • Proactively augments fleet with new Spot Instances before a running instance receives the two-minute interruption notice.
    • Auto Scaling or EC2 Fleet replaces instances that have received a rebalance recommendation.
    • Complements the capacity-optimized allocation strategy and mixed instances policy.
  • Test interruption handling with AWS FIS
    • Use AWS Fault Injection Service to simulate Spot interruptions.
    • Verify application handles unexpected termination gracefully.
  • Use integrated AWS services
    • Amazon EMR, Amazon ECS, AWS Batch, Amazon EKS, Amazon SageMaker, AWS Elastic Beanstalk, Amazon GameLift Servers all integrate with Spot.

AWS Certification Exam Practice Questions

  • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
  • AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
  • AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
  • Open to further feedback, discussion and correction.
  1. You have a video transcoding application running on Amazon EC2. Each instance polls a queue to find out which video should be transcoded, and then runs a transcoding process. If this process is interrupted, the video will be transcoded by another instance based on the queuing system. You have a large backlog of videos, which need to be transcoded, and would like to reduce this backlog by adding more instances. You will need these instances only until the backlog is reduced. Which type of Amazon EC2 instances should you use to reduce the backlog in the most cost efficient way?
    1. Reserved instances
    2. Spot instances
    3. Dedicated instances
    4. On-demand instances
  2. You have a distributed application that periodically processes large volumes of data across multiple Amazon EC2 Instances. The application is designed to recover gracefully from Amazon EC2 instance failures. You are required to accomplish this task in the most cost-effective way. Which of the following will meet your requirements?
    1. Spot Instances
    2. Reserved instances
    3. Dedicated instances
    4. On-Demand instances
  3. A company runs a fault-tolerant batch processing workload on EC2 instances. The workload can be interrupted and resumed. Which allocation strategy should be used with EC2 Fleet to minimize cost while reducing interruptions?
    1. lowestPrice
    2. capacityOptimized
    3. priceCapacityOptimized
    4. diversified
  4. A company wants to run Spot Instances for a containerized workload. They need to identify which AWS Region is most likely to have available Spot capacity for their required instance types. Which feature should they use?
    1. Spot Instance Advisor
    2. Spot placement score
    3. EC2 Fleet instant mode
    4. Capacity Reservations
  5. A company uses Spot Instances for a stateless web application. They want to be notified before interruption so they can gracefully drain connections. Which TWO signals can they use? (Choose 2)
    1. EC2 Instance Rebalance Recommendation
    2. Spot Instance interruption notice (two-minute warning)
    3. CloudWatch CPU alarm
    4. Auto Scaling lifecycle hook
  6. Which of the following is the AWS recommended method for launching and managing Spot Instances for workloads that require auto scaling?
    1. RequestSpotInstances API
    2. Spot Fleet (RequestSpotFleet API)
    3. EC2 Auto Scaling group (CreateAutoScalingGroup API)
    4. RunInstances API with Spot market options
  7. A Spot Instance is interrupted by Amazon EC2 within the first hour of launch. How is the customer billed for Linux instances?
    1. Charged for the full hour
    2. Charged for seconds used
    3. No charge
    4. Charged at 50% of the Spot price
  8. A company wants to test how their application handles Spot Instance interruptions. Which AWS service allows them to simulate Spot interruptions?
    1. AWS CloudWatch
    2. AWS Config
    3. AWS Fault Injection Service (AWS FIS)
    4. AWS Systems Manager

References

AWS EC2 Instance Purchasing Option

AWS EC2 Instance Purchasing Options

  • Amazon provides different ways to pay for the EC2 instances
    • On-Demand Instances
    • Savings Plans
    • Reserved Instances
    • Spot Instances
    • Dedicated Hosts
    • Dedicated Instances
    • On-Demand Capacity Reservations
    • Capacity Blocks for ML
  • EC2 instances can be launched on shared or dedicated tenancy
  • AWS recommends Savings Plans over Reserved Instances for most use cases due to greater flexibility, though RIs still provide capacity reservations and slightly deeper discounts for narrow workloads

On-Demand Instances

  • Pay for the instances and the compute capacity used by the second (Linux, Windows, RHEL, Ubuntu) or by the hour (SUSE), depending on which instances you run
  • No long-term commitments or up-front payments
  • Instances can be scaled accordingly as per the demand
  • Although AWS makes effort to have the capacity to launch On-Demand instances, there might be instances during peak demand where the instance cannot be launched
  • Per-second billing (with a 60-second minimum) is available for Amazon Linux, Windows, RHEL (since April 2024), Ubuntu, and Ubuntu Pro instances across all Regions
  • SUSE Linux Enterprise Server instances are still billed per-hour
  • Well suited for
    • Users that want the low cost and flexibility of EC2 without any up-front payment or long-term commitment
    • Applications with short term, spiky, or unpredictable workloads that cannot be interrupted
    • Applications being developed or tested on EC2 for the first time

Savings Plans

  • Savings Plans are a flexible pricing model offering savings of up to 72% on AWS compute usage, in exchange for a commitment to a consistent amount of usage (measured in $/hour) for a 1 or 3-year term
  • Unlike Reserved Instances which commit to specific instance configurations, Savings Plans commit to a dollar-per-hour spend, providing significantly more flexibility
  • Savings Plans automatically apply to usage across accounts in an AWS Organization
  • AWS offers four types of Savings Plans:
    • Compute Savings Plans
      • Provide the most flexibility with savings up to 66% off On-Demand rates
      • Automatically apply to EC2 instance usage regardless of instance family, size, Region, OS, or tenancy
      • Also apply to AWS Fargate and AWS Lambda usage
      • Best for workloads where instance family or Region may change over time
    • EC2 Instance Savings Plans
      • Provide savings up to 72% off On-Demand (similar to Standard RIs)
      • Committed to a specific instance family in a chosen Region (e.g., M5 in us-east-1)
      • Automatically apply regardless of instance size, OS, and tenancy within the specified family
      • Best for stable workloads with a known instance family
    • SageMaker AI Savings Plans
      • Provide savings up to 64% off On-Demand rates for SageMaker AI usage
      • Apply regardless of instance family, size, Region, and component (Notebook, Training, Inference)
    • Database Savings Plans (Launched December 2025)
      • Provide savings up to 35% on AWS database services
      • Apply to Aurora, RDS, DynamoDB, ElastiCache, DocumentDB, Timestream, Neptune, Keyspaces, DMS, and Amazon OpenSearch Service
      • Automatically apply regardless of engine, instance family, size, AZ, or Region
      • Available only as a 1-year term with no upfront payment
  • Savings Plans can be returned within 7 days of purchase (announced March 2024)
  • Savings Plans purchases can be queued to align with expiring commitments
  • Well suited for
    • Applications with steady state or predictable usage where flexibility in instance configuration is desired
    • Organizations that want simplified commitment management across multiple services
    • Workloads that may change instance families, sizes, or Regions over time

Savings Plans vs Reserved Instances

  • Savings Plans commit to a spend rate ($/hour); Reserved Instances commit to a specific instance configuration
  • Savings Plans offer more flexibility; RIs can offer slightly deeper discounts (up to 72-75%) for narrow, stable workloads
  • Only RIs provide capacity reservations (when scoped to an AZ)
  • RIs can be sold on the RI Marketplace; Savings Plans cannot be resold
  • AWS recommends Savings Plans for most new commitments due to their flexibility and broader applicability

Reserved Instances

  • Reserved Instances provides lower hourly running costs by providing a billing discount (up to 72%) as well as capacity reservation that is applied to instances and there would never be a case of insufficient capacity (when scoped to an AZ)
  • Discounted usage price is fixed as long as you own the Reserved Instance, allowing compute costs prediction over the term of the reservation
  • Reserved instances are best suited if consistent, heavy, use is expected and they can provide savings over owning the hardware or running only On-Demand instances.
  • Well Suited for
    • Applications with steady state or predictable usage
    • Applications that require reserved capacity
    • Users are able to make upfront payments to reduce their total computing costs even further
  • Reserved instance is not a physical instance that is launched, but rather a billing discount applied to the use of On-Demand Instances
  • On-Demand Instances must match certain attributes, such as instance type and Region, in order to benefit from the billing discount.
  • Reserved Instances do not renew automatically, and the EC2 instances can be continued to be used but charged On-Demand rates
  • Auto Scaling or other AWS services can be used to launch the On-Demand instances that use the Reserved Instance benefits
  • With Reserved Instances
    • You pay for the entire term, regardless of the usage
    • Once purchased, the reservation cannot be canceled but can be sold in the Reserved Instance Marketplace
    • Reserved Instance pricing tier discounts only apply to purchases made from AWS, and not to the third party Reserved instances
    • As of January 2024, AWS prohibits the resale of RIs acquired at a discount (EDP) on the RI Marketplace
    • As of June 2025, AWS prohibits sharing of RIs and Savings Plans across end customers within a single AWS Organization (impacts MSPs/resellers)

Reserved Instance Pricing Key Variables

Instance attributes

A Reserved Instance has four instance attributes that determine its price.

  • Instance type: Instance family + Instance size e.g.m4.large composed of the instance family (m4) and the instance size (large).
  • Region: Region in which the Reserved Instance is purchased.
  • Tenancy: Whether your instance runs on shared (default) or single-tenant (dedicated) hardware.
  • Platform: Operating system; for example, Windows or Linux/Unix.

Term commitment

Reserved Instance can be purchased for a one-year or three-year commitment, with the three-year commitment offering a bigger discount.

  • One-year: A year is defined as 31536000 seconds (365 days).
  • Three-year: Three years is defined as 94608000 seconds (1095 days).

Payment options

  • No Upfront
    • No upfront payment is required and the account is charged at a discounted hourly rate for every hour, regardless of the usage
    • Only available as a 1-year reservation
  • Partial Upfront
    • A portion of the cost is paid upfront and the remaining hours in the term are charged at an hourly discounted rate, regardless of the usage
  • Full Upfront
    • Full payment is made at the start of the term, with no costs for the remainder of the term, regardless of the usage

Offering class

  • Standard: Provide the most significant discount (up to 72%), but can only be modified.
  • Convertible: Provide a lower discount (up to 66%) than Standard Reserved Instances, but can be exchanged for another Convertible Reserved Instance with different instance attributes. Convertible Reserved Instances can also be modified.

How Reserved Instances Work

Billing Benefits & Payment Options

  • Reserved Instance purchase reservation is automatically applied to running instances that match the specified parameters
  • Reserved Instance can also be utilized by launching On-Demand instances with the same configuration as to the purchased reserved capacity

Understanding Billing

  • Reserved Instances are billed for every clock-hour during the term that you select, regardless of whether the instance is running or not.
  • A Reserved Instance billing benefit can be applied to a running instance on a per-second basis. Per-second billing is available for instances using Amazon Linux, Windows, RHEL (since April 2024), and Ubuntu.
  • Per-hour billing is used for SUSE Linux Enterprise Server.
  • A Reserved Instance billing benefit can apply to a maximum of 3600 seconds (one hour) of instance usage per clock-hour. You can run multiple instances concurrently, but can only receive the benefit of the Reserved Instance discount for a total of 3600 seconds per clock-hour; instance usage that exceeds 3600 seconds in a clock-hour is billed at the On-Demand rate.

Consolidated Billing

  • Pricing benefits of Reserved Instances are shared when the purchasing account is part of a set of accounts billed under one consolidated billing payer account
  • Consolidated billing account aggregates the list value of member accounts within a region.
  • When the list value of all active Reserved Instances for the consolidated billing account reaches a discount pricing tier, any Reserved Instances purchased after this point by any member of the consolidated billing account are charged at the discounted rate (as long as the list value for that consolidated account stays above the discount pricing tier threshold)

Buying Reserved Instances

Buying Reserved Instances need a selection of the following

  • Platform (for example, Linux)
  • Instance type (for example, m5.large)
  • Availability Zone in which to run the instance for Zonal reserved instance
  • Term (time period) over which you want to reserve capacity
  • Tenancy – reserve capacity for shared or dedicated tenancy
  • Offering (No Upfront, Partial Upfront, All Upfront).

Modifying Reserved Instances

  • Standard or Convertible Reserved Instances can be modified and continue to benefit from the capacity reservation as the computing needs change.
  • Availability Zone, instance size (within the same instance family and generation), and scope of the Reserved Instance can be modified
  • All or a subset of the Reserved Instances can be modified
  • Two or more Reserved Instances can be merged into a single Reserved Instance
  • Modification does not change the remaining term of the Reserved Instances; their end dates remain the same.
  • There is no fee, and you do not receive any new bills or invoices.
  • Modification is separate from purchasing and does not affect how you use, purchase, or sell Reserved Instances.
  • Complete reservation or a subset of it can be modified in one or more of the following ways:
    • Switch Availability Zones within the same region
    • Change the scope between Regional and Zonal
    • Change the instance size within the same instance family and generation, given the instance size footprint (normalization factor) remains the same for e.g. four m4.medium instances (4 x 2), you can turn it into a reservation for eight m4.small instances (8 x 1) and vice versa. However, you cannot convert a reservation for a single m4.small instance (1 x 1) into a reservation for an m4.large instance (1 x 4).

Scheduled Reserved Instances (Discontinued)

⚠️ SERVICE DISCONTINUED

As of September 2024, Scheduled Reserved Instances are no longer available for purchase. AWS has no plans to make them available in the future.

Alternative: Use On-Demand Capacity Reservations (including future-dated reservations) instead.

  • Scheduled Reserved Instances (Scheduled Instances) previously enabled capacity reservations that recurred on a daily, weekly, or monthly basis, with a specified start time and duration, for a one-year term.
  • They were suited for workloads that do not run continuously, but do run on a regular schedule
  • This content is maintained for historical reference only.

On-Demand Capacity Reservations

  • On-Demand Capacity Reservations enable you to reserve compute capacity for the EC2 instances in a specific AZ for any duration.
  • This gives you the ability to create and manage Capacity Reservations independently from the billing discounts offered by Savings Plans or regional Reserved Instances.
  • By creating Capacity Reservations, you ensure that you always have access to EC2 capacity when you need it, for as long as you need it.
  • Capacity Reservations can be created at any time, without entering into a one-year or three-year term commitment, and the capacity is available immediately.
  • Billing starts as soon as the capacity is provisioned and the Capacity Reservation enters the active state. Charged at the equivalent On-Demand rate whether instances run in the reserved capacity or not.
  • When no longer needed, the Capacity Reservation can be canceled to stop incurring charges.
  • Savings Plans and Regional RIs apply to both unused reservations and instances running on the reservation, reducing effective cost.
  • Capacity Reservation creation requires
    • AZ in which to reserve the capacity
    • Number of instances for which to reserve capacity
    • Instance attributes, including the instance type, tenancy, and platform/OS
  • Capacity Reservations can only be used by instances that match their attributes. By default, they are automatically used by running instances that match the attributes. If you don’t have any running instances that match the attributes of the Capacity Reservation, it remains unused until you launch an instance with matching attributes.

Future-Dated Capacity Reservations (November 2024)

  • You can now plan and schedule Capacity Reservations up to 120 days in advance
  • Specify the capacity needed, start date, delivery preference, and minimum commitment duration
  • No upfront charges to schedule a future-dated Capacity Reservation
  • AWS evaluates the request (usually within 5 days) and changes status to “Scheduled” if supportable
  • On the scheduled date, the reservation activates automatically and instances can be launched immediately
  • Minimum commitment is typically 14 days; recommended to request at least 56 days (8 weeks) in advance
  • Ideal for planned events such as product launches, large migrations, or seasonal sales events

Split, Move, and Modify (August 2024)

  • Split: Separate available capacity from an existing reservation into a new reservation
  • Move: Move available capacity from one reservation into another with matching configuration
  • Modify: Change additional attributes like instance count
  • Provides flexibility to redistribute capacity across teams and accounts

Interruptible Capacity Reservations (November 2025)

  • Make unused compute capacity in your reservations temporarily available to other workloads within your account
  • Maintain control to reclaim capacity when needed – instances running on interruptible reservations are terminated when capacity is reclaimed
  • Helps optimize reservation utilization and reduce costs
  • Can share unused capacity across accounts within an AWS Organization

Capacity Reservation Fleets

  • A Capacity Reservation Fleet is a group of Capacity Reservations
  • Reserve large amounts of capacity across multiple instance types using a single request up to a specified target capacity
  • Manage all reservations in the fleet collectively by modifying or canceling the fleet

EC2 Capacity Blocks for ML

  • EC2 Capacity Blocks allow you to reserve GPU-based accelerated computing instances for machine learning workloads
  • Reserve instances for up to six months in cluster sizes of 1 to 64 instances (512 GPUs or 1024 Trainium chips)
  • Can be reserved up to eight weeks in advance
  • Support instant start times and extensions (since November 2024)
  • Supported instance types include P4d, P5, P5e, P5en, and Trn1
  • Pricing consists of a reservation fee and an operating system fee; prices are updated regularly based on supply and demand
  • Pay upfront for the reserved capacity
  • Ideal for short-duration ML workloads such as model training, fine-tuning, and experimentation
  • Different from On-Demand Capacity Reservations – specifically designed for GPU/ML chip capacity

Spot Instances

Refer blog post @ EC2 Spot Instances

Dedicated Instances

  • Dedicated Instances are EC2 instances that run in a VPC on hardware that’s dedicated to a single customer
  • Dedicated Instances are physically isolated at the host hardware level from the instances that aren’t Dedicated Instances and from instances that belong to other AWS accounts.
  • There are no performance, security, or physical differences between Dedicated Instances and instances on Dedicated Hosts.
  • Each VPC has a related instance tenancy attribute.
    • default
      • default is shared.
      • the tenancy can be changed to dedicated after creation
      • all instances launched would be shared, unless you explicitly specify a different tenancy during instance launch.
    • dedicated
      • all instances launched would be dedicated
      • the tenancy can’t be changed to default after creation
  • Each instance launched into a VPC has a tenancy attribute. Default tenancy depends on the VPC tenancy, which by default is shared.
    • default – instance runs on shared hardware.
    • dedicated – instance runs on single-tenant hardware.
    • host – instance runs on a Dedicated Host, which is an isolated server with configurations that you can control.
    • default tenancy cannot be changed to dedicated or host and vice versa.
    • dedicated tenancy can be changed to host and vice versa
  • Dedicated Instances can be launched using
    • Create the VPC with the instance tenancy set to dedicated, all instances launched into this VPC are Dedicated Instances even though if you mark the tenancy as shared.
    • Create the VPC with the instance tenancy set to default, and specify dedicated tenancy for any instances that should be Dedicated Instances when launched.
  • Dedicated Instances are charged a per-region fee of $2/hour whenever at least one Dedicated Instance is running in the Region (not discounted by Savings Plans)

Dedicated Hosts

  • EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use
  • Dedicated Hosts allow using existing per-socket, per-core, or per-VM software licenses, including Windows Server, Microsoft SQL Server, SUSE, Red Hat Enterprise Linux, or other software licenses bound to VMs, sockets, or physical cores.
  • Dedicated Hosts provide visibility and control over instance placement and support host affinity
  • Can launch and run instances on specific hosts, and ensure that instances run only on specific hosts
  • Host Maintenance with Live Migration (October 2024): AWS can now automatically migrate instances to a replacement Dedicated Host without stopping them when maintenance is required, improving uptime and reducing operational effort
  • Host maintenance options include:
    • Live migration – instances are migrated to a new host within 24 hours without stopping
    • Reboot-based maintenance – instances are rebooted on a replacement host
  • Dedicated Hosts can be purchased On-Demand or as Reserved Instances (1 or 3-year term) or covered by Savings Plans

Dedicated Hosts vs Dedicated Instances

Feature Dedicated Instances Dedicated Hosts
Billing Per-instance + per-region fee Per-host billing
Visibility of sockets, cores, host ID No Yes
Host and instance affinity No Yes
Targeted instance placement No Yes
Automatic instance recovery Yes Yes
BYOL (Bring Your Own License) No Yes
Capacity reservation No Yes (host-level)

AWS Certification Exam Practice Questions

  • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
  • AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
  • AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
  • Open to further feedback, discussion and correction.
  1. If I want my instance to run on a single-tenant hardware, which value do I have to set the instance’s tenancy attribute to?
    1. dedicated
    2. isolated
    3. one
    4. reserved
  2. You have a video transcoding application running on Amazon EC2. Each instance polls a queue to find out which video should be transcoded, and then runs a transcoding process. If this process is interrupted, the video will be transcoded by another instance based on the queuing system. You have a large backlog of videos, which need to be transcoded, and would like to reduce this backlog by adding more instances. You will need these instances only until the backlog is reduced. Which type of Amazon EC2 instances should you use to reduce the backlog in the most cost efficient way?
    1. Reserved instances
    2. Spot instances
    3. Dedicated instances
    4. On-demand instances
  3. The one-time payment for Reserved Instances is __________ refundable if the reservation is cancelled.
    1. always
    2. in some circumstances
    3. never
  4. You run a web application where web servers on EC2 Instances are In an Auto Scaling group. Monitoring over the last 6 months shows that 6 web servers are necessary to handle the minimum load. During the day up to 12 servers are needed. Five to six days per year, the number of web servers required might go up to 15. What would you recommend to minimize costs while being able to provide full availability?
    1. 6 Reserved instances (heavy utilization). 6 Reserved instances (medium utilization), rest covered by On-Demand instances
    2. 6 Reserved instances (heavy utilization). 6 On-Demand instances, rest covered by Spot Instances (don’t go for spot as availability not guaranteed)
    3. 6 Reserved instances (heavy utilization) 6 Spot instances, rest covered by On-Demand instances (don’t go for spot as availability not guaranteed)
    4. 6 Reserved instances (heavy utilization) 6 Reserved instances (medium utilization) rest covered by Spot instances (don’t go for spot as availability not guaranteed)
  5. A user is running one instance for only 3 hours every day. The user wants to save some cost with the instance. Which of the below mentioned options is advised in this case?
    1. The user should not use RI; instead only go with the on-demand pricing (Scheduled Reserved Instances are no longer available. On-Demand Capacity Reservations with future-dated scheduling could be considered for recurring workloads, but for cost savings, On-Demand remains the best option for 3 hours/day usage)
    2. The user should use the AWS heavy utilized RI
    3. The user should use the AWS medium utilized RI
    4. The user should use Savings Plans
  6. Which of the following are characteristics of a reserved instance? Choose 3 answers
    1. It can be migrated across Availability Zones (can be modified)
    2. It is specific to an Amazon Machine Image (AMI) (specific to platform, not AMI)
    3. It can be applied to instances launched by Auto Scaling (are allowed)
    4. It is specific to an instance Type (specific to instance family but instance size can be changed within same family)
    5. It can be used to lower Total Cost of Ownership (TCO) of a system (helps to reduce cost)
  7. You have a distributed application that periodically processes large volumes of data across multiple Amazon EC2 Instances. The application is designed to recover gracefully from Amazon EC2 instance failures. You are required to accomplish this task in the most cost-effective way. Which of the following will meet your requirements?
    1. Spot Instances
    2. Reserved instances
    3. Dedicated instances
    4. On-Demand instances
  8. Can I move a Reserved Instance from one Region to another?
    1. No
    2. Only if they are moving into GovCloud
    3. Yes
    4. Only if they are moving to US East from another region
  9. An application you maintain consists of multiple EC2 instances in a default tenancy VPC. This application has undergone an internal audit and has been determined to require dedicated hardware for one instance. Your compliance team has given you a week to move this instance to single-tenant hardware. Which process will have minimal impact on your application while complying with this requirement?
    1. Create a new VPC with tenancy=dedicated and migrate to the new VPC (possible but impact not minimal)
    2. Use ec2-reboot-instances command line and set the parameter dedicated=true
    3. Right click on the instance, select properties and check the box for dedicated tenancy
    4. Stop the instance, create an AMI, launch a new instance with tenancy=dedicated, and terminate the old instance
  10. Your department creates regular analytics reports from your company’s log files. All log data is collected in Amazon S3 and processed by daily Amazon Elastic Map Reduce (EMR) jobs that generate daily PDF reports and aggregated tables in CSV format for an Amazon Redshift data warehouse. Your CFO requests that you optimize the cost structure for this system. Which of the following alternatives will lower costs without compromising average performance of the system or data integrity for the raw data? [PROFESSIONAL]
    1. Use reduced redundancy storage (RRS) for PDF and CSV data in Amazon S3. Add Spot instances to Amazon EMR jobs. Use Reserved Instances for Amazon Redshift. (Spot instances impacts performance)
    2. Use reduced redundancy storage (RRS) for all data in S3. Use a combination of Spot instances and Reserved Instances for Amazon EMR jobs. Use Reserved instances for Amazon Redshift (Combination of the Spot and reserved with guarantee performance and help reduce cost. Also, RRS would reduce cost and guarantee data integrity, which is different from data durability )
    3. Use reduced redundancy storage (RRS) for all data in Amazon S3. Add Spot Instances to Amazon EMR jobs. Use Reserved Instances for Amazon Redshift (Spot instances impacts performance)
    4. Use reduced redundancy storage (RRS) for PDF and CSV data in S3. Add Spot Instances to EMR jobs. Use Spot Instances for Amazon Redshift. (Spot instances impacts performance)
  11. A research scientist is planning for the one-time launch of an Elastic MapReduce cluster and is encouraged by her manager to minimize the costs. The cluster is designed to ingest 200TB of genomics data with a total of 100 Amazon EC2 instances and is expected to run for around four hours. The resulting data set must be stored temporarily until archived into an Amazon RDS Oracle instance. Which option will help save the most money while meeting requirements? [PROFESSIONAL]
    1. Store ingest and output files in Amazon S3. Deploy on-demand for the master and core nodes and spot for the task nodes.
    2. Optimize by deploying a combination of on-demand, RI and spot-pricing models for the master, core and task nodes. Store ingest and output files in Amazon S3 with a lifecycle policy that archives them to Amazon Glacier. (Reserved Instance not cost effective for 4 hour job and data not needed in S3 once moved to RDS)
    3. Store the ingest files in Amazon S3 RRS and store the output files in S3. Deploy Reserved Instances for the master and core nodes and on-demand for the task nodes. (Reserved Instance not cost effective)
    4. Deploy on-demand master, core and task nodes and store ingest and output files in Amazon S3 RRS (RRS provides not much cost benefits for a 4 hour job while the amount of input data would take time to upload and Output data to reproduce)
  12. A company currently has a highly available web application running in production. The application’s web front-end utilizes an Elastic Load Balancer and Auto scaling across 3 availability zones. During peak load, your web servers operate at 90% utilization and leverage a combination of heavy utilization reserved instances for steady state load and on-demand and spot instances for peak load. You are asked with designing a cost effective architecture to allow the application to recover quickly in the event that an availability zone is unavailable during peak load. Which option provides the most cost effective high availability architectural design for this application? [PROFESSIONAL]
    1. Increase auto scaling capacity and scaling thresholds to allow the web-front to cost-effectively scale across all availability zones to lower aggregate utilization levels that will allow an availability zone to fail during peak load without affecting the applications availability. (Ideal for HA to reduce and distribute load)
    2. Continue to run your web front-end at 90% utilization, but purchase an appropriate number of utilization RIs in each availability zone to cover the loss of any of the other availability zones during peak load. (90% is not recommended as well RIs would increase the cost)
    3. Continue to run your web front-end at 90% utilization, but leverage a high bid price strategy to cover the loss of any of the other availability zones during peak load. (90% is not recommended as high bid price would not guarantee instances and would increase cost)
    4. Increase use of spot instances to cost effectively to scale the web front-end across all availability zones to lower aggregate utilization levels that will allow an availability zone to fail during peak load without affecting the applications availability. (Availability cannot be guaranteed)
  13. You run accounting software in the AWS cloud. This software needs to be online continuously during the day every day of the week, and has a very static requirement for compute resources. You also have other, unrelated batch jobs that need to run once per day at any time of your choosing. How should you minimize cost? [PROFESSIONAL]
    1. Purchase a Heavy Utilization Reserved Instance to run the accounting software. Turn it off after hours. Run the batch jobs with the same instance class, so the Reserved Instance credits are also applied to the batch jobs. (Because the instance will always be online during the day, in a predictable manner, and there are sequences of batch jobs to perform at any time, we should run the batch jobs when the account software is off. We can achieve Heavy Utilization by alternating these times, so we should purchase the reservation as such, as this represents the lowest cost. There is no such thing a “Full” level utilization purchases on EC2.)
    2. Purchase a Medium Utilization Reserved Instance to run the accounting software. Turn it off after hours. Run the batch jobs with the same instance class, so the Reserved Instance credits are also applied to the batch jobs.
    3. Purchase a Light Utilization Reserved Instance to run the accounting software. Turn it off after hours. Run the batch jobs with the same instance class, so the Reserved Instance credits are also applied to the batch jobs.
    4. Purchase a Full Utilization Reserved Instance to run the accounting software. Turn it off after hours. Run the batch jobs with the same instance class, so the Reserved Instance credits are also applied to the batch jobs.

New Practice Questions

  1. A company wants to reduce EC2 costs but anticipates changing instance families and Regions over the next year as they modernize their architecture. Which purchasing option provides the most flexibility while still offering significant savings?
    1. Standard Reserved Instances
    2. Convertible Reserved Instances
    3. Compute Savings Plans (Compute Savings Plans provide up to 66% savings and apply regardless of instance family, size, Region, OS, or tenancy)
    4. EC2 Instance Savings Plans
  2. A company needs guaranteed EC2 capacity for a planned product launch event in 3 months. They want to reserve capacity without paying until the capacity is actually used. Which option best meets this requirement?
    1. Purchase Reserved Instances 3 months in advance
    2. Create a future-dated On-Demand Capacity Reservation (Future-dated CRs can be scheduled up to 120 days in advance with no upfront charges. Billing starts only when the reservation activates on the scheduled date)
    3. Purchase Savings Plans
    4. Use EC2 Capacity Blocks
  3. A machine learning team needs to reserve GPU capacity (P5 instances) for a 2-week training job that will start in 4 weeks. Which EC2 purchasing option is most appropriate?
    1. On-Demand Instances
    2. Spot Instances
    3. Reserved Instances
    4. EC2 Capacity Blocks for ML (Capacity Blocks are designed specifically for short-duration ML workloads, supporting GPU reservations up to 6 months, reservable up to 8 weeks in advance)
  4. Which of the following statements about Savings Plans is CORRECT? (Select TWO)
    1. Compute Savings Plans apply to EC2, Lambda, and Fargate usage
    2. Savings Plans provide capacity reservations
    3. Savings Plans can be returned within 7 days of purchase
    4. EC2 Instance Savings Plans apply across all Regions
    5. Savings Plans can be sold on the RI Marketplace
  5. A company has unused On-Demand Capacity Reservations for 50 instances, but only uses 30 instances most of the time. They want to allow other teams in their organization to temporarily use the unused capacity. Which feature should they use?
    1. Capacity Reservation Fleets
    2. Split Capacity Reservations
    3. Interruptible Capacity Reservations (Interruptible CRs allow making unused capacity temporarily available to other workloads while maintaining control to reclaim it when needed)
    4. Future-dated Capacity Reservations
  6. Which of the following correctly describes the difference between Reserved Instances and Savings Plans? (Select TWO)
    1. Reserved Instances scoped to an AZ provide capacity reservation; Savings Plans do not
    2. Savings Plans offer deeper discounts than Standard RIs
    3. Reserved Instances can cover Lambda and Fargate; Savings Plans cannot
    4. Savings Plans commit to a dollar-per-hour spend; RIs commit to specific instance configurations
    5. Savings Plans require a 3-year minimum commitment

References