March 2019
Beginner to intermediate
778 pages
34h 20m
English
In addition to creating custom images from persistent disks, images can also be copied. This may be useful when using an image shared from another project. Creating a copy of this image in your project helps guarantee that the image will remain available should the image become unavailable in the originating project.
To copy a custom image, provide the optional --source-image flag. To copy an image from another project, additionally provide the optional --source-image-project flag, as follows:
gcloud compute images create <IMAGE_NAME> \--source-image-project=<SOURCE_PROJECT> \--source-image=<IMAGE_NAME>
Read now
Unlock full access