Creating a Persistent Disk
Google Compute Engine lets you create and run virtual machines on Google infrastructure. You can create virtual machines running different operating systems, including multiple flavors of Linux (Debian, Ubuntu, Suse, Red Hat, CoreOS) and Windows Server!
Google Compute Engine provides persistent disks for use as the primary storage for your virtual machine instances. Like physical hard drives, persistent disks exist independently of the rest of your machine – if a virtual machine instance is deleted, the attached persistent disk continues to retain its data and can be attached to another instance.
In this hands-on lab you'll learn how to a create persistent disk and attach it to a virtual machine.
What you'll do
- Create a new VM instance and attach a persistent disk
- Format and mount a persistent disk
- Familiarity with standard Linux text editors such as
nanowill be helpful
Join Qwiklabs to Read the Rest of this Lab...and More!
- Get temporary access to the Google Cloud Console.
- Nearly 100 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.
Create GCP instance in specified zone
Create a new persistent disk named 'mydisk' in specified zone
Attach 'mydisk' to the VM