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?
- ACommit to a Compute Savings Plan to reduce the costs of both the baseline Fargate tasks and the database tier hosted on Amazon RDS.
- BMigrate the steady-state microservice to AWS Lambda functions to run continuously and eliminate container provisioning costs.
- Purchase a Compute Savings Plan to cover the baseline Fargate compute capacity.Answer
- DConfigure AWS Cost Explorer to retroactively shut down the Fargate tasks if the accumulated monthly compute spend exceeds the target budget.
Answer
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.
Step-by-Step Solution
Key Concept
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.