概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Linux
Windows
起動スクリプトは、仮想マシン(VM)インスタンスの起動時に実行されるコマンドを含むファイルです。Compute Engine では、Linux VM と Windows VM 上で起動スクリプトを実行するためのサポートが提供されています。
次の表に、起動スクリプトの使用方法に関するドキュメントへのリンクを示します。
起動スクリプトのタスク |
最適な用途 |
手順へのリンク |
起動スクリプトを直接渡す |
256 KB までのスクリプト |
|
ローカル ファイルから起動スクリプトを渡す |
256 KB までのスクリプト |
|
Cloud Storage から起動スクリプトを渡す |
256 KB を超えるスクリプト |
|
起動スクリプトからメタデータにアクセスする |
同じスクリプトを使用する VM ごとに異なる値を渡す |
|
起動スクリプトを再実行する |
VM を再起動せずにスクリプトを実行する |
|
起動スクリプトの出力を表示する |
スクリプトの進行状況をモニタリングする |
|
次のステップ
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"わかりにくい"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"情報またはサンプルコードが不正確"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"必要な情報 / サンプルがない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]