Create a custom image of windows VM on Google Cloud.

0 votes
I have a Windows VM instance where I have made a few custom configurations. I need to spin up multiple instances of the same configurations and for this purpose I intend to create a custom image of my VM instance. How should I go about to achieve this?
Sep 24 in GCP by Karan
• 6,670 points
135 views

1 answer to this question.

0 votes

Before you create the image, run GCESysprep on the instance to prepare it for the image creation process. 

This process stops the instance. If you cannot stop your instance, you can skip the GCESysprep process and create the image while risking the integrity of the image.

  • Log in to your Windows instance and open PowerShell or Command Prompt as an administrator.

  • Use GCESysprep to prepare your system for duplication. This command shuts down the instance and closes the remote desktop connection.

After you prepare your instance, create the image.

  1. Go to the Create a new image page in the GCP Console.

  2. Specify the image Name.

  3. Choose a Source disk with a Windows operating system from which you want to create an image.

  4. Specify the location to store the image. Choose an image location from the Based on source disk location (default) drop-down menu. 

  5. Specify the properties for your image.

  6. Click Create.

answered Sep 24 by Sirajul
• 40,990 points

Related Questions In GCP

0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
45 views
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
62 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
74 views
0 votes
1 answer

Create a Windows VM instance using Google Compute Engine (GCE).

To create a Windows virtual machine instance ...READ MORE

answered Sep 20 in GCP by Sirajul
• 40,990 points
114 views