[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\u003cp\u003eCompute Engine instances, which can be either virtual machines (VMs) or bare metal instances, are hosted on Google's infrastructure and are managed through the Google Cloud console, gcloud CLI, or Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eInstances can run public images for Linux and Windows Server, as well as private custom images, and support deploying Docker containers on the Container-Optimized OS.\u003c/p\u003e\n"],["\u003cp\u003eEach instance belongs to a Google Cloud project, where you can specify its zone, operating system, and machine type, and you can add storage options beyond the default boot persistent disk.\u003c/p\u003e\n"],["\u003cp\u003eAccess to instances can be managed through OS Login or SSH keys for Linux instances, and by generating credentials for Windows Server instances, with connection methods available for both.\u003c/p\u003e\n"],["\u003cp\u003eCompute Engine instances support the use of containers and the default timezone for all instances is Coordinated Universal Time (UTC), regardless of the region they are created in.\u003c/p\u003e\n"]]],[],null,["# Compute Engine instances\n\n*** ** * ** ***\n\nThis page provides an overview of Compute Engine instances. A Compute Engine instance can be either a virtual machine (VM) or bare metal instance that is hosted on Google's infrastructure. You can [create an instance](/compute/docs/instances/create-start-instance) or [create a group of managed instances (MIG)](/compute/docs/instance-groups/creating-groups-of-managed-instances) by using the Google Cloud console, the Google Cloud CLI, or the Compute Engine API.\n\n\u003cbr /\u003e\n\nIntroduction\n------------\n\nThe terms *Compute Engine instance* , *compute instance* or\n*instance* are synonymous. Based on the\n[machine type](/compute/docs/machine-resource)\nthat you specify, an instance can be either a bare metal instance\nor a virtual machine (VM) instance, as follows:\n\n- If the name of its machine type ends in `-metal`, an instance is a [bare metal instance](/compute/docs/machine-resource#bare-metal-types), which does not have a hypervisor installed.\n- Otherwise, an instance is a VM instance. The terms *virtual machine instance* , *VM instance* , and *VM* are synonymous.\n\nSynonymous terms are used interchangeably\nacross the documentation and Google Cloud interfaces such as the\n[Google Cloud console](https://console.cloud.google.com/), the\n[gcloud](/compute/docs/gcloud-compute) command-line tool,\nand the [REST API](/compute/docs/reference/latest).\n\n\u003cbr /\u003e\n\nCompute Engine instances can run the\n[public images](/compute/docs/images) for Linux and Windows Server that Google\nprovides as well as private custom images that you can\n[create](/compute/docs/images/create-delete-deprecate-private-images) or\n[import from your existing systems](/compute/docs/import/importing-virtual-disks).\nYou can also [deploy Docker containers](/compute/docs/containers/deploying-containers),\nwhich are automatically launched on instances running the\n[Container-Optimized OS](/container-optimized-os/docs) public image.\n\nYou can choose the machine properties of your instances, such as the number\nof virtual CPUs and the amount of memory, by using a set of\n[predefined machine types](/compute/docs/machine-resource)\nor by creating your own\n[custom machine types](/compute/docs/instances/creating-instance-with-custom-machine-type).\n\nInstances and projects\n----------------------\n\nEach instance belongs to a [Google Cloud console](https://console.cloud.google.com/) project, and a project can have\none or more instances. When you create an instance in a project, you specify the\nzone, operating system, and machine type of that instance.\nWhen you delete an instance, it is removed from the project.\n\nInstances and storage options\n-----------------------------\n\nBy default, each Compute Engine instance has a small boot disk that\ncontains the operating system. You can add more disks to the instance when you\ncreate it, and you can add disks to an instance while the instance is running.\nFor more information about disks in Compute Engine, see\n[Choose a disk type](/compute/docs/disks).\n\nInstances and networks\n----------------------\n\nEach network interface of a Compute Engine instance is associated with\na subnet of a unique VPC network. For more information about\nVPCs, see [Network overview](/compute/docs/networking/network-overview)\nand [VPC quotas](/vpc/docs/quota).\n\nInstances and containers\n------------------------\n\nCompute Engine instances support a declarative method for launching\nyour applications using [containers](/containers). When creating an instance or\nan instance template, you can provide a Docker image name and launch\nconfiguration. Compute Engine takes care of the rest including\nsupplying an up-to-date [Container-Optimized OS](/container-optimized-os/docs)\nimage with Docker installed and launching your container when the instance starts. For more information, see\n[Deploying containers on instances and MIGs](/compute/docs/containers/deploying-containers).\n\nTools to manage instances\n-------------------------\n\nTo create and manage instances, you can use a variety of tools, including the\n[Google Cloud console](https://console.cloud.google.com/), the [`gcloud`](/compute/docs/gcloud-compute) command-line\ntool, and the [REST API](/compute/docs/reference/latest). To configure\napplications on your instances,\n[connect to the instance](/compute/docs/instances/connecting-to-instance)\nusing Secure Shell (SSH) for Linux instances or Remote Desktop Protocol (RDP)\nfor Windows Server instances.\n\nManaging access to your instances\n---------------------------------\n\nYou can manage access to your instances using one of the following methods:\n\n- Linux instances:\n - [Managing instance access using OS Login](/compute/docs/instances/managing-instance-access), which allows you to associate SSH keys with your Google Account or Google Workspace account and manage admin or non-admin access to your instance through IAM roles.\n - [Manage your SSH keys in project or instance metadata](/compute/docs/connect/add-ssh-keys#metadata), which uses public SSH keys stored in Compute Engine metadata to grant access to the instance. You can use SSH keys stored in project metadata to access all instances in a project. You can use SSH keys stored in instance metadata to access individual instances.\n - If you [connect to your instances](/compute/docs/instances/connecting-to-instance#gcetools) using the Google Cloud CLI or SSH from the console, Compute Engine automatically generates SSH keys for you.\n- Windows Server instances:\n - [Generate credentials for Windows instances](/compute/docs/instances/windows/generating-credentials), which associates a password with a Windows user. Windows instances use this information to authenticate access to the instance.\n\nAccessing your instances\n------------------------\n\nAfter you configure access to your instances, you can use one of many options\nto [connect to your Linux instances](/compute/docs/instances/connecting-to-instance)\nor [connect to your Windows instances](/compute/docs/instances/connecting-to-windows).\n\nDefault time zone for compute instances\n---------------------------------------\n\nRegardless of the [region](/compute/docs/regions-zones) where you create your\ninstance, the default time for your instance is Coordinated Universal Time (UTC).\n\nWhat's next\n-----------\n\n- If you are new to Compute Engine, see\n [Create a Linux instance in Compute Engine](/compute/docs/create-linux-vm-instance)\n to learn how to create an instance using the Google Cloud console.\n\n- For a more detailed guide to create an instance, see\n [Create and start an instance instance](/compute/docs/instances/create-start-instance).\n\n- For more information about the features of Compute Engine\n instances, see the following:\n\n - [Machine families resource and comparison guide](/compute/docs/machine-resource)\n\n - [Operating system images](/compute/docs/images)\n\n - [Networking overview for instances](/compute/docs/networking/network-overview)\n\n - [Choose a deployment strategy for your workload](/compute/docs/choose-compute-deployment-option)\n\n- Learn how to\n [create a MIG from an existing instance](/compute/docs/instance-groups/create-mig-from-vm).\n\nTry it for yourself\n-------------------\n\n\nIf you're new to Google Cloud, create an account to evaluate how\nCompute Engine performs in real-world\nscenarios. New customers also get $300 in free credits to run, test, and\ndeploy workloads.\n[Try Compute Engine free](https://console.cloud.google.com/freetrial)"]]