A gaming analytics company is developing a stateless HTTP API to process unpredictable bursts of telemetry data sent via webhooks from mobile clients. The workload experiences periods of complete inactivity during off-peak hours and requires rapid scaling to handle sudden traffic spikes without manual intervention. The development team wants to containerize the application while minimizing operational management and paying only for the compute resources consumed during request execution. Which Google Cloud compute solution should you recommend?
- Deploy the containerized service to Cloud Run configured with autoscaling and scale-to-zero enabled.Cevap
- BDeploy the application to a Google Kubernetes Engine (GKE) Autopilot cluster with Horizontal Pod Autoscaler.
- CDeploy the application on a Compute Engine Managed Instance Group (MIG) with CPU-based autoscaling.
- DProvision a Compute Engine instance pool backed by 3-year Committed Use Discounts to cover peak capacity.
Cevap
Deploy the containerized service to Cloud Run configured with autoscaling and scale-to-zero enabled.
Deploying the service to Cloud Run provides a fully managed serverless environment that runs stateless containers, scales rapidly based on incoming HTTP webhook requests, scales down to zero when idle, and incurs costs only during request execution.
Adım Adım Çözüm
Anahtar Kavram
Selecting Serverless Container Platforms for Stateless HTTP Workloads
Tahmini Süre:1m 30s