A lead engineer at an online education company is using the Google Cloud Pricing Calculator to model monthly infrastructure costs for a video analytics platform. The architecture requires compute resources for two distinct workloads: a core service that runs continuously 24 hours a day, 7 days a week, and a secondary stateless batch processing service that generates video thumbnails and can tolerate unexpected instance terminations. Which configuration strategy in the Google Cloud Pricing Calculator provides the most accurate and cost-effective monthly estimate for these compute workloads?
- Model the continuous workload using standard Compute Engine instances to incorporate Sustained Use Discounts or Committed Use Discounts, and select Spot VMs for the fault-tolerant batch processing workload.Answer
- BConfigure Spot VMs for both the 24/7 core service and the batch processing workload to achieve the maximum discount tier across all compute resources.
- CModel standard Compute Engine instances for both workloads and manually input a custom 30% discount parameter in the calculator to account for Sustained Use Discounts on the batch processing nodes.
- DModel the continuous 24/7 processing workload using event-driven Cloud Functions to automatically eliminate all underlying virtual machine cost estimates.
Answer
Model the continuous workload using standard Compute Engine instances to incorporate Sustained Use Discounts or Committed Use Discounts, and select Spot VMs for the fault-tolerant batch processing workload.
The correct strategy models the 24/7 core service using standard Compute Engine instances (allowing the Pricing Calculator to automatically factor in Sustained Use Discounts or apply Committed Use Discounts) while assigning Spot VMs to the batch thumbnail extraction service because it is stateless and tolerant of sudden interruptions.
Step-by-Step Solution
Key Concept
Cost estimation for heterogeneous compute workloads using Google Cloud Pricing Calculator, balancing Sustained Use Discounts (SUDs), Committed Use Discounts (CUDs), and Spot VM provisioning.
Estimated Time:1m 30s