Google Compute Engine
App · 19 actions
Start, stop, create and delete Google Cloud virtual machines, change their size and labels, and take disk snapshots. Start a workflow when an instance starts or stops, is created or deleted, or a snapshot is taken.
Actions
| Action | What it does |
|---|---|
| Change machine type | Give a stopped instance more or fewer CPUs and memory. |
| Create instance | Create a virtual machine and start it, from an operating system image, an instance template or a machine image. |
| Create snapshot | Take a snapshot of a disk, a backup it can be restored from later. |
| Delete instance | Delete an instance for good, with the disks set to be deleted with it (usually its boot disk). |
| Delete snapshot | Delete a snapshot for good. |
| Get instance | Get one instance: its status, machine type, IP addresses, labels and when it last started and stopped. |
| Get operation | Check on a change Compute Engine is making, such as one started with 'Wait until done' off, and optionally wait for it to finish. |
| Get serial console output | Read what an instance has written to its serial console, such as its boot messages, to see why it won't start. |
| List disks | List your persistent disks in every zone, or one, with their size, type and the instances using them. |
| List instances | List your instances in every zone, or one, with their status, machine type, IP addresses and labels. |
| List machine types | List the machine types a zone offers, with their CPUs and memory. |
| List operations | List the changes Compute Engine has made or is making in a zone, such as instances started, stopped or created, and who started each. |
| List snapshots | List your disk snapshots, newest first. |
| Reset instance | Restart an instance at once, like pressing a reset button. |
| Resume instance | Carry on a suspended instance from where it was paused. |
| Set instance labels | Add, change or remove an instance's labels. |
| Start instance | Start a stopped instance. |
| Stop instance | Shut down an instance. |
| Suspend instance | Pause an instance, keeping what is in its memory, so it can carry on where it left off with 'Resume instance'. |
Change machine type
Give a stopped instance more or fewer CPUs and memory. Stop it first with 'Stop instance', and start it again afterwards.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Machine type
machine_typetextRequired - The new machine type, such as e2-standard-4.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "TERMINATED",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "setMachineType",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Create instance
Create a virtual machine and start it, from an operating system image, an instance template or a machine image.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Name
nametextRequired - Lowercase letters, digits and dashes, starting with a letter, such as web-2. Must be new in the zone.
- Start from
start_fromtext - What the instance is made from. Defaults to an operating system image.One of:
image(An operating system image),instance_template(An instance template),machine_image(A machine image). Default:image. - Operating system
imagetext - The newest image of this system is used. Or give an image of your own, such as global/images/my-image.Only when Start from is An operating system image. Default:
projects/debian-cloud/global/images/family/debian-12. - Machine type
machine_typetext - How many CPUs and how much memory. Defaults to e2-medium (2 CPUs, 4 GB).Only when Start from is An operating system image. Default:
e2-medium. - Disk size (GB)
disk_size_gbnumber - The boot disk's size. Defaults to the image's own, usually 10 GB.Only when Start from is An operating system image. From 10 to 65536.
- External IP address
external_iptrue/false - Give it an address reachable from the internet. On by default.Only when Start from is An operating system image. Default:
true. - Instance template
instance_templatetext - The template to copy. Pick one, or give its name.Only when Start from is An instance template.
- Machine image
machine_imagetext - The machine image to restore. Pick one, or give its name.Only when Start from is A machine image.
- Labels
labelsobject - Labels to add or change, such as env: prod. Lowercase letters, digits, - and _.
- Description
descriptiontext - A note shown in the Google Cloud console.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "insert",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Create snapshot
Take a snapshot of a disk, a backup it can be restored from later. The instance can keep running.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Disk
disktextRequired - The disk. Pick one, or give its name; an instance's boot disk usually has the instance's name.
- Snapshot name
nametext - Lowercase letters, digits and dashes. Defaults to the disk's name and the time, such as web-1-20261117-170000.
- Description
descriptiontext - A note shown in the Google Cloud console.
- Labels
labelsobject - Labels for the snapshot, such as env: prod.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
operationobject- The operation Compute Engine ran
snapshotobject- The snapshot
Example output
{
"done": true,
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "createSnapshot",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
},
"snapshot": {
"created": "2026-11-17T09:00:02.345-08:00",
"description": "",
"disk_size_gb": 10,
"id": "2345678901234567890",
"labels": {},
"locations": [
"us"
],
"name": "web-1-20261117-170000",
"source_disk": "web-1",
"source_disk_zone": "us-central1-a",
"status": "READY",
"storage_bytes": 1234567890
}
}Delete instance
Delete an instance for good, with the disks set to be deleted with it (usually its boot disk). Take a snapshot first to keep its data.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
deletedtrue/false- True once it is gone
donetrue/false- True once Compute Engine has finished
instancetext- The instance deleted
operationobject- The operation Compute Engine ran
Example output
{
"deleted": true,
"done": true,
"instance": "web-1",
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "delete",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Delete snapshot
Delete a snapshot for good.
Inputs
- Snapshot
snapshottextRequired - The snapshot. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
deletedtrue/false- True once it is gone
donetrue/false- True once Compute Engine has finished
operationobject- The operation Compute Engine ran
snapshottext- The snapshot deleted
Example output
{
"deleted": true,
"done": true,
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "delete",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": ""
},
"snapshot": "web-1-20261117-170000"
}Get instance
Get one instance: its status, machine type, IP addresses, labels and when it last started and stopped.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
Outputs
instanceobject- The instance
Example output
{
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
}
}Get operation
Check on a change Compute Engine is making, such as one started with 'Wait until done' off, and optionally wait for it to finish.
Inputs
- Zone
zonetext - The operation's zone. Leave blank for a snapshot deletion, which isn't in a zone.
- Operation
operationtextRequired - The operation's name, from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) for it to finish. Off by default.Default:
false.
Outputs
operationobject- The operation
Example output
{
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "start",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Get serial console output
Read what an instance has written to its serial console, such as its boot messages, to see why it won't start.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Port
porttext - Which serial port. Port 1 is the console.One of:
1(Port 1 (the console)),2(Port 2),3(Port 3),4(Port 4). Default:1. - Start at byte
startnumber - Read only output after this point: give 'next' from an earlier read. Leave blank for all that is kept.At least 0.
Outputs
contentstext- The output
nextnumber- Where the next read should start, for 'Start at byte'
startnumber- Where this output starts
Example output
{
"contents": "Booting from Hard Disk 0...\nDebian GNU/Linux 12 web-1 ttyS0\n",
"next": 52,
"start": 0
}List disks
List your persistent disks in every zone, or one, with their size, type and the instances using them.
Inputs
- Zone
zonetext - Only this zone. Leave blank for every zone.
- Most to return
limitnumber - The most to return. Defaults to 100.From 1 to 5000.
Outputs
countnumber- How many
diskslist- The disks
Example output
{
"count": 1,
"disks": [
{
"attached_to": [
"web-1"
],
"created": "2026-11-02T08:15:30.123-08:00",
"id": "8901234567890123456",
"labels": {},
"last_attached": "2026-11-02T08:15:31.456-08:00",
"name": "web-1",
"size_gb": 10,
"source_image": "debian-12-bookworm-v20261020",
"status": "READY",
"type": "pd-balanced",
"zone": "us-central1-a"
}
]
}List instances
List your instances in every zone, or one, with their status, machine type, IP addresses and labels.
Inputs
- Zone
zonetext - Only this zone. Leave blank for every zone.
- Status
statustext - Only instances with this status.One of:
RUNNING,TERMINATED(Stopped),SUSPENDED. - Label
labeltext - Only instances with this label, such as env=prod, or just env.
- Most to return
limitnumber - The most to return. Defaults to 100.From 1 to 5000.
Outputs
countnumber- How many
instanceslist- The instances
Example output
{
"count": 1,
"instances": [
{
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
}
]
}List machine types
List the machine types a zone offers, with their CPUs and memory.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Name starts with
starts_withtext - Only types whose name starts with this, such as e2.
Outputs
countnumber- How many
machine_typeslist- The machine types
Example output
{
"count": 1,
"machine_types": [
{
"cpus": 2,
"description": "2 vCPUs, 4 GB RAM",
"memory_gb": 4.0,
"name": "e2-medium",
"shared_cpu": true
}
]
}List operations
List the changes Compute Engine has made or is making in a zone, such as instances started, stopped or created, and who started each.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Status
statustext - Only operations in this state.One of:
RUNNING,PENDING(Waiting to start),DONE. - Most to return
limitnumber - The most to return. Defaults to 100.From 1 to 5000.
Outputs
countnumber- How many
operationslist- The operations
Example output
{
"count": 1,
"operations": [
{
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "start",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
]
}List snapshots
List your disk snapshots, newest first.
Inputs
- Most to return
limitnumber - The most to return. Defaults to 100.From 1 to 5000.
Outputs
countnumber- How many
snapshotslist- The snapshots
Example output
{
"count": 1,
"snapshots": [
{
"created": "2026-11-17T09:00:02.345-08:00",
"description": "",
"disk_size_gb": 10,
"id": "2345678901234567890",
"labels": {},
"locations": [
"us"
],
"name": "web-1-20261117-170000",
"source_disk": "web-1",
"source_disk_zone": "us-central1-a",
"status": "READY",
"storage_bytes": 1234567890
}
]
}Reset instance
Restart an instance at once, like pressing a reset button. Anything not saved to disk is lost.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "reset",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Resume instance
Carry on a suspended instance from where it was paused.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "resume",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Set instance labels
Add, change or remove an instance's labels. Labels it already has and you don't name are kept.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Labels
labelsobject - Labels to add or change, such as env: prod. Lowercase letters, digits, - and _.
- Remove labels
removelist - Keys of labels to take off, such as env.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
changedtrue/false- False if the labels were already so, and nothing was sent
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
labelsobject- Its labels now
Example output
{
"changed": true,
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
},
"labels": {
"env": "prod"
}
}Start instance
Start a stopped instance. Billing for its CPU and memory resumes.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "RUNNING",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "start",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Stop instance
Shut down an instance. Its disks are kept and still billed; its CPU and memory aren't.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "TERMINATED",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "stop",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}Suspend instance
Pause an instance, keeping what is in its memory, so it can carry on where it left off with 'Resume instance'.
Inputs
- Zone
zonetextRequired - The zone, such as us-central1-a. Pick one, or give it from an earlier step.
- Instance
instancetextRequired - The instance. Pick one, or give its name from an earlier step.
- Wait until done
waittrue/false - Wait (up to four minutes) until Compute Engine has finished, and return the result. Turn off to return at once.Default:
true.
Outputs
donetrue/false- True once Compute Engine has finished
instanceobject- The instance, as it is now
operationobject- The operation Compute Engine ran
Example output
{
"done": true,
"instance": {
"created": "2026-11-02T08:15:30.123-08:00",
"deletion_protection": false,
"description": "",
"external_ip": "34.123.45.67",
"id": "4567123456789012345",
"internal_ip": "10.128.0.2",
"labels": {
"env": "prod"
},
"last_started": "2026-11-17T09:00:12.456-08:00",
"last_stopped": "2026-11-16T18:00:03.789-08:00",
"last_suspended": "",
"link": "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/web-1",
"machine_type": "e2-medium",
"name": "web-1",
"status": "SUSPENDED",
"status_message": "",
"zone": "us-central1-a"
},
"operation": {
"done": true,
"ended": "2026-11-17T09:00:15.678-08:00",
"error": "",
"name": "operation-1763456789012-6431f2c1a2b3c-4d5e6f70-81a2b3c4",
"progress": 100,
"started": "2026-11-17T09:00:01.234-08:00",
"status": "DONE",
"target": "web-1",
"type": "suspend",
"user": "lodol@my-project.iam.gserviceaccount.com",
"zone": "us-central1-a"
}
}