A logistics company is planning to migrate three distinct workloads to Amazon EC2:
* Workload A: A microservices platform running continuously that will initially deploy in the us-east-1 Region, but is scheduled to migrate to the us-west-2 Region in six months.
* Workload B: A daily stateful data synchronization task that runs for exactly 2 hours each night and cannot tolerate any interruptions.
* Workload C: A stateless, containerized image-processing batch job that can run at any time, can be paused and resumed, and scales dynamically based on queue depth.
Which combination of EC2 pricing models provides the most cost-effective solution for these workloads?
- AEC2 Instance Savings Plan for Workload A; Spot Instances for Workload B; On-Demand Instances for Workload C
- BCompute Savings Plan for Workload A; Compute Savings Plan for Workload B; Spot Instances for Workload C
- Compute Savings Plan for Workload A; On-Demand Instances for Workload B; Spot Instances for Workload CCevap
- DEC2 Instance Savings Plan for Workload A; On-Demand Instances for Workload B; On-Demand Instances for Workload C
Cevap
Compute Savings Plan for Workload A; On-Demand Instances for Workload B; Spot Instances for Workload C
The correct choice combines a Compute Savings Plan for Workload A, On-Demand Instances for Workload B, and Spot Instances for Workload C. A Compute Savings Plan provides the flexibility to apply discounts across different AWS Regions (from us-east-1 to us-west-2), which an EC2 Instance Savings Plan cannot do. On-Demand Instances are the most cost-effective for Workload B because it only runs for 2 hours a day; committing to a Savings Plan would result in paying for 22 unused hours daily, and Spot Instances cannot be used since the workload is stateful and cannot tolerate interruptions. Spot Instances are ideal for Workload C because it is stateless and fault-tolerant, allowing for maximum cost savings.
Adım Adım Çözüm
Anahtar Kavram
AWS EC2 pricing model selection based on workload flexibility, duration, and fault tolerance.