A company runs a telemetry ingestion and processing platform on AWS. The workload has the following components:
- A baseline of four Amazon EC2 instances that run continuously 24/7 to receive telemetry data.
- An Auto Scaling group of EC2 instances that adds between two and eight additional instances during peak daytime hours.
- A daily batch analytics job running on Amazon EC2 for two hours that is fault-tolerant and can be interrupted or resumed.
- An Amazon RDS PostgreSQL database instance that runs continuously 24/7 to store the processed telemetry.
Which combination of purchasing options will provide the most cost-effective solution for this workload?
- Purchase a Compute Savings Plan to commit to the baseline EC2 usage, use On-Demand Instances for the peak scaling instances, use Spot Instances for the batch analytics job, and purchase an RDS Reserved Instance for the database.Answer
- BPurchase a Compute Savings Plan to commit to both the baseline EC2 usage and the Amazon RDS database usage, use On-Demand Instances for the peak scaling instances, and use Spot Instances for the batch analytics job.
- CPurchase Instance Savings Plans to cover both the baseline and peak scaling EC2 instances, use On-Demand Instances for the batch analytics job, and purchase an RDS Reserved Instance for the database.
- DUse Spot Instances for the baseline EC2 instances and the batch analytics job, use On-Demand Instances for the peak scaling instances, and purchase a Compute Savings Plan to cover the Amazon RDS database.
Answer
Purchase a Compute Savings Plan to commit to the baseline EC2 usage, use On-Demand Instances for the peak scaling instances, use Spot Instances for the batch analytics job, and purchase an RDS Reserved Instance for the database.
The correct strategy combines a Compute Savings Plan for the baseline EC2 workload, On-Demand Instances for the variable peak scaling compute, Spot Instances for the short-term and fault-tolerant batch processing, and an RDS Reserved Instance to discount the database layer. This maximizes discounts while avoiding over-commitment and maintaining application availability.
Step-by-Step Solution
Key Concept
Selecting cost-optimized compute purchasing models based on workload predictability, fault tolerance, and service support boundaries.