A ride-sharing platform is planning its Amazon EC2 deployment strategy for three distinct workloads:
1. Core dispatch database servers that must run continuously with a predictable, steady-state workload profile for a multi-year period.
2. A fleet of application servers that scale dynamically to handle highly volatile, unpredictable spikes in passenger demand during rush hours, where active customer connections cannot be abruptly dropped.
3. A background data-cleansing pipeline that processes non-urgent passenger feedback surveys in batches, which is designed to tolerate interruptions and can resume paused tasks.
Which combination of Amazon EC2 pricing models is the most cost-effective and architecturally appropriate for these workloads?
- Reserved Instances for the core database servers, On-Demand Instances for the application servers, and Spot Instances for the data-cleansing pipelineAnswer
- BSpot Instances for the core database servers, Reserved Instances for the application servers, and On-Demand Instances for the data-cleansing pipeline
- COn-Demand Instances for the core database servers, Spot Instances for the application servers, and Reserved Instances for the data-cleansing pipeline
- DReserved Instances for the core database servers, Spot Instances for the application servers, and On-Demand Instances for the data-cleansing pipeline
Answer
Reserved Instances for the core database servers, On-Demand Instances for the application servers, and Spot Instances for the data-cleansing pipeline
The combination of Reserved Instances for the core database servers, On-Demand Instances for the application servers, and Spot Instances for the data-cleansing pipeline is correct. The database servers require continuous, predictable coverage over multiple years, which is the exact use case for Reserved Instances to maximize discount. The application servers require uninterrupted runtimes during volatile spikes, making On-Demand Instances the appropriate choice to prevent dropped client connections. The data-cleansing pipeline is fault-tolerant and batch-oriented, allowing it to take advantage of the steep discounts offered by Spot Instances despite potential interruptions.
Step-by-Step Solution
Key Concept
Selecting optimal Amazon EC2 pricing models (On-Demand, Reserved Instances, Spot Instances) based on workload predictability, stability, commitment length, and fault tolerance.