AWS Solutions Architect · Design Cost-Optimized Architectures · medium

A data-engineering team runs a steady baseline of 40 vCPUs across Amazon EC2, AWS Fargate, and AWS Lambda in two Regions, plus a nightly batch job on stateless EC2 workers that can tolerate interruptions and restart from checkpoints. Which purchasing combination minimizes compute cost?

Published · Last updated · checked before publication — how we verify questions

Options

  • APurchase Zonal Standard Reserved Instances for all baseline workloads and run the nightly batch job on On-Demand instances
  • BPurchase EC2 Instance Savings Plans for the baseline and Dedicated Hosts for the nightly checkpointed batch workers
  • CPurchase a Compute Savings Plan for the steady baseline and run the fault-tolerant nightly batch job on EC2 Spot InstancesCorrect answer
  • DRun both the baseline services and the nightly batch job on On-Demand Capacity Reservations across both Regions

Answer: C. Purchase a Compute Savings Plan for the steady baseline and run the fault-tolerant nightly batch job on EC2 Spot Instances

Compute Savings Plans provide up to 66% discount across EC2, Fargate, and Lambda regardless of Region, instance family, or OS for the steady baseline, while EC2 Spot Instances provide up to 90% discount for the fault-tolerant, checkpointed nightly batch job. EC2 Instance Savings Plans do not cover Fargate or Lambda.

Why the other options are wrong

  • A. Purchase Zonal Standard Reserved Instances for all baseline workloads and run the nightly batch job on On-Demand instances — EC2 Reserved Instances do not discount AWS Fargate or AWS Lambda usage, and On-Demand is costly for interruptible batch jobs.
  • B. Purchase EC2 Instance Savings Plans for the baseline and Dedicated Hosts for the nightly checkpointed batch workers — EC2 Instance Savings Plans are locked to a specific instance family in one Region and do not cover Fargate or Lambda.
  • D. Run both the baseline services and the nightly batch job on On-Demand Capacity Reservations across both Regions — On-Demand Capacity Reservations reserve capacity at full On-Demand rates without providing a billing discount.

All Design Cost-Optimized Architectures questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.