This page explains how to create a Linux virtual machine instance in Compute Engine using the Google Cloud Console.
Before you begin
Sign in to your Google Account.
If you don't already have one, sign up for a new account.
In the Cloud Console, on the project selector page, select or create a Cloud project.
Make sure that billing is enabled for your Google Cloud project. Learn how to confirm billing is enabled for your project.
- Enable the Compute Engine API.
Create a virtual machine instance
- In the Cloud 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 Public images tab, choose Debian version 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. After the instance is ready, it is listed on the VM instances page with a green status icon.
Connect to your instance
- In the Cloud 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.
To avoid incurring charges to your Google Cloud account for the resources used in this quickstart, follow these steps.
- Go to the VM instances page in the Google Cloud Console.
- Click the name of the instance you created.
- At the top of the instance's details page, click Delete.
- 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 Console.
- Work through Managing Google Cloud 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.