[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/compute/docs/instances/instance-creation-overview [Back]  [Original]

Overview of creating Compute Engine instances  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Overview of creating Compute Engine instances Stay organized with collections Save and categorize content based on your preferences.

Compute Engine lets you create and run instances on Google infrastructure. This document provides an overview of the various configuration parameters that are available to you during a Compute Engine instance creation. If you are creating an instance for the first time, then this document provides a starting point for understanding the process.

The terms Compute Engine instance, compute instance or instance are synonymous. Based on the machine type that you specify, an instance can be either a bare metal instance or a virtual machine (VM) instance, as follows:

Synonymous terms are used interchangeably across the documentation and Google Cloud interfaces such as the Google Cloud console, the gcloud command-line tool, and the REST API.

Before you begin

Ways to create and configure instances

You can create instances in multiple ways, each with its own method of configuration, as follows:

After you create your compute instance, Compute Engine automatically starts the instance.

Configuration options available during instance creation

When you create a Compute Engine instance, you specify the configuration that you want for your instance. Compute Engine uses this configuration to create your instance. The following table lists the various parameters that you configure when you create a Compute Engine instance. To get AI-powered assistance when you evaluate which configurations best fit your workload requirements, comparing pricing trade-offs, you can interact with Gemini in the Google Cloud console. For more information, see Design your compute infrastructure with Gemini.

[Clear all]
Parameter What you can configure
Machine configuration
  • Hardware: You specify a machine family, series, and type, which determines the number of vCPUs, memory, and the CPU platform that Compute Engine allocates for your instance. If the machine type is available on multiple CPU platforms, you can choose the earliest CPU platform to use when creating the instance. For the machine type, you can choose either a predefined machine type or create a custom machine type for some machine series.
  • Location: You can choose the region and zone where you want to create your instance.
  • Instance name: Specify a name for the instance that is unique within your project and the selected zone.
Operating system (OS) and storage
  • Boot disk and OS: Every instance comes with a boot disk for which you can specify a disk name, size, and disk type. You also select the OS image to install on the boot disk in one of the following ways:
    • If you want to use a preconfigured OS image to create your instance, then use a public image. Public images have all the drivers that are necessary to run the instance in Google Cloud. Compute Engine offers many preconfigured public OS images that have compatible Linux or Windows operating systems.
    • If you are creating an instance for an application, you can use a custom image or a shared image to which you added additional drivers and software that support your application.
    • You can also use a snapshot or an existing disk as the source for creating the OS image on the boot disk.
  • Disk configuration: Whether you're configuring a boot disk or an additional data disk, you can specify the following configuration details:
  • Container: You can run containers such as Docker or Kubernetes on any of the following images:

    You specify a container image name and other container configuration details. You can also specify mount directories to add `tmpfs` storage and additional disks to the container.

    Caution: The container startup agent (konlet) that deploys containers on VMs during VM creation is deprecated. Use the docker run commands in a startup script or use the cloud-init tool to configure and to run containers on your VMs and MIGs. For more information, see Migrate containers that were deployed on VMs during VM creation.
Data protection
  • Data replication: You can continuously replicate your disk data for disaster protection using cross-zone synchronous replication or cross-region asynchronous replication.
  • Protect non-boot disks only: You can also enable an option that applies your snapshot schedules and data replication settings only to non-boot disks. Choosing this setting can help you reduce costs. However, this setting doesn't apply to backup plans.
Networking
  • Custom hostname: You can specify that Google Cloud should use a custom name for the instance other than the internal DNS name. If you choose this option, then you must manually configure an internal DNS record for the custom hostname.
Observability
  • Virtual displays: You can enable virtual displays on your instance to run screen capturing or remote system management tools on your VM.
Security
Advanced configuration
  • Tags and Labels: To assist with resource organization, you can add Tags and Labels to the instance.
  • Automation: You can specify a startup script that runs each time the instance starts or reboots.
  • Metadata: You can set custom metadata for your instance to store unique information about the instance.
  • Encryption: You can choose the encryption method and keys to use to protect disk data, memory contents, and metadata when the instance is suspended. This can be different from the encryption used to protect the disk data while the instance is running. You can also configure how the instance behaves if a specified Cloud KMS key is revoked.
  • Sole-tenancy: You can opt for having dedicated physical servers for your instances and specify a sole-tenant node or node group to create the instance in. For general-purpose N series machine types, you can specify whether to enable CPU overcommit for instances running on sole tenant nodes.

What's next

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-11 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page