Create a Windows Server VM instance in Compute Engine (original) (raw)
Learn how to create a Windows Server virtual machine (VM) instance by using the Google Cloud console.
To follow step-by-step guidance for this task directly in the Google Cloud console, click Guide me:
Pricing
- Windows Server images are premium images, and using them results inadditional charges.
- Windows Server VMs are not included with theFree Trial.
Before you begin
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
- In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Go to project selector - Make sure that billing is enabled for your Google Cloud project.
- In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Go to project selector - Make sure that billing is enabled for your Google Cloud project.
- Enable the Compute Engine API.
Enable Compute Engine API - If you aren't using Windows on your local machine, install an RDP client such asChrome Remote Desktop.
Create a Windows Server VM instance
- In the Google Cloud console, go to theCreate an instance page.
Go to Create an instance - In the Boot disk section, click Change to begin configuring your boot disk.
- On the Public images tab, chooseWindows Server from the Operating system list.
- Choose Windows Server 2019 Datacenter from theVersion list.
- Click Select.
- In the Firewall section, selectAllow HTTP traffic.
- To create the VM, click Create.
Allow a short time for the VM instance to start. After the VM instance is ready, it is listed on the VM instances page with a green status icon.
Connect to the VM instance
- In the Google Cloud console, go to the VM instances page.
Go to VM instances - Under the Name column, click the name of your VM instance.
- Under the Remote access section, click Set Windows password.
- Specify a username, then click Set to generate a new password for this Windows Server VM. Save the username and password so you can log into the VM.
- Install the Chrome Remote Desktop service on your VM.
- Connect to your VM instance using your choice ofgraphical orcommand linetools.
Clean up
To avoid incurring charges to your Google Cloud account for the resources used on this page, follow these steps.
- In the Google Cloud console, go to the VM instances page.
Go to VM instances - Click the name of the VM instance you created.
- At the top of the VM instance's details page, click Delete.
What's next
- Learn about Windows Server images provided by Compute Engine.
- Learn about Microsoft software on Compute Engine.
- Set up a basic IIS web server.
- Deploy an ASP.NET app on Compute Engine.
- Learn how to create and manage Windows Server instances.
- Deploy a fault-tolerant Microsoft Active Directory environment.