Quickstart Using a Linux VM

This page explains how to create a Linux virtual machine instance in Compute Engine using the Google Cloud Platform Console.

Before you begin

  1. Sign in to your Google Account.

    If you don't already have one, sign up for a new account.

  2. Select or create a GCP project.

    Go to the Manage resources page

  3. Make sure that billing is enabled for your project.

    Learn how to enable billing

Create a virtual machine instance

  1. In the GCP Console, go to the VM Instances page.

    Go to the VM Instances page

  2. Click Create instance.
  3. In the Boot disk section, click Change to begin configuring your boot disk.
  4. In the OS images tab, choose Debian 9.

  5. Click Select.
  6. In the Firewall section, select Allow HTTP traffic.
  7. Click Create to create the instance.

Screenshot of the VM instance creation window with the required options set

Allow a short time for the instance to start up. Once ready, it will be listed on the VM Instances page with a green status icon.

Connect to your instance

  1. In the GCP Console, go to the VM Instances page.

    Go to the VM Instances page

  2. In the list of virtual machine instances, click SSH in the row of the instance that you want to connect to.

You now have a terminal window for interacting with your Linux instance.

Clean up

To avoid incurring charges to your Google Cloud Platform account for the resources used in this quickstart:

  1. Go to the VM Instances page in the Google Cloud Platform Console.

    Go to the VM Instances page

  2. Click the name of the instance you created.
  3. At the top of the instance's details page, click Delete.

What's next

Was this page helpful? Let us know how we did:

Send feedback about...

Compute Engine Documentation