Soru

Zorluk: OrtaCost-Optimized Compute Selection and Purchasing Strategies

A media company is migrating a web application to AWS. The architecture requires a fleet of Amazon ECS tasks running on AWS Fargate to handle constant, baseline user traffic. The application also uses Amazon DynamoDB to store user session data with highly unpredictable, spiky access patterns. The company wants to minimize the long-term, predictable costs of Fargate, while ensuring DynamoDB is optimized for cost. Which strategy should the company implement?

  1. Purchase a Compute Savings Plan for the ECS Fargate tasks, and configure Amazon DynamoDB in On-Demand capacity mode.Cevap
  2. B
    Purchase a Compute Savings Plan to cover both the ECS Fargate tasks and the Amazon DynamoDB table capacity.
  3. C
    Purchase a Compute Savings Plan for the ECS Fargate tasks, and configure Amazon DynamoDB in Provisioned Capacity mode with statically provisioned read and write capacity to handle peak spikes.
  4. D
    Migrate the web application baseline traffic to AWS Lambda functions running continuously, and purchase a Compute Savings Plan to cover the Lambda invocation and duration costs.

Cevap

Purchase a Compute Savings Plan for the ECS Fargate tasks, and configure Amazon DynamoDB in On-Demand capacity mode.
The correct strategy is to use a Compute Savings Plan to cover the constant, 24/7 baseline compute usage of the Amazon ECS Fargate tasks, and configure Amazon DynamoDB in On-Demand capacity mode. Compute Savings Plans provide discounts on ECS Fargate. Since DynamoDB access patterns are spiky and unpredictable, On-Demand capacity mode ensures that the company only pays for the database requests actually consumed, avoiding the high cost of over-provisioning capacity.

Adım Adım Çözüm

1
Analyze the compute requirements for the baseline web application traffic.
The baseline web application traffic is constant and runs 24/7 on Amazon ECS Fargate. Compute Savings Plans are ideal for this workload, offering discounts of up to 66% in exchange for a commitment to a consistent amount of compute usage.
To choose the correct compute purchasing model for predictable, continuous ECS Fargate tasks.
2
Evaluate the database storage and throughput needs for DynamoDB.
The DynamoDB workload has highly unpredictable, spiky access patterns. On-Demand capacity mode charges per request and accommodates sudden traffic changes instantly, preventing over-provisioning costs.
To select the most cost-effective capacity mode for spiky database traffic.
3
Combine the compute and database strategies and eliminate invalid options.
We pair the Compute Savings Plan for Fargate with DynamoDB On-Demand capacity. We eliminate options that misapply Compute Savings Plans to DynamoDB, over-provision DynamoDB capacity, or use Lambda for continuous baseline load.
To synthesize the optimal hybrid architecture that minimizes total cost of ownership.

Anahtar Kavram

Selecting cost-optimized compute purchasing strategies (Compute Savings Plans for Fargate) and matching appropriate database capacity modes (On-Demand for spiky DynamoDB workloads) to minimize AWS costs.
Bu soruyu puanla