I have created a Persistent Disk of 20GB and mounted to my VM instance. i have below queries -
-
how to check utilization of this disk in Cloud Console.
-
if i delete the VM Instance on which this disk is mounted, how can i mount that disk onto another VM Instance.
-
how can i check billing of this disk
Great answer, to add you can view disk metrics via Cloud Monitoring, by default you’d only get hypervisor metrics, but if you want to see metrics inside the OS - like disk utilization, then you’d need the Ops Agent, see:
https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent
and
https://cloud.google.com/monitoring/api/metrics_opsagent#agent-disk
You could view this data programatically via the Monitoring API:
https://cloud.google.com/monitoring/api/v3