Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina illustra un elenco di criteri per aiutarti a determinare se la tua app è adatta a essere un servizio Cloud Run.
Criteri
Per essere adatta come servizio Cloud Run, l'app deve soddisfare tutti i seguenti criteri. Per ulteriori informazioni, consulta il contratto del contenitore Cloud Run.
Pubblica richieste, stream o eventi inviati tramite HTTP, HTTP/2, WebSocket o gRPC oppure esegue l'operazione fino al completamento.
Non richiede un file systemlocalepermanente, ma un file system temporaneo locale o un file system di rete.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],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)."]]