June 2018
Intermediate to advanced
372 pages
8h 44m
English
As we discussed in the previous sections, a persistent disk is the storage option that is associated with the VM instances in GCE, by default. This section will walk you through creating and attaching a persistent disk.
Let's say we have already created a VM instance called test-instance in the US zone central1-f. We now want to expand the storage that is available to this VM instance, which can be done by creating a new persistent disk. We will use the command line for this:
gcloud compute disks create test-disk --size=100GB --zone us-central1-f
The persistent disk that you set ...
Read now
Unlock full access