- gcloud compute - create and manipulate Compute Engine resources
The gcloud compute command group lets you create, configure, and manipulate
Compute Engine virtual machine (VM) instances.
With Compute Engine, you can create and run VMs on Google's infrastructure. Compute Engine offers scale, performance, and value that lets you launch large compute clusters on Google's infrastructure.
- GCLOUD WIDE FLAGS
These flags are available to all commands:
$ gcloud helpfor details.
is one of the following:
- Read Compute Engine accelerator types.
- Read and manipulate Compute Engine addresses.
- Read and manipulate backend buckets.
- List, create, and delete backend services.
- Manage Compute Engine commitments.
- Debugging tools for Compute Engine virtual machine instances.
- Read Compute Engine virtual disk types.
- Read and manipulate Compute Engine disks.
- List, create, delete and update External VPN Gateways.
- Manage Compute Engine organization firewall policies.
- List, create, update, and delete Compute Engine firewall rules.
- Read and manipulate traffic forwarding rules to network load balancers.
- Read and manipulate health checks for load balanced instances.
- Read and manipulate HTTP health checks for load balanced instances.
- Read and manipulate HTTPS health checks for load balanced instances.
- List, create, and delete Compute Engine images.
- Read and manipulate Compute Engine instance groups.
- Read and manipulate Compute Engine instances templates.
- Read and manipulate Compute Engine virtual machine instances.
- Read and manipulate Compute Engine interconnects.
- Read Compute Engine virtual machine types.
- Read and manipulate Compute Engine network endpoint groups.
- List, create, and delete Compute Engine networks.
- Read and manipulate Compute Engine operations.
- Manage OS Config tasks for Compute Engine VM instances.
- Create and manipulate Compute Engine OS Login resources.
- Manage Compute Engine packet mirroring resources.
- Read and manipulate project-level data like quotas and metadata.
- Manage public advertised prefix resources.
- Manage public delegated prefix resources.
- List Compute Engine regions.
- Manage Compute Engine reservations.
- Manage Compute Engine Resource Policies.
- List, create, and delete Compute Engine routers.
- Read and manipulate routes.
- Read and manipulate Cloud Armor security policies.
- Manage Compute Engine service attachment resources.
- Configure shared VPC.
- List, describe, and delete Compute Engine snapshots.
- Read and manage Compute Engine sole-tenancy resources.
- List, create, and delete Compute Engine SSL certificate resources.
- List, create, delete and update Compute Engine SSL policies.
- Manage Compute Engine target gRPC proxy resources.
- List, create, and delete target HTTP proxies.
- List, create, and delete target HTTPS proxies.
- Read and manipulate Compute Engine virtual target instances.
- Control Compute Engine target pools for network load balancing.
- List, create, and delete target SSL proxies.
- List, create, and delete target TCP proxies.
- Read and manipulate classic VPN gateways.
- List, create, and delete Cloud TPUs.
- List, create, and delete URL maps.
- read and manipulate Highly Available VPN Gateways.
- Read and manipulate Compute Engine VPN tunnels.
- List Compute Engine zones.
is one of the following:
- Populate SSH config files with Host entries from each instance.
- Connect to the serial port of an instance.
(DEPRECATED)Copy files to and from Google Compute Engine virtual machines via scp.
- Reset and return a password for a Windows machine instance.
- Copy files to and from Google Compute Engine virtual machines via scp.
- Sign specified URL for use with Cloud CDN Signed URLs.
- SSH into a virtual machine instance.
- Starts an IAP TCP forwarding tunnel.
- These variants are also available:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-07-20 UTC.