Today we are going to see, how to create an instance template for creating the multiple VM instances in GCE. If you missed the previous tutorials such as create a VM using the web console, create a VM using the command-line, please do visit the links.
Instance templates are a feasible method to save the VM instance configuration so that it can be used to deploy any number of VM’s without having to set the configuration every single time. However, GCE also provides customization even if we go with the instance template.
Instance templates are not bound to a specific zone or a region, rather it is a global resource. If you want to change/update the configuration of the existing template, then you need to create a new one. Because GCE does not allow us to change the settings of existing templates.
Go to GCE and select the instance template,
Assign the required configurations, as you provision a new VM.
I have selected the basic configuration for this example.
Selected only the boot disk,
Once the template is created, select the datacloudies-template-1 for creating a new VM in this case.
Either we can go with exact settings configured in the instance template or we can also customize the settings if required.
New instance datacloudies-template-1 is created with the help of the instance template.
Feel free to go ahead and check out for other tutorials.