A research institute is planning a project that will last exactly one year. As part of this project, they need to run a critical data analysis workload on an Amazon EC2 instance for 8 hours every Friday. The analysis cannot be interrupted once it begins. Which EC2 pricing model is the most cost-effective for this workload?
- On-Demand InstancesAnswer
- BReserved Instances
- CSpot Instances
- DSavings Plans
Answer
On-Demand Instances are the most cost-effective model because the workload runs for only hours total over the year, making any 1-year commitment far more expensive, while Spot Instances cannot guarantee the required uninterrupted execution.
The correct answer is On-Demand Instances. Because the workload runs for only 8 hours a week, the total run time over the year is hours. Paying the standard hourly rate for On-Demand is far cheaper than committing to a 1-year Reserved Instance or Savings Plan, which charges for all hours of the year. Additionally, On-Demand Instances guarantee that the compute resources will not be reclaimed or interrupted, ensuring the analysis runs successfully to completion.
Step-by-Step Solution
Key Concept
Selecting the optimal Amazon EC2 pricing model based on workload patterns, predictability, and duration.