menu
arrow_back

Clean Up Unused and Orphaned Persistent Disks

—/100

Checkpoints

arrow_forward

Create Persistent Disk

Create a VM instance with Persistent Disk

Detach the orphaned disk from the VM

Deploy the Cloud Function

Create a Cloud Scheduler task to run the Cloud Function

Test the job by manually triggering it

Clean Up Unused and Orphaned Persistent Disks

1 jam 7 Kredit

GSP648

Google Cloud Self-Paced Labs

Overview

In this lab, you will use Cloud Functions and Cloud Scheduler to identify and clean up wasted cloud resources. In this case, you will schedule the Cloud Function to identify and clean up unattached and orphaned persistent disks.

What you'll do

  • Create two persistent disks.
  • Create a VM that uses one of the disks.
  • Detach the disk from the VM.
  • Review the Cloud Function code.
  • Deploy the Cloud Function.
  • Test the Cloud Function by using Cloud Scheduler jobs.

Bergabunglah dengan Qwiklabs untuk membaca tentang lab ini selengkapnya... beserta informasi lainnya!

  • Dapatkan akses sementara ke Google Cloud Console.
  • Lebih dari 200 lab mulai dari tingkat pemula hingga lanjutan.
  • Berdurasi singkat, jadi Anda dapat belajar dengan santai.
Bergabung untuk Memulai Lab Ini