Reputation: 3282
I have used AWS. I am new to GCP. I am really confused by the concept called Machine Image from GCP for some reason. It sounds a lot like AWS AMI.
I created a Machine Image from a running VM.
But interestingly when I create a new instance / instance template , I do NOT see any option to choose the machine image
.
How to create an instance template which uses the machine image?
Upvotes: 3
Views: 1315
Reputation: 1314
Custom images capture the contents of a single disk, for example, a boot disk, which can be used to create new instances that are preconfigured with the apps that you need, so that you don’t have to configure public images from scratch.
Machine images are a more comprehensive resource that can contain multiple disks, as well as all of the information required to capture and create a new instance, including:
Please see this documentation on when its best to use machine image
For your use case, instead of using a machine image, you may just create a Custom Image
off of your running instance and use it as a Boot Disk (Custom Image) for your Instance Template. You may refer to this document as a guide.
Upvotes: 4