Soru

Zorluk: KolayCost-Optimized Compute Selection and Purchasing Strategies

A media company hosts a containerized microservice on Amazon ECS using AWS Fargate that runs continuously to handle steady-state traffic. The company wants to optimize its compute costs over a 1-year period. Which strategy will provide the most cost-effective compute purchasing strategy for this workload?

  1. A
    Commit to a Compute Savings Plan to reduce the costs of both the baseline Fargate tasks and the database tier hosted on Amazon RDS.
  2. B
    Migrate the steady-state microservice to AWS Lambda functions to run continuously and eliminate container provisioning costs.
  3. Purchase a Compute Savings Plan to cover the baseline Fargate compute capacity.Cevap
  4. D
    Configure AWS Cost Explorer to retroactively shut down the Fargate tasks if the accumulated monthly compute spend exceeds the target budget.

Cevap

Purchase a Compute Savings Plan to cover the baseline Fargate compute capacity.
Purchasing a Compute Savings Plan is the most cost-effective option because Compute Savings Plans apply directly to AWS Fargate usage. They offer a discount of up to 66% in exchange for a 1-year or 3-year commitment to a consistent amount of compute usage, making them ideal for steady-state workloads.

Adım Adım Çözüm

1
Analyze the workload characteristics and hosting model.
The workload is a steady-state microservice running continuously on Amazon ECS with AWS Fargate.
Understanding the host platform and traffic pattern is necessary to select the right purchasing model.
2
Evaluate the eligibility of AWS Fargate for Savings Plans.
Compute Savings Plans apply to EC2, AWS Fargate, and AWS Lambda compute usage.
This determines which commitment-based discount mechanism is applicable to the current architecture.
3
Eliminate options that misapply pricing models or services.
Amazon RDS is not eligible for Compute Savings Plans, AWS Lambda is expensive for 24/7 workloads, and AWS Cost Explorer is not a resource management tool.
This narrows down the selection to the only valid and cost-optimal choice.

Anahtar Kavram

Compute Savings Plans provide a flexible discount model that applies to Amazon EC2, AWS Fargate, and AWS Lambda usage in exchange for a commitment to a consistent amount of compute usage.
Bu soruyu puanla