Create VM Instance using Instance Template


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,

datacloudies google compute engine




Assign the required configurations, as you provision a new VM. 

datacloudies google compute engine

I have selected the basic configuration for this example.

datacloudies google compute engine

Selected only the boot disk,

datacloudies google compute engine

Once the template is created, select the datacloudies-template-1 for creating a new VM in this case. 

datacloudies google compute engine
Either we can go with exact settings configured in the instance template or we can also customize the settings if required. 

datacloudies google compute engine

New instance datacloudies-template-1 is created with the help of the instance template. 

datacloudies google compute engine

Feel free to go ahead and check out for other tutorials.



Recent Posts

  • Cloud SQL
    What is Cloud SQL  It is a fully managed relational database service for PostgreSQL and MySQL database in the GCP. MySQL instance can be...
    May 17 2020 | Read more
  • Deploy an application to Google Kubernetes Engine
    Welcome back, this is the continuation post of the previous article, where we have discussed the Kubernetes and its concepts in detail. In this...
    May 13 2020 | Read more
  • Google Kubernetes Engine
    What is GKE? GKE is a managed, production-ready environment for deploying containerized applications. It is like a managed cargo container in...
    May 13 2020 | Read more
  • Google App Engine – Flexible
    In the previous article, we have discussed what is google app engine and how to deploy the application in the Google app engine – Standard. In...
    May 10 2020 | Read more