Quickstart using a Linux VM

This page explains how to create a Linux virtual machine instance in Compute Engine using the Google Cloud 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. In the Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to the project selector page

  3. Make sure that billing is enabled for your Google Cloud project. Learn how to confirm billing is enabled for your project.

Create a virtual machine instance

  1. In the Cloud 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. On 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.

VM instance creation window with the required options set.

Allow a short time for the instance to start. After the instance is ready, it is listed on the VM instances page with a green status icon.

Connect to your instance

  1. In the Cloud 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.

    SSH button next to instance name.

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

Clean up

To avoid incurring charges to your Google Cloud account for the resources used in this quickstart, follow these steps.

  1. Go to the VM instances page in the Google Cloud 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