Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru

Working with Compute Engine Windows Instances

Compute Engine VM instances can utilize a wide range of boot disks; Google Cloud currently offers well over 50 disk images to choose from. Cloud computing professionals must be adept in spinning up a variety of operating systems, including Windows server. In this hands-on lab, you’ll experience the creation of a Windows-based Compute Engine VM instance, set up an IIS server, and push your first web page live to confirm the server’s operation.


Path Info

Clock icon Beginner
Clock icon 45m
Clock icon Mar 26, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Compute Engine VM instance.

    1. From the main navigation, choose Compute Engine > VMs.
    2. In the VM Instances area, click Create.
    3. With New VM instance chosen from the options on the left, configure your instance:
    • In the name field, provide a relevant name using hyphens, like la-windows-1.
    • Keep the suggested Region and Zone.
    • Use Series: N1 and Machine type: n1-standard-1
    • In the Boot Disk section, click Change and select Windows Server 2019 Datacenter, Server with Desktop Experience from the list; click Select.
    • Under Firewall, choose the Allow HTTP traffic option.
    1. Click Create.
  2. Challenge

    Set Windows password.

    1. From the RDP options, click Set Windows password.
    2. In the dialog, confirm your username is correct and click Set.
    3. Copy the supplied password and click Close.
  3. Challenge

    Launch RDP window.

    1. Launch the RDP window by using one of the following methods:
      • If you're on a Windows system, click RDP.
      • If you're on a Mac using Chrome in a standard window, first install the Chrome RDP extension, and then click RDP.
      • If you're on a Mac using another browser or Incognito window, from the App Store, download and install the latest version of the Microsoft Remote Desktop app. Then, choose Download the RDP file from the RDP options and open the file.
  4. Challenge

    Install IIS.

    1. From the Windows Start menu, right-click on Windows Powershell and choose Run as administrator.

    2. In the PowerShell window, enter the following commands to set install IIS, starting with:

      import-module servermanager
    3. Set up the web server:

      add-windowsfeature web-server -includeallsubfeature
    4. Create the index.html page:

      echo '<!doctype html><html><body><h1>Greetings from Linux Academy!</h1></body></html>' > C:\inetpub\wwwroot\index.html
  5. Challenge

    Test your page.

    1. From the Compute Engine VM page, click the External link for your Windows VM instance.
    2. Review the page in your browser.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans