This page explains how to create a Linux virtual machine instance in Compute Engine using the Google Cloud Platform Console.
Before you begin
-
Sign in to your Google Account.
If you don't already have one, sign up for a new account.
-
Select or create a Google Cloud Platform project.
-
Make sure that billing is enabled for your Google Cloud Platform project.
Create a virtual machine instance
- In the GCP Console, go to the VM Instances page.
- Click Create instance.
- In the Boot disk section, click Change to begin configuring your boot disk.
-
On the OS images tab, choose Debian 9.
- Click Select.
- In the Firewall section, select Allow HTTP traffic.
- Click Create to create the instance.
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
- In the GCP Console, go to the VM Instances page.
-
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 GCP account for the resources used in this quickstart:
- Go to the VM Instances page in the Google Cloud Platform Console.
- Click the name of the instance you created.
- At the top of the instance's details page, click Delete.
What's next
- Work through a tutorial to Set up a basic web server on your new instance.
- Work through a guided Getting Started tutorial in the Google Cloud Platform Console.
- Work through Managing GCP Projects with Terraform tutorial.
- Learn how to create and manage virtual machine instances using the
gcloudcommand-line tool and API. - Learn more about the Linux images available on Compute Engine.
- Learn how to Transfer your files to your instance.


