Google Cloud Digital LeaderDigital transformation with Google CloudMedium
A startup is building a new e-commerce platform that needs to handle unpredictable spikes in traffic, especially during flash sales and holiday seasons. They require a fully managed, serverless platform that can automatically scale from zero to thousands of instances within seconds, without needing to provision or manage any servers. Which Google Cloud service is the most appropriate for deploying their application microservices?
- ACloud Functions
- BCloud Run
- CCompute Engine
- DGoogle Kubernetes Engine (GKE)
Show answer & explanationAnswer & explanation
Correct answer: B. Cloud Run
Cloud Run is a fully managed, serverless platform for containerized applications that automatically scales from zero to many instances based on request traffic. This perfectly addresses the startup's need for unpredictable traffic handling and no server management.
Why the other options are wrong
- A. Cloud Functions are for event-driven, short-lived functions, not ideal for full application microservices.
- C. Compute Engine requires manual server provisioning and management, which the startup wants to avoid.
- D. GKE is for container orchestration but still involves managing a Kubernetes cluster, which is more complex than a fully serverless solution.
Cloud Run
A fully managed serverless platform for developing and deploying highly scalable containerized applications.
- Automatically scales up and down, even to zero instances, based on traffic.
- Supports any language or library that can be packaged into a container.
- Pay-per-use billing, charged only when your code is running.
Memory trick: Cloud Run 'runs' your containers without you 'running' servers.