March 2019
Beginner to intermediate
778 pages
34h 20m
English
Compute Engine allows developers to create custom images from existing persistent disks. Custom images can be created from persistent disks using the Cloud Console by navigating to Navigation menu | Compute Engine | Images and clicking Create Image. Simply select the source disk and click on the Create button. To create a custom image from the command line, use the following command:
gcloud compute images create <IMAGE_NAME> --source-disk=<SOURCE_DISK>
In some situations, it may not be practical to stop a VM before creating a custom image from its boot disk. In these cases, custom images can be created from a persistent disk while it is attached to a running VM. While this method does reduce potential ...
Read now
Unlock full access