For a two-week pilot on a client's Google Cloud, skip Kubernetes
Cloud Run spares you days of asking for infrastructure, but the first question is still whether the service holds state.
In brief
- Cloud Run runs code, functions or containers without creating a cluster or managing infrastructure.
- With no requests, a service scales to zero instances, so the next request may wait for a cold start; setting min instances reduces cold starts, but standby instances still cost money.
- Cloud Run does not support Kubernetes; if an application needs Kubernetes, look at GKE Autopilot.
Two weeks, one Google Cloud project and one service account: that is the whole budget for many client pilots, and often nobody on the client’s team wants to run another Kubernetes cluster. In that situation Cloud Run is usually the shortest path, but it is only worth choosing once you know where it can fail.
Google describes Cloud Run as a fully managed application platform that runs code, functions or containers. For an FDE, the most valuable part is the documentation’s claim that you can get the work done without creating a cluster or managing infrastructure.
On site with a client, every day you don’t spend asking for permission to build infrastructure is a day you can give to the real problem.
Services wait for requests, jobs run to completion
A service sits and waits for incoming requests. A job is for parallelizable tasks that run, manually or on a schedule, until they finish.
A 2019 Google blog post called Cloud Run an ideal home for stateless container microservices, the kind that don’t need Kubernetes features such as namespaces or node management. The post is old, so product details may have changed. Even so, “does this service keep state?” is still the first question to ask.
A concrete pilot, step by step
Take an insurance company that needs to extract information from claims files. There are two parts: an API that receives files from internal systems, and a nightly task that reprocesses the whole backlog of claims. The API is a Cloud Run service; the nightly task is a Cloud Run job on a schedule.
Where should your image live? Google recommends Artifact Registry and says Docker Hub should only be used for popular images. An image you built yourself for a client is not in that group, so push it to Artifact Registry inside the client’s own project.
A small but useful detail: Cloud Run imports the image at deploy time and does not pull it again from the registry each time a new instance starts. So if the registry has trouble just as the service needs to scale up, scaling is not affected. That belongs in the runbook you hand over to the client’s operations team.
The client wants the service inside its network
Every insurer will ask: does customer data travel over the internet? The answer lies in the ingress setting. In All mode, every request is accepted, including requests from the internet that call the run.app URL directly.
In Internal mode, requests from other sources, including the internet, cannot reach the service through the run.app URL, custom URLs or custom domains.
So at the very first meeting, ask the client which systems will call your API and where they sit in the network. Then check the answer against the definition of internal sources in the ingress documentation, rather than waiting until go-live day.
Scaling to zero saves money, and cold starts are the price
When a service has no requests, Cloud Run removes even the last instance. A new request then needs a new instance, and Google’s documentation confirms that requests sometimes have to wait for an instance to finish starting before they are handled. A 2020 Google blog post also acknowledged that serverless platforms have long accepted a trade-off in first-response latency.
According to the documentation, a request may wait up to 3.5 times the average instance startup time, or 10 seconds, whichever is greater. If your container takes 2 seconds on average to start, 3.5 times that is 7 seconds.
That is less than 10, so the request could wait up to 10 seconds. If a Monday-morning demo is the first request after a whole weekend, the person waiting is the client.
A scheduled “warm-up” call before the demo is not reliable either: if no requests follow it, the last instance can still be removed.
Google’s recommended way to reduce cold starts is to set minimum instances. An independent guide on the OneUptime blog points out the cost: idle instances that are not serving requests are billed at a lower rate, but they are not free.
For an important demo, you are trading a little money for latency, and that trade-off should be spelled out to whoever approves the client’s budget.
When to stop and choose GKE
Google’s reference architecture compares Cloud Run with GKE Autopilot and states one trade-off plainly: Cloud Run does not support Kubernetes. If the client’s application needs namespaces or node management, don’t force it onto Cloud Run.
Common mistakes on a first pilot
Most trouble with Cloud Run comes from questions that were not asked early enough, rather than from the tool itself.
| Mistake | Why it hurts | What to do instead |
|---|---|---|
| Using a service for batch work | Running to completion is what jobs are for | Split batch processing into a job, run manually or on a schedule |
| Asking late who will call the service | With Internal ingress, the internet cannot reach the run.app URL | Ask at the first meeting and test before go-live |
| Trusting a “warm-up” schedule without testing | Instances can still be removed when requests stop | Consider min instances, rehearse and measure the first request |
| Keeping a private image on Docker Hub | Google only recommends Docker Hub for popular images | Use Artifact Registry |
| Forcing a Kubernetes-dependent app onto Cloud Run | Cloud Run does not support Kubernetes | Look at GKE Autopilot for that part |
What to learn first
Start with containers: write a lean Dockerfile, get it running locally and keep the service stateless. Then get the difference between services and jobs firmly in hand, followed by ingress, because that is where the client’s security team will look hardest. Finally, measure cold starts on your own service.
On a CV, don’t just write “Google Cloud”. Write a specific line, for example: deployed a document-extraction API to Cloud Run with Internal ingress, plus a nightly processing job, with min instances set to reduce cold starts during demo hours.
When a job description asks for deployment on a client’s GCP, that is the story to have ready.
Cloud Run will not do the hardest part of the job for you, which is understanding the client’s network and processes. But it takes much of the infrastructure off your hands, leaving more time for that hard part.
Was this article useful?
Thanks for the feedback!
8 sources
- What is Cloud Run | Google Cloud Documentation · 2026-10-20
- General development tips | Cloud Run documentation · 2026-10-20
- Cloud Run min instances: Minimize your serverless cold starts · 2020-12-10
- How to Configure Minimum Instances on Cloud Run to Eliminate Cold Starts for Production Services · 2026-02-17
- Restrict network endpoint ingress for Cloud Run services and instances | Google Cloud Documentation · 2026-10-20
- Deploy container images to Cloud Run services | Google Cloud Documentation · 2026-10-20
- Google Kubernetes Engine vs Cloud Run: Which should you use? · 2019-11-23
- Select a managed container runtime environment | Cloud Architecture Center · 2024-08-30