gcloud compute instance-templates

NAME
gcloud compute instance-templates - read and manipulate Compute Engine instances templates
SYNOPSIS
gcloud compute instance-templatesCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
Lists, creates, deletes, and modifies Compute Engine instance templates.

For more information about instance templates, see theinstancestemplates documentation.

See also:Instancetemplates API.

GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
Add IAM policy binding to a Compute Engine instance template.
create
Create a Compute Engine virtual machine instance template.
create-with-container
(DEPRECATED) Creates a Compute Engine a virtual machine instancetemplate that runs a Docker container.
delete
Delete Compute Engine virtual machine instance templates.
describe
Describe a virtual machine instance template.
get-iam-policy
Get the IAM policy for a Compute Engine instance template.
list
List Google Compute Engine instance templates.
remove-iam-policy-binding
Remove IAM policy binding from a Compute Engine instance template.
set-iam-policy
Set the IAM policy for a Compute Engine instance template.
NOTES
These variants are also available:
gcloudalphacomputeinstance-templates
gcloudbetacomputeinstance-templates

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-24 UTC.