Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
App Engine menawarkan pilihan antara dua lingkungan bahasa Node.js. Kedua lingkungan memiliki alur kerja developer yang berfokus pada kode yang sama, dapat diskalakan dengan cepat dan efisien untuk menangani permintaan yang meningkat, serta memungkinkan Anda menggunakan teknologi penayangan Google yang telah terbukti untuk membangun aplikasi web, seluler, dan IoT dengan cepat dan dengan overhead operasional yang minimal. Meskipun memiliki banyak kesamaan, kedua lingkungan ini berbeda dalam beberapa hal penting.
Aplikasi dapat diskalakan ke 0 instance jika tidak ada
traffic. Paling hemat biaya untuk aplikasi yang memiliki periode signifikan saat aplikasi tidak melayani traffic.
Tidak ada paket gratis. Aplikasi selalu memiliki jumlah minimum instance yang berjalan.
Paling hemat biaya untuk aplikasi yang melayani traffic secara terus-menerus.
Waktu deployment yang lebih lama.
Image runtime dapat disesuaikan.
Gunakan jenis mesin kustom untuk mengonfigurasi jumlah CPU dan ukuran memori.
Anda dapat menjalankan aplikasi App Engine di dua lingkungan, yaitu lingkungan standar dan lingkungan fleksibel. Lihat ringkasan perbedaan antara kedua lingkungan tersebut.
[[["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"]],[],[[["\u003cp\u003eApp Engine offers two Node.js environments: Standard and Flexible, both designed for web, mobile, and IoT applications.\u003c/p\u003e\n"],["\u003cp\u003eThe Standard environment features a free tier and can scale down to zero instances, making it ideal for applications with periods of inactivity.\u003c/p\u003e\n"],["\u003cp\u003eThe Flexible environment lacks a free tier but allows for runtime image customization and custom machine types, making it suitable for continuous traffic.\u003c/p\u003e\n"],["\u003cp\u003eDeployment time is faster in the Standard environment, while the Flexible environment allows for more customization options.\u003c/p\u003e\n"],["\u003cp\u003eBoth environments are built on the Ubuntu OS, though only the flexible environment can have customized runtime images.\u003c/p\u003e\n"]]],[],null,["# Node.js on Google App Engine\n\nApp Engine offers you a choice between two Node.js language environments. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google's proven serving technology to build your web, mobile and IoT applications quickly and with minimal operational overhead. While the two environments have a lot in common, they differ in a few important ways. \n\nChoose your preferred environment\n---------------------------------\n\n### Standard environment\n\n- [Free tier](/appengine/pricing)\n\n- Application can scale to 0 instances when there is no\n traffic. Most cost-effective for applications that have significant periods\n where they are not serving traffic.\n\n- Fast deployment time\n\n- Runtime image cannot be customized\n\n- Ubuntu OS\n\n[View Docs](/appengine/docs/standard/nodejs/runtime) \n\n### Flexible environment\n\n- No free tier. Application always has a minimum number of running instances.\n Most cost-effective for applications that serve traffic continuously.\n\n- Longer deployment time.\n\n- Runtime image can be customized.\n\n- Use custom machine types to configure CPU count and memory size.\n\n- Ubuntu OS\n\n[View docs](/appengine/docs/flexible/nodejs/runtime) \n\nChoosing an environment\n-----------------------\n\nYou can run an App Engine application in two environments, the standard environment and the flexible environment. See a summary of differences between the two environments.\n[Learn more](/appengine/docs/the-appengine-environments)"]]