Cloud Platform
Instances
Last updated 2026-11-05
Instances
An instance is a virtual machine. It has CPU and memory, one or more disks, and one or more network interfaces.
Creating
| Setting | Meaning |
|---|---|
name | A name you choose; required. |
region_code, zone_code | Where it runs. A disk can only be attached to an instance in its own zone. |
series_code | The series that fixes the CPU platform and the size limits. |
vcpus, memory_mib | The size, within the series' maximums. |
max_vcpus, max_memory_mib | The ceiling for growing a running instance. Fixed at creation; defaults to the series maximum. |
secure_boot | Boot with UEFI Secure Boot. |
restart_on_failure | Start the machine again if it stops by itself. |
disks | Disks to create or attach, each with a device index; one is the boot disk. |
nics | Network interfaces, each on a subnet. |
initialization | Hostname, SSH keys and password. See Initialization. |
start | Start the instance as soon as it exists. |
request_id | An idempotency key: sending the same request again does not create a second instance. |
States
An instance shows the state you asked for and the state it is in.
| Phase | Meaning |
|---|---|
PENDING, PROVISIONING | The platform is choosing a host and preparing disks and network. |
STARTING, RUNNING | Booting; up. |
STOPPING, STOPPED | Shutting down; off. A stopped instance keeps its disks, which are still billed. |
REBOOTING | Restarting. |
DELETING | Going away. |
GUEST_PANIC | The operating system crashed. |
INTERNAL_ERROR | The platform could not do what was asked; the instance's conditions say why. |
If no host can take the instance, a condition explains it: no host of the series in the zone, no host online, or not enough free capacity.
Resizing
Change vcpus and memory_mib with an update. Growing has to fit on the host the instance runs on. A running instance can grow up to its max_vcpus and max_memory_mib without a restart; those ceilings cannot be changed afterwards.
Network interfaces
An interface sits on one subnet and has the address type of that subnet: IPv4 only, IPv6 only or dual stack. You can add and remove interfaces on a running instance. The platform gives each interface a MAC address that is unique in the network. See IP addresses for how addresses are assigned and how to give an interface more of them.
Deleting
Deleting an instance removes it; disks that were created with it and marked to delete with it go too, the others stay as separate disks.
Quotas and standing Creating instances is checked against the project's quotas and needs the organization to be in good standing.