Virtual Machine Instances

This page provides an overview of Google Compute Engine instances. An instance is a virtual machine (VM) hosted on Google's infrastructure. You can create an instance by using the Google Cloud Platform Console or the gcloud command-line tool.

Introduction

Compute Engine instances can run the public images for Linux and Windows Server that Google provides as well as private custom images that you can create or import from your existing systems. You can also deploy Docker containers, which are automatically launched on instances running the Container-Optimized OS public image.

You can choose the machine properties of your instances, such as the number of virtual CPUs and the amount of memory, by using a set of predefined machine types or by creating your own custom machine types.

Instances and projects

Each instance belongs to a Google Cloud Platform Console project, and a project can have one or more instances. When you create an instance in a project, you specify the zone, operating system, and machine type of that instance. When you delete an instance, it is removed from the project.

Instances and storage options

By default, each Compute Engine instance has a small root persistent disk that contains the operating system. When applications running on your instance require more storage space, you can add additional storage options to your instance.

Instances and networks

A project can have up to five VPC networks, and each Compute Engine instance belongs to one VPC network. Instances in the same network communicate with each other through a local area network protocol. An instance uses the Internet to communicate with any machine, virtual or physical, outside of its own network. See VPC Network Overview for more information about VPC networks.

Instances and containers

Compute Engine instances support a declarative method for launching your applications using containers. When creating a VM or an instance template, you can provide a Docker image name and launch configuration. Compute Engine will take care of the rest including supplying an up-to-date Container-Optimized OS image with Docker installed and launching your container when the VM starts up. See Deploying Containers on VMs and Managed Instance Groups for more information.

Tools to manage instances

To create and manage instances, you can use a variety of tools, including the Google Cloud Platform Console, the gcloud command-line tool, and the REST API. To configure applications on your instances, connect to the instance using Secure Shell (SSH) for Linux instances or Remote Desktop Protocol (RDP) for Windows Server instances.

Accessing instances

You can manage access to your instances using one of the following methods:

After you configure access to your instances, you can connect to your instances using one of several options.

What's next

If you are new to Compute Engine, follow the Getting Started Guide to learn how to create an instance using the GCP Console.

Getting Started Guide

For a more detailed guide, see Creating and Starting an Instance.

For information about features of Compute Engine instances, see:

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

Send feedback about...

Compute Engine Documentation