I want to make a large number of cloud windows virtual machines, is there a way to install my application inside all of them and run and log in to my app, once.
a script, for example?
I want to make a large number of cloud windows virtual machines, is there a way to install my application inside all of them and run and log in to my app, once.
a script, for example?
Copyright © 2021 Jogjafile Inc.
There are few steps that you need to follow to achieve this. The first step is to create customized Windows Server images
You can create customized Windows Server images from existing Compute Engine Windows Server images. Use these custom images to create instances with the same boot disk images as your existing instances. Before creating your image you need to install
GCESysprepto prepare your system for duplication, also you can install all the programs you wanted before creating your image.Then you can use the following command to create your image:
Once you have your image you can create your Instance Template. In this part of the process you can add a Start-up Sript by using unique, Windows-specific metadata keys.
Each metadata key must match the type of script you want to run.
Then you can create an Instance Group using your Instance template, take in consideration that you can configure managed instance groups to automatically add or remove VMs based on their workloads.