A healthtech startup has migrated its core application platform to AWS and wants to establish the most cost-optimized compute purchasing strategy. The application workload consists of:
* An API tier running on Amazon ECS using AWS Fargate that requires a continuous, predictable baseline of 2.00 per hour in database compute costs, 24/7.
* A daily data transformation process running on Amazon ECS using AWS Fargate that is highly fault-tolerant, runs for 2 hours every night, and can scale up to 50 tasks dynamically.
* An ad-hoc analytics training model running on Amazon EC2 GPU instances for exactly 6 hours every Saturday, which must run to completion without interruption.
Which strategy meets these requirements at the lowest cost?
- Purchase a Compute Savings Plan to cover the baseline Fargate API tier. Purchase Amazon RDS Reserved Instances to cover the database tier. Use Fargate Spot for the daily data transformation tasks, and use On-Demand Instances for the weekly EC2 GPU analytics training.Cevap
- BPurchase a Compute Savings Plan to cover both the baseline Fargate API tier and the Amazon RDS database tier. Use Fargate Spot for the daily data transformation tasks, and use On-Demand Instances for the weekly EC2 GPU analytics training.
- CPurchase an EC2 Instance Savings Plan to cover both the baseline Fargate API tier and the weekly EC2 GPU analytics training. Purchase Amazon RDS Reserved Instances to cover the database tier, and use Fargate Spot for the daily data transformation tasks.
- DPurchase a Compute Savings Plan to cover the baseline Fargate API tier. Purchase Amazon RDS Reserved Instances to cover the database tier. Use AWS Lambda to run the daily data transformation tasks to leverage serverless billing, and use On-Demand Instances for the weekly EC2 GPU analytics training.
Cevap
Purchase a Compute Savings Plan to cover the baseline Fargate API tier, purchase Amazon RDS Reserved Instances for the database tier, use Fargate Spot for the daily data transformation tasks, and use On-Demand Instances for the weekly EC2 GPU analytics training.
The correct strategy leverages the appropriate discount mechanism for each service type and workload characteristic. A Compute Savings Plan is selected for the baseline AWS Fargate API tier. Amazon RDS Reserved Instances are selected for the database tier since database compute is excluded from Compute Savings Plans. Fargate Spot is chosen for the daily data transformation process as it is fault-tolerant and containerized. On-Demand instances are chosen for the weekly GPU analytics training because its low duty cycle (6 hours per week) makes a 24/7 Savings Plan commitment economically inefficient, and its requirement to run to completion without interruption rules out Spot instances.
Adım Adım Çözüm
Anahtar Kavram
Selecting cost-optimized compute types and purchasing models based on workload predictability, execution duration, and service type.
Tahmini Süre:3m 0s