Let’s Get Certified
Module 12 / 22 · Cost-Optimized Architecture Design

Commit to measured demand and price successful output

Benchmark compatible execution models, stable commitments, interruption costs and model-serving tiers.

Task 3.1 · Commit to measured demand and price successful output

A cheaper renderer misses the delivery window

One pool costs an illustrative $60/hour and delivers 120 accepted scenes; another costs $40/hour but delivers 64 after retries. Both require 200 scenes by the deadline. The team also handles an unrelated overnight captioning batch. Which price comparison matters?

Compare your design with the worked answer

The first pool costs $0.50 per accepted scene and the second $0.625. Check deadline capacity and checkpoint recovery before using interruptible workers. Test a compatible rightsized or Graviton fleet on real scenes. Commit only the stable post-change floor. Analyze captioning under supported batch inference and appropriate quality thresholds separately.

A lower hourly rate can be viable after better checkpoints. Recompute from successful output after the change and model the failover or launch-capacity requirement independently from the discount.

3.1.1 · Buy the stable floor and reserve capacity deliberately

After rightsizing, plot hourly eligible spend and estimate a conservative commitment that remains usable through forecast changes. Compute Savings Plans discount eligible use; a matching capacity reservation addresses a launch-capacity requirement. Use diversified Spot for interruption-tolerant work with durable checkpoints. Compare full cost per completed job.

3.1.2 · Price the unit of useful work

A lower hourly instance price can produce a higher cost per completed order if dependencies lose performance. Benchmark supported Arm/Graviton builds. Compare Lambda memory-duration and invocation costs against containers at representative utilization. For workflows, model Standard transitions and durable waits versus eligible Express requests, runtime and replay semantics.

3.1.3 · Remove wasted capacity using observed headroom

Validate Compute Optimizer findings with memory, CPU, network and tail latency through peaks. Target tracking needs a metric that falls per worker as capacity grows. Schedule known peaks early enough for startup. Diversify Fargate Spot or EC2 Spot only where interruption is tolerable. Re-measure cost per successful output.

3.1.4 · Price model work under its service objective

Record input and output tokens, retries, latency, throughput and quality by request class. Offline jobs may use batch inference where supported. Repeated prompts or outputs can benefit from appropriate caching with model-specific eligibility, tenant isolation and freshness bounds. Evaluate provisioned throughput only against sustained eligible demand and a measured latency objective.

Apply the video example

The Compute Optimizer demonstration explores rightsizing recommendations. Treat one recommendation as a hypothesis: measure peak memory, p99, retries and cost per accepted result on the proposed family before purchasing a commitment.

freeCodeCamp · 65:02:25 in AWS Compute Optimizer

Official SAP-C03 task 3.1 · Bedrock cross-Region inference

Return to the objective map

Knowledge check

Commit to measured demand and price successful output quiz

Answer 5 questions. Check each answer for an explanation.