如果您的应用符合这些标准,它将非常适合 Cloud Run!如需开始使用,请尝试其中一个 Cloud Run 快速入门。
如果您的应用不满足所有条件,您可能需要考虑使用 Google Kubernetes Engine (GKE) 作为托管方案。如需比较 Cloud Run 和 Google Kubernetes Engine,请参阅比较指南。如需根据技术和组织方面的考虑,评估有关在 Cloud Run 和 Google Kubernetes Engine 之间进行选择的应用要求,请参阅托管式容器运行时环境选择指南。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# Is my app a good fit for a Cloud Run service?\n\nThis page lays out a list of criteria to help you determine if your app is\nwell-suited to be a Cloud Run service.\n\nCriteria\n--------\n\nIn order to be a good fit as a Cloud Run service, your app needs\nto meet *all* of the following criteria. See the Cloud Run\n[container contract](/run/docs/reference/container-contract) for more\ninformation.\n\n- Serves requests, streams, or events delivered using HTTP, HTTP/2, WebSockets, or gRPC, or executes to completion.\n- Does not require a *local* *persistent* [file system](/run/docs/reference/container-contract#filesystem), but either a local *ephemeral* file system or a *network* file system.\n- Is built to handle [multiple instances of the app running simultaneously](/run/docs/about-instance-autoscaling).\n- Does not require more than [8 CPU and 32 GiB of memory per instance](/run/quotas#cloud_run_limits).\n\nIf your app meets those criteria, then it's good fit for\nCloud Run! To get started, try one of the\n[Cloud Run quickstarts](/run/docs/quickstarts#build-and-deploy-a-web-service).\n\nIf your app doesn't meet all of the criteria, you might want to check out\n[Google Kubernetes Engine (GKE)](/kubernetes-engine) as a hosting option. For a\ncomparison of Cloud Run and Google Kubernetes Engine, see the\n[comparison guide](/kubernetes-engine/docs/concepts/gke-and-cloud-run). To\nassess your application requirements for choosing between Cloud Run and Google Kubernetes Engine based on\ntechnical and organizational considerations, see the [Selection guide for managed container runtime environments](/architecture/select-managed-container-runtime-environment)."]]