Is my app a good fit for a Cloud Run service? Stay organized with collections Save and categorize content based on your preferences.
This page lays out a list of criteria to help you determine if your app iswell-suited to be a Cloud Run service.
Criteria
In order to be a good fit as a Cloud Run service, your app needsto meetall of the following criteria. See the Cloud Runcontainer contract for moreinformation.
- Serves requests, streams, or events delivered using HTTP, HTTP/2, WebSockets,or gRPC, or executes to completion.
- Does not require alocalpersistentfile system,but either a localephemeral file system or anetwork file system.
- Is built to handlemultiple instances of the app running simultaneously.
- Does not require more than8 CPU and 32 GiB of memory per instance.
If your app meets those criteria, then it's good fit forCloud Run! To get started, try one of theCloud Run quickstarts.
If your app doesn't meet all of the criteria, you might want to check outGoogle Kubernetes Engine (GKE) as a hosting option. For acomparison of Cloud Run and Google Kubernetes Engine, see thecomparison guide. Toassess your application requirements for choosing betweenCloud Run and Google Kubernetes Engine based on technical and organizationalconsiderations, see theSelection guide for managed container runtime environments.
For automatic GitHub integration and optimized deployments with CDN forserver-renderedNext.js orAngular apps,consider usingFirebase App Hosting.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.