A retail company runs a containerized web application on AWS. The application consists of a front-end service hosted on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate that runs 24/7 with a highly predictable baseline load of 8 tasks. The application also runs a nightly backend reporting job on Amazon ECS that processes sales data for 3 hours. The reporting job can tolerate interruptions and resume from checkpoints, but must complete within a 6-hour execution window. The company also stores intermediate reporting logs in Amazon S3 for 10 days before deleting them.
Which two strategies should a solutions architect recommend to minimize compute and storage costs for these workloads? (Select TWO.)
- Purchase a Compute Savings Plan to cover the baseline AWS Fargate tasks.Cevap
- Configure the Amazon ECS service for the nightly reporting job to use the Fargate Spot capacity provider.Cevap
- CPurchase a Compute Savings Plan to cover the compute charges for both the AWS Fargate tasks and the Amazon RDS database.
- DMigrate the nightly reporting job to run on AWS Lambda to eliminate idle compute costs.
- EStore the intermediate reporting logs in Amazon S3 Standard-Infrequent Access (S3 Standard-IA) and delete them after 10 days.
Cevap
The correct strategies are to purchase a Compute Savings Plan to cover the baseline Fargate tasks, and to configure the Amazon ECS service for the nightly reporting job to use the Fargate Spot capacity provider.
Purchasing a Compute Savings Plan covers the continuous 24/7 baseline of the ECS Fargate tasks, yielding significant discounts compared to On-Demand pricing. Additionally, using Fargate Spot for the nightly reporting job utilizes spare AWS capacity at a heavy discount, which is appropriate because the job is fault-tolerant and has a flexible completion window.
Adım Adım Çözüm
Anahtar Kavram
Selecting cost-optimized compute purchasing options (Compute Savings Plans for predictable baseline workloads, Spot instances for fault-tolerant batch workloads) and evaluating minimum storage duration charges in storage tiers.