Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dokumen ini memberikan ringkasan kuota SSD lokal per kelompok mesin. Panduan ini juga menjelaskan cara memperbarui dasbor pemantauan, kebijakan pemberitahuan, dan kueri untuk menggunakan metrik kuota untuk kuota SSD lokal per kelompok mesin.
Tentang kuota SSD lokal per kelompok mesin
Kuota SSD lokal menentukan total ukuran gabungan dari partisi disk SSD lokal yang dipasang ke VM di suatu region berdasarkan jenis mesin untuk setiap VM.
Metrik dan batas untuk kuota SSD lokal per kelompok mesin
Kuota SSD lokal Compute Engine dimigrasikan untuk menggunakan metrik kuota SSD lokal per grup mesin. Gunakan metrik kuota compute.googleapis.com/local_ssd_total_storage_per_vm_familyBETA, bukan compute.googleapis.com/local_ssd_total_storage, untuk melihat penggunaan dan batas kuota.
Anda dapat menggunakan konsol Google Cloud untuk
melihat nilai kuota saat ini untuk kuota SSD lokal per kelompok mesin untuk setiap region. Batas kuota SSD lokal per kelompok mesin dihitung berdasarkan batas yang ada dan penggunaan untuk kuota SSD lokal dan Permintaan Peningkatan Kuota (QIR) yang dikirimkan.
Di gcloud CLI dan API, kuota ini disebut sebagai LOCAL_SSD_TOTAL_GB_PER_VM_FAMILY.
Memigrasikan metrik Cloud Monitoring
Jika Anda menggunakan Cloud Monitoring untuk memantau penggunaan kuota SSD lokal dari waktu ke waktu dan untuk menerima pemberitahuan, Anda harus memperbarui dasbor, pemberitahuan, dan kueri Cloud Monitoring secara manual agar dapat menggunakan metrik untuk kuota SSD lokal per mesin keluarga.
Memantau penggunaan kuota SSD lokal per kelompok mesin
Untuk memperbarui diagram di dasbor Cloud Monitoring agar dapat menggunakan kuota SSD lokal per metrik kelompok mesin, lakukan tindakan berikut:
Di konsol Google Cloud , pilih Monitoring.
Di panel navigasi, pilih Dashboard.
Pilih dasbor yang ingin Anda edit untuk menggunakan metrik kuota per kelompok mesin untuk SSD lokal.
Klik Edit dasbor.
Pilih diagram yang ingin Anda ubah, lalu klik Edit dari menu Opsi diagram lainnya.
Di bagian Resource & Metric, klik Select a metric.
Pilih Compute Location > Quota > Local SSD disk per VM family (GB). penggunaan kuota, lalu klik Apply.
Atau, pilih Local SSD disk per VM family (GB). batas kuota untuk membuat diagram guna memantau batas kuota SSD lokal.
Opsional: Tentukan kriteria filter untuk diagram:
Klik add_boxAdd filter, lalu di menu Label, pilih salah satu opsi berikut:
limit_name: untuk memfilter penggunaan kuota SSD lokal di semua jenis mesin di satu region atau zona. Nilainya dapat berupa:
Membuat kebijakan pemberitahuan untuk penggunaan kuota SSD lokal per kelompok mesin
Untuk mengubah kebijakan pemberitahuan yang memantau metrik kuota SSD lokal yang ada, lakukan tindakan berikut:
Di konsol Google Cloud , pilih Monitoring.
Di panel navigasi, pilih Alerting.
Halaman Alerting menampilkan panel yang mencantumkan informasi ringkasan, insiden, dan kebijakan pemberitahuan.
Klik kebijakan pemberitahuan yang ingin diubah untuk menggunakan metrik baru.
Klik Copy untuk menyalin kondisi kebijakan pemberitahuan ke kebijakan baru.
Klik Select a metric, lalu pilih Compute Location > Quota > Disk SSD lokal per VM family (GB). penggunaan kuota, lalu klik Apply.
Atau, pilih Local SSD disk per VM family (GB). batas kuota untuk membuat kebijakan pemberitahuan tentang batas kuota SSD lokal.
Opsional: Edit filter yang sesuai dengan metrik yang ingin dimigrasikan:
Klik add_boxAdd filter, lalu di menu Label, pilih salah satu opsi berikut:
limit_name: untuk memfilter penggunaan kuota SSD lokal di semua jenis mesin di satu region atau zona. Nilainya dapat berupa:
Untuk mengubah metrik kuota dalam kebijakan pemberitahuan berbasis MQL atau diagram di dasbor, gunakan Query Editor dan edit filter kueri. Lihat Menggunakan Editor Kueri.
Buka Query Editor dan edit kueri berikut:
Perbarui nama metrik dan tambahkan filter untuk kelompok mesin seperti yang ditunjukkan pada contoh berikut:
[[["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."],[[["\u003cp\u003eThis document explains the new local SSD quota per machine family, which defines the total combined size of local SSD disk partitions attached to VMs based on their machine type in a region.\u003c/p\u003e\n"],["\u003cp\u003eThe local SSD quota metric is changing to \u003ccode\u003ecompute.googleapis.com/local_ssd_total_storage_per_vm_family\u003c/code\u003e and should be used to view quota usage and limits, instead of \u003ccode\u003ecompute.googleapis.com/local_ssd_total_storage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view their current local SSD quota per machine family limits in the Google Cloud console and the limit is calculated based on existing local SSD quota and any Quota Increase Requests.\u003c/p\u003e\n"],["\u003cp\u003eExisting Cloud Monitoring dashboards, alerts, and queries must be updated to use the new local SSD quota per machine family metric, either \u003ccode\u003eLocal SSD disk per VM family (GB).quota usage\u003c/code\u003e or \u003ccode\u003eLocal SSD disk per VM family (GB). quota limit\u003c/code\u003e, by modifying charts, filtering options and policy conditions.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud CLI and API reference the quota as \u003ccode\u003eLOCAL_SSD_TOTAL_GB_PER_VM_FAMILY\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# View and manage local SSD quota\n\n*** ** * ** ***\n\nThis document provides an overview of the local SSD quota per machine family. It\nalso describes how to update your monitoring dashboards, alerting policies, and\nqueries to use the quota metric for local SSD quota per machine family.\n|\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nAbout the local SSD quota per machine family\n--------------------------------------------\n\n[Local SSD quota](/compute/resource-usage#disk_quota) defines the total\ncombined size of local SSD disk partitions attached to VMs in a region\nbased on the machine type for each VM.\n\nMetric and limits for the local SSD quota per machine family\n------------------------------------------------------------\n\nCompute Engine local SSD quota is migrated to use the local SSD per machine\nfamily quota metric. Use the quota metric\n`compute.googleapis.com/local_ssd_total_storage_per_vm_family`^BETA^\ninstead of `compute.googleapis.com/local_ssd_total_storage` to view\nthe quota usage and limits.\n\nYou can use Google Cloud console to\n[view your current quota values](/docs/quotas/view-manage) for the local SSD\nquota per machine family for each region. The limit for local SSD quota per\nmachine family is calculated based on your existing limit and usage for local\nSSD quota and any submitted Quota Increase Requests (QIRs).\n\nIn the gcloud CLI\nand the API, this quota is referred as `LOCAL_SSD_TOTAL_GB_PER_VM_FAMILY`.\n\nMigrate Cloud Monitoring metrics\n--------------------------------\n\nIf you're using Cloud Monitoring to monitor the local SSD quota usage over\ntime and to receive alerts, you must manually update the Cloud Monitoring\ndashboards, alerts, and queries to use the metric for local SSD quota per machine\nfamily.\n\n### Monitor the usage of local SSD quota per machine family\n\nTo update a chart on the Cloud Monitoring dashboard to use the local SSD\nquota per machine family metric, do the following:\n\n1. In the Google Cloud console, select **Monitoring**.\n\n2. In the navigation pane, select **Dashboards**.\n\n3. Select the dashboard that you want to edit to use the per machine family\n quota metric for local SSD.\n\n4. Click **Edit dashboard**.\n\n5. Select the chart you want to modify and click **Edit** from the **More chart options**\n menu.\n\n6. In the **Resource \\& Metric** section, click **Select a metric**.\n\n7. Select **Compute Location \\\u003e Quota \\\u003e Local SSD disk per VM family (GB). quota usage** , and then click **Apply** .\n Alternatively, select **Local SSD disk per VM family (GB). quota limit** to\n create a chart to monitor the local SSD quota limit.\n\n8. Optional: Specify a filter criteria for the chart:\n\n 1. Click add_box **Add filter** , and\n then in the **Label** menu, select one of the following options:\n\n - **limit_name**: to filter local SSD quota usage across all machine types\n in a region or a zone. Possible values are:\n\n - `LOCAL-SSD-TOTAL-GB-PER-VM-FAMILY-per-project-region`\n - `LOCAL-SSD-TOTAL-GB-PER-VM-FAMILY-per-project-zone`\n\n - **vm_family** : to filter local SSD quota usage for a specific machine\n family such as `N1`,`N2D`, and `C1`. See [Local SSDs and supported machine types](/compute/docs/disks#localssds).\n\n 2. Click **Done** to save changes.\n\n9. Click **Close editor**.\n\n### Create alerting policies for local SSD quota usage per machine family\n\nTo change an alerting policy that monitors the existing local SSD quota metric,\ndo the following:\n\n1. In the Google Cloud console, select **Monitoring**.\n\n2. In the navigation pane, select **Alerting**.\n The Alerting page displays panes that list summary information, incidents,\n and alerting policies.\n\n3. Click the alerting policy that you want to change to use the new metric.\n\n4. Click **Copy** to copy the alerting policy conditions to a new policy.\n\n5. Click **Select a metric** and select **Compute Location \\\u003e Quota \\\u003e Local SSD disk per VM family (GB). quota usage** , and then click **Apply** .\n Alternatively, select **Local SSD disk per VM family (GB). quota limit** to\n create an alerting policy for the local SSD quota limit.\n\n6. Optional: Edit the filter that corresponds to the metric that you want to migrate:\n\n 1. Click add_box **Add filter** , and\n then in the **Label** menu, select one of the following options:\n\n - **limit_name**: to filter local SSD quota usage across all machine types\n in a region or a zone. Possible values are:\n\n - `LOCAL-SSD-TOTAL-GB-PER-VM-FAMILY-per-project-region`\n - `LOCAL-SSD-TOTAL-GB-PER-VM-FAMILY-per-project-zone`\n\n - **vm_family** : to filter local SSD quota usage for a specific machine\n family such as `N1`,`N2D`, and `C1`. See [Local SSDs and supported machine types](/compute/docs/disks#localssds).\n\n 2. Click **Done** to save changes in the filter.\n\n7. Click **Create policy**.\n\n### Update Cloud Monitoring queries\n\nTo change the quota metric in an MQL-based alerting policy or a chart in\na dashboard, use the Query Editor and edit the query filter. See\n[Using the Query Editor](/monitoring/mql/query-editor).\n\nOpen the Query Editor and edit the following query:\n\nUpdate the metric name and add a filter for the machine family as shown in the\nfollowing example:"]]