ステートフル ディスクを使用して MIG を作成する
bookmark_borderbookmark
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
グループ内のすべての VM のディスクを保持するマネージド インスタンス グループ(MIG)を作成します。
もっと見る
このコードサンプルを含む詳細なドキュメントについては、以下をご覧ください。
コードサンプル
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],[],[[["This code sample demonstrates how to create a managed instance group (MIG) using Terraform."],["The MIG configuration in this example is set to preserve stateful disks."],["The `stateful_disk` section specifies that the disk named \"example-disk\" will not be deleted when the instance is removed."],["The Terraform configuration sets the MIG's name to `igm-stateful-disk-basic`, the zone to `us-central1-f`, the base instance name to `instance` and the target size to `1`."]]],[]]