Apakah aplikasi saya cocok untuk layanan Cloud Run?
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menguraikan daftar kriteria untuk membantu Anda menentukan apakah aplikasi Anda
cocok untuk menjadi layanan Cloud Run.
Kriteria
Agar cocok sebagai layanan Cloud Run, aplikasi Anda harus
memenuhi semua kriteria berikut. Lihat kontrak container Cloud Run untuk mengetahui informasi selengkapnya.
Menyajikan permintaan, streaming, atau peristiwa yang dikirim menggunakan HTTP, HTTP/2, WebSockets,
atau gRPC, atau dieksekusi hingga selesai.
Tidak memerlukan sistem file persistenlokal,
tetapi perlu sistem file ephemeral lokal atau sistem file jaringan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 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)."]]