A logistics enterprise operates a fleet management webhook microservice that ingests vehicle telemetry updates. The traffic pattern is highly unpredictable, experiencing long periods of zero activity overnight followed by heavy bursts during morning delivery schedules. The business goal is to minimize operational cost by eliminating baseline compute expenses during idle periods while ensuring automatic scale-out during traffic spikes without managing infrastructure cluster nodes. Which cloud architecture should you recommend?
- Deploy the containerized microservice to Cloud Run with the minimum instance count set to zero.Cevap
- BDeploy the microservice onto a Google Kubernetes Engine (GKE) Autopilot cluster configured with Horizontal Pod Autoscaling (HPA).
- CProvision a multi-region Cloud Spanner database instance to manage incoming telemetry payloads with high availability.
- DProvision Compute Engine virtual machines sized for peak traffic and purchase 3-Year Committed Use Discounts (CUDs).
Cevap
Deploying the containerized microservice to Cloud Run with minimum instances set to zero achieves the business requirement of zero infrastructure cost during idle periods while providing seamless automated scaling during peak morning workloads.
Deploying to Cloud Run with minimum instances configured to zero satisfies both the operational requirement of automatic request-driven scaling and the business objective of minimizing cost by eliminating all charges during zero-traffic idle periods.
Adım Adım Çözüm
Anahtar Kavram
Serverless Compute Right-Sizing and Scale-to-Zero Cost Optimization