Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Linux
Windows
Skrip startup adalah file yang berisi perintah yang dijalankan saat instance virtual machine (VM) melakukan booting. Compute Engine menyediakan dukungan untuk menjalankan skrip startup di VM Linux dan VM Windows.
Tabel berikut berisi link untuk mengakses dokumentasi yang menjelaskan cara menggunakan
skrip startup.
[[["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-08-19 UTC."],[[["\u003cp\u003eStartup scripts are files containing commands that execute upon the boot of a virtual machine (VM) instance, supported by both Linux and Windows VMs.\u003c/p\u003e\n"],["\u003cp\u003eStartup scripts can be passed directly, from a local file, or from Cloud Storage, depending on the script's size, with direct and local files limited to 256 KB, and Cloud Storage for larger scripts.\u003c/p\u003e\n"],["\u003cp\u003eYou can use startup scripts to pass different values to each VM via metadata.\u003c/p\u003e\n"],["\u003cp\u003eYou can rerun a startup script without having to restart the VM.\u003c/p\u003e\n"],["\u003cp\u003eThere is documentation to describe how to monitor the progress of a script when it is running, and also how to add a shutdown script.\u003c/p\u003e\n"]]],[],null,[]]