Google Cloud Compute

Google Compute Engine delivers virtual machines running in Google's innovative data centers and worldwide fiber network. Compute Engine's tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing.

IT Services · Google Cloud Compute

Configuration parameters

  • service — Service Account Private Key file contents (JSON)
  • credentials_service_account_json
  • proxy — Use system proxy settings
  • default_search_scope — Default Search Scope

Commands (83)

  • gcp-compute-add-network-tag

    Add network tag for the specified instance.

  • gcp-compute-aggregated-list-addresses

    Retrieves an aggregated list of addresses.

  • gcp-compute-aggregated-list-disk-types

    Retrieves an aggregated list of disk types.

  • gcp-compute-aggregated-list-disks

    Retrieves an aggregated list of persistent disks.

  • gcp-compute-aggregated-list-instance-groups

    Retrieves the list of instance groups and sorts them by zone.

  • gcp-compute-aggregated-list-instances

    Retrieves aggregated list of all of the instances in your project across all regions and zones.

  • gcp-compute-aggregated-list-instances-by-ip

    Retrieves instance information based on public IP in your project across all regions and zones.

  • gcp-compute-aggregated-list-machine-types

    Retrieves an aggregated list of machine types.

  • gcp-compute-create-disk-snapshot

    Creates a snapshot of a specified persistent disk.

  • gcp-compute-delete-address

    Deletes the specified address resource.

  • gcp-compute-delete-disk

    Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.

  • gcp-compute-delete-firewall

    Deletes the specified firewall.

  • gcp-compute-delete-global-address

    Deletes the specified address resource.

  • gcp-compute-delete-global-operation

    Deletes the specified Operations resource.

  • gcp-compute-delete-image

    Deletes the specified image.

  • gcp-compute-delete-instance

    Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance.

  • gcp-compute-delete-instance-group

    Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. HTTP.

  • gcp-compute-delete-network

    Deletes the specified network.

  • gcp-compute-delete-region-operation

    Deletes the specified region-specific Operations resource.

  • gcp-compute-delete-snapshot

    Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.

  • gcp-compute-delete-zone-operation

    Deletes the specified zone-specific Operations resource.

  • gcp-compute-get-address

    Returns the specified address resource.

  • gcp-compute-get-disk

    Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.

  • gcp-compute-get-disk-type

    Returns the specified disk type. Gets a list of available disk types by making a list() request.

  • gcp-compute-get-firewall

    Returns the specified firewall.

  • gcp-compute-get-global-address

    Deletes the specified address resource.

  • gcp-compute-get-global-operation

    Retrieves the specified Operations resource. Gets a list of operations by making a list() request.

  • gcp-compute-get-image

    Returns the specified image. Gets a list of available images by making a list() request.

  • gcp-compute-get-image-from-family

    Returns the latest image that is part of an image family and is not deprecated.

  • gcp-compute-get-instance

    Returns the specified Instance resource. Gets a list of available instances by making a list() request.

  • gcp-compute-get-instance-group

    Returns the specified instance group. Gets a list of available instance groups by making a list() request.

  • gcp-compute-get-machine-type

    Returns the specified machine type. Gets a list of available machine types by making a list() request.

  • gcp-compute-get-network

    Returns the specified network.

  • gcp-compute-get-region

    Returns the specified Region resource. Gets a list of available regions by making a list() request.

  • gcp-compute-get-region-operation

    Retrieves the specified region-specific Operations resource.

  • gcp-compute-get-snapshot

    Returns the specified Snapshot resource.

  • gcp-compute-get-zone

    Returns the specified Zone resource. Gets a list of available zones by making a list() request.

  • gcp-compute-get-zone-operation

    Retrieves the specified zone-specific Operations resource.

  • gcp-compute-insert-address

    Creates an address resource in the specified project using the data included in the request.

  • gcp-compute-insert-disk

    Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.

  • gcp-compute-insert-firewall

    Creates a firewall rule in the specified project using the data included in the request.

  • gcp-compute-insert-global-address

    Creates an address resource in the specified project using the data included in the request.

  • gcp-compute-insert-image

    Creates an image in the specified project using the data included in the request.

  • gcp-compute-insert-instance

    Creates an instance resource in the specified project using the data included in the request.

  • gcp-compute-insert-instance-group

    Creates an instance group in the specified project using the parameters that are included in the request.

  • gcp-compute-insert-network

    Creates a network in the specified project using the data included in the request.

  • gcp-compute-instance-groups-add-instances

    Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.

  • gcp-compute-instance-groups-remove-instances

    Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.

  • gcp-compute-list-addresses

    Retrieves a list of addresses contained within the specified region.

  • gcp-compute-list-disk-types

    Retrieves a list of disk types available to the specified project.

  • gcp-compute-list-disks

    Retrieves a list of persistent disks contained within the specified zone.

  • gcp-compute-list-firewall

    Retrieves the list of firewall rules available to the specified project.

  • gcp-compute-list-global-addresses

    Retrieves a list of global addresses.

  • gcp-compute-list-global-operation

    Retrieves a list of Operation resources contained within the specified project.

  • gcp-compute-list-images

    Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.

  • gcp-compute-list-instance-group-instances

    Lists the instances in the specified instance group.

  • gcp-compute-list-instance-groups

    Retrieves the list of instance groups that are located in the specified project and zone.

  • gcp-compute-list-instances

    Retrieves the list of instances contained within the specified zone.

  • gcp-compute-list-machine-types

    Retrieves a list of machine types available to the specified project.

  • gcp-compute-list-networks

    Retrieves the list of networks available to the specified project.

  • gcp-compute-list-region-operation

    Retrieves a list of Operation resources contained within the specified region.

  • gcp-compute-list-regions

    Retrieves the list of region resources available to the specified project.

  • gcp-compute-list-snapshots

    Retrieves the list of Snapshot resources contained within the specified project.

  • gcp-compute-list-zone-operation

    Retrieves a list of Operation resources contained within the specified zone.

  • gcp-compute-list-zones

    Retrieves the list of Zone resources available to the specified project.

  • gcp-compute-networks-add-peering

    Adds a peering to the specified network.

  • gcp-compute-networks-remove-peering

    Removes a peering from the specified network.

  • gcp-compute-patch-firewall

    Updates the specified firewall rule with the data included in the request.

  • gcp-compute-project-info-add-metadata

    Add or update project wide metadata.

  • gcp-compute-reset-instance

    Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance.

  • gcp-compute-resize-disk

    Resizes the specified persistent disk. You can only increase the size of the disk.

  • gcp-compute-set-disk-labels

    Sets the labels on a disk.

  • gcp-compute-set-group-instance-named-ports

    Sets the named ports for the specified instance group.

  • gcp-compute-set-image-labels

    Sets the labels on an image.

  • gcp-compute-set-instance-labels

    Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.

  • gcp-compute-set-instance-machine-type

    Changes the machine type for a stopped instance to the machine type specified in the request.

  • gcp-compute-set-instance-metadata

    Sets metadata for the specified instance to the data included in the request.

  • gcp-compute-set-snapshot-labels

    Sets the labels on a snapshot.

  • gcp-compute-start-instance

    Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.

  • gcp-compute-stop-instance

    Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.

  • gcp-compute-wait-for-global-operation

    Wait for a global operation to complete ,NOTE this command will occupy a system resource.

  • gcp-compute-wait-for-region-operation

    Wait for a region operation to complete ,NOTE this command will occupy a system resource.

  • gcp-compute-wait-for-zone-operation

    Wait for a zone operation to complete ,NOTE this command will occupy a system resource.