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, 2019 in GCP by Karan
• 19,610 points
3,738 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.

Hope it helps!!

If you need to know more about Google Cloud, We recommend joining GCP Certification course today.

Thanks!

answered Sep 24, 2019 by Sirajul
• 59,230 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, 2019 in GCP by Sirajul
• 59,230 points
1,871 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
2,929 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,267 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
4,782 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP