Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.

gce_vm_stop(instances, project = gce_get_global_project(),
  zone = gce_get_global_zone())



Names of the instance resource, or an instance object e.g. from gce_get_instance


Project ID for this request, default as set by gce_get_global_project


The name of the zone for this request, default as set by gce_get_global_zone


Authentication scopes used by this function are:



Stopped instances do not incur per-minute, virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted.

See also