Compute Engine
Virtual machine instance you boot from an image in a single zone.
- Provider
- gcp
- Kind
- Virtual machine
- Category
- Compute
- Official docs
- https://cloud.google.com/compute/docs/instances
- Also known as
- GCE, Spot VM, Confidential VM
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| attestation | boolean | — | no | — | inherited |
| confidentialAccelerator | boolean | — | no | — | inherited |
| confidentialComputingTechnology | enum | amd-sev | amd-sev-snp | intel-tdx | no | — | inherited |
| coveredBySla | boolean | — | no | — | inherited |
| diskEncryption | boolean | — | no | — | ▸ true |
| instances | integer | — | no | — | inherited |
| machineFamily | enum | general-purpose | compute-optimized | memory-optimized | storage-optimized | accelerator-optimized | no | general-purpose | inherited |
| managed | boolean | — | no | false | ▸ false |
| memoryEncryption | boolean | — | no | — | inherited |
| memoryGib | integer | — | no | — | inherited |
| onHostMaintenance | enum | migrate | terminate | no | migrate | inherited |
| os | enum | linux | windows | aix | ibm-i | no | linux | inherited |
| preemptionNoticeSeconds | integer | — | no | — | inherited |
| provisioningModel | enum | standard | spot | no | standard | inherited |
| publicIp | boolean | — | no | — | inherited |
| securityType | enum | standard | shielded | confidential | no | shielded | inherited |
| sizeVcpu | integer | — | no | — | inherited |
| terminationAction | enum | stop | delete | no | — | inherited |
| zoneRedundant | boolean | — | no | — | ▸ false |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
stateful-node-without-zone-redundancy
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "compute-engine", component: "google-compute-engine" }Auto Scalingalibaba-auto-scalingElastic Compute Servicealibaba-ecsEdge Node Servicealibaba-ensSimple Application Serveralibaba-simple-application-serverAmazon EC2aws-ec2Amazon EC2 Auto Scalingaws-ec2-auto-scalingAmazon EC2 Dedicated Hostsaws-ec2-dedicated-hostAmazon Elastic VMware Serviceaws-evsAmazon Lightsailaws-lightsailAWS Nitro Enclavesaws-nitro-enclaveAzure BareMetal Infrastructureazure-baremetal-infrastructureAzure Compute Fleetazure-compute-fleetAzure Dedicated Hostazure-dedicated-hostAzure Data Science Virtual Machineazure-dsvmNutanix Cloud Clusters on Azureazure-nutanix-cloud-clustersAzure Virtual Machinesazure-virtual-machineAzure Virtual Machine Scale Setsazure-vm-scale-setAzure VMware Solutionazure-vmware-solutionCrusoe Cloud VMcrusoeFirecrackerfirecrackerMicrosoft Hyper-Vhyper-vKubeVirtkubevirtLambda Cloud instancelambda-labsKVM with libvirtlibvirtNebius AI Cloud VMnebiusNutanix AHVnutanix-ahvOpenStack Novaopenstack-novaoVirtovirtProxmox VEproxmoxRunpod PodrunpodVast.ai instancevast-aiGeneric virtual machinevirtual-machineVMware vSpherevsphereXCP-ngxcp-ngXenServerxenserverDigitalOcean Bare Metal GPUsdigitalocean-bare-metal-gpuDropletsdigitalocean-dropletDroplet Autoscale Pooldigitalocean-droplet-autoscaleBare Metal Solutiongoogle-bare-metal-solutionCloud TPUgoogle-cloud-tpu
and 20 more → Virtual machine page# yaml-language-server: $schema=../../schema/component.schema.json # Compute Engine VM instance: a machine you boot from an image and keep patching yourself # ("Compute Engine instances" — you specify the zone, operating system and machine type, so an # instance lives in one zone). Persistent disks are encrypted at rest with Google-owned and # Google-managed keys without any action ("Protect resources by using Cloud KMS keys"). # # Spot and Confidential VMs are this component, not separate ones. # # provisioningModel: "spot" is a Spot VM, which Compute Engine may preempt at any time ("Spot VMs", # https://cloud.google.com/compute/docs/instances/spot). provisioningModel already carried "spot", # so it is the capacity switch here rather than a second property. terminationAction, # preemptionNoticeSeconds and coveredBySla mean something only when provisioningModel is "spot", # so none is defaulted. Google's own defaults for a Spot VM: stop on preemption, 0 seconds' # notice, excluded from the Compute Engine SLA. A Spot VM cannot live migrate; that is # onHostMaintenance: "terminate", so no separate live-migration flag is carried. # # securityType: "confidential" is a Confidential VM, memory encrypted in use by the hardware # ("Confidential VM overview", # https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview). # The technology follows the machine type and CPU platform (AMD SEV, AMD SEV-SNP, Intel TDX). # confidentialComputingTechnology, memoryEncryption, attestation and confidentialAccelerator mean # something only when securityType is "confidential", so none is defaulted. "shielded" is Shielded # VM (Secure Boot, vTPM, integrity monitoring), which Compute Engine turns on for supported public # images ("Shielded VM", https://cloud.google.com/compute/shielded-vm/docs/shielded-vm). schemaVersion: "1" type: "component" id: "google-compute-engine" kind: "virtual-machine" provider: "gcp" docs: "https://cloud.google.com/compute/docs/instances" aliases: ["GCE", "Spot VM", "Confidential VM"] defaults: managed: false diskEncryption: true zoneRedundant: false properties: provisioningModel: type: "enum" values: ["standard", "spot"] default: "standard" securityType: type: "enum" values: ["standard", "shielded", "confidential"] default: "shielded" machineFamily: type: "enum" values: ["general-purpose", "compute-optimized", "memory-optimized", "storage-optimized", "accelerator-optimized"] default: "general-purpose" onHostMaintenance: type: "enum" values: ["migrate", "terminate"] default: "migrate" terminationAction: type: "enum" values: ["stop", "delete"] preemptionNoticeSeconds: type: "integer" coveredBySla: type: "boolean" confidentialComputingTechnology: type: "enum" values: ["amd-sev", "amd-sev-snp", "intel-tdx"] memoryEncryption: type: "boolean" attestation: type: "boolean" confidentialAccelerator: type: "boolean"