gcloud compute instance-templates create
NAME
[--accelerator
=[count
=COUNT
],[type
=TYPE
]] [--no-boot-disk-auto-delete
] [--boot-disk-device-name
=BOOT_DISK_DEVICE_NAME
] [--boot-disk-interface
=BOOT_DISK_INTERFACE
] [--boot-disk-provisioned-iops
=BOOT_DISK_PROVISIONED_IOPS
] [--boot-disk-provisioned-throughput
=BOOT_DISK_PROVISIONED_THROUGHPUT
] [--boot-disk-size
=BOOT_DISK_SIZE
] [--boot-disk-type
=BOOT_DISK_TYPE
] [--can-ip-forward
] [--configure-disk
=[PROPERTY
=VALUE
,…]] [--create-disk
=[PROPERTY
=VALUE
,…]] [--description
=DESCRIPTION
] [--discard-local-ssds-at-termination-timestamp
=DISCARD_LOCAL_SSDS_AT_TERMINATION_TIMESTAMP
] [--disk
=[auto-delete
=AUTO-DELETE
],[boot
=BOOT
],[device-name
=DEVICE-NAME
],[interface
=INTERFACE
],[mode
=MODE
],[name
=NAME
]] [--[no-]enable-nested-virtualization
] [--[no-]enable-uefi-networking
] [--external-ipv6-address
=EXTERNAL_IPV6_ADDRESS
] [--external-ipv6-prefix-length
=EXTERNAL_IPV6_PREFIX_LENGTH
] [--host-error-timeout-seconds
=HOST_ERROR_TIMEOUT_SECONDS
] [--instance-template-region
=INSTANCE_TEMPLATE_REGION
] [--instance-termination-action
=INSTANCE_TERMINATION_ACTION
] [--internal-ipv6-address
=INTERNAL_IPV6_ADDRESS
] [--internal-ipv6-prefix-length
=INTERNAL_IPV6_PREFIX_LENGTH
] [--ipv6-network-tier
=IPV6_NETWORK_TIER
] [--key-revocation-action-type
=POLICY
] [--labels
=[KEY
=VALUE
,…]] [--local-ssd
=[device-name
=DEVICE-NAME
],[interface
=INTERFACE
],[size
=SIZE
]] [--local-ssd-recovery-timeout
=LOCAL_SSD_RECOVERY_TIMEOUT
] [--machine-type
=MACHINE_TYPE
] [--maintenance-policy
=MAINTENANCE_POLICY
] [--max-run-duration
=MAX_RUN_DURATION
] [--metadata
=KEY
=VALUE
,[KEY
=VALUE
,…]] [--metadata-from-file
=KEY
=LOCAL_FILE_PATH
,[…]] [--min-cpu-platform
=PLATFORM
] [--min-node-cpu
=MIN_NODE_CPU
] [--network
=NETWORK
] [--network-interface
=[PROPERTY
=VALUE
,…]] [--network-performance-configs
=[PROPERTY
=VALUE
,…]] [--network-tier
=NETWORK_TIER
] [--performance-monitoring-unit
=PERFORMANCE_MONITORING_UNIT
] [--preemptible
] [--private-ipv6-google-access-type
=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE
] [--private-network-ip
=PRIVATE_NETWORK_IP
] [--provisioning-model
=PROVISIONING_MODEL
] [--region
=REGION
] [--resource-manager-tags
=[KEY
=VALUE
,…]] [--resource-policies
=[RESOURCE_POLICY
,…]] [--no-restart-on-failure
] [--shielded-integrity-monitoring
] [--shielded-secure-boot
] [--shielded-vtpm
] [--source-instance
=SOURCE_INSTANCE
] [--source-instance-zone
=SOURCE_INSTANCE_ZONE
] [--stack-type
=STACK_TYPE
] [--subnet
=SUBNET
] [--tags
=TAG
,[TAG
,…]] [--termination-time
=TERMINATION_TIME
] [--threads-per-core
=THREADS_PER_CORE
] [--turbo-mode
=TURBO_MODE
] [--visible-core-count
=VISIBLE_CORE_COUNT
] [--address
=ADDRESS
| --no-address
] [--boot-disk-kms-key
=BOOT_DISK_KMS_KEY
: --boot-disk-kms-keyring
=BOOT_DISK_KMS_KEYRING
--boot-disk-kms-location
=BOOT_DISK_KMS_LOCATION
--boot-disk-kms-project
=BOOT_DISK_KMS_PROJECT
] [--confidential-compute
| --confidential-compute-type
=CONFIDENTIAL_COMPUTE_TYPE
] [--custom-cpu
=CUSTOM_CPU
--custom-memory
=CUSTOM_MEMORY
: --custom-extensions
--custom-vm-type
=CUSTOM_VM_TYPE
] [--image-project
=IMAGE_PROJECT
--image
=IMAGE
| --image-family
=IMAGE_FAMILY
] [--node
=NODE
| --node-affinity-file
=PATH_TO_FILE
| --node-group
=NODE_GROUP
] [--reservation
=RESERVATION
--reservation-affinity
=RESERVATION_AFFINITY
; default="any"] [--scopes
=[SCOPE
,…] | --no-scopes
] [--service-account
=SERVICE_ACCOUNT
| --no-service-account
] [--service-proxy
=[enabled
],[access-log
=ACCESS-LOG
],[network
=NETWORK
],[proxy-port
=PROXY-PORT
],[serving-ports
=SERVING-PORTS
],[tracing
=TRACING
] --service-proxy-labels
=[KEY
=VALUE
, …,…]] [GCLOUD_WIDE_FLAG …
]
gcloud compute instance-templates create
facilitates the creation of Compute Engine virtual machine instance templates. Instance templates are global resources, and can be used to create instances in any zone.
gcloud compute instance-templates create INSTANCE-TEMPLATE --custom-vm-type=n2 --custom-cpu=2 --custom-memory=9GB
NAME
--accelerator
=[count
=COUNT
],[type
=TYPE
]
type
count
--boot-disk-auto-delete
--no-boot-disk-auto-delete
to disable.
--boot-disk-device-name
=BOOT_DISK_DEVICE_NAME
--boot-disk-interface
=BOOT_DISK_INTERFACE
--boot-disk-provisioned-iops
=BOOT_DISK_PROVISIONED_IOPS
--boot-disk-provisioned-throughput
=BOOT_DISK_PROVISIONED_THROUGHPUT
--boot-disk-size
=BOOT_DISK_SIZE
KB
for kilobyte, MB
for megabyte, GB
for gigabyte, or TB
for terabyte. For example, 10GB
will produce a 10 gigabyte disk. Disk size must be a multiple of 1 GB. Default size unit is GB
.
--boot-disk-type
=BOOT_DISK_TYPE
$ gcloud compute disk-types list
.
--can-ip-forward
--configure-disk
=[PROPERTY
=VALUE
,…]
--source-instance
. It allows you to override how the source-instance's disks are defined in the template.
device-name
auto-delete
true
, this persistent disk will be automatically deleted when the instance is deleted. However, if the disk is detached from the instance, this option won't apply. If not provided, the setting is copied from the source instance. Allowed values of the flag are: false
, no
, true
, and yes
.
instantiate-from
custom-image
--create-disk
=[PROPERTY
=VALUE
,…]
name
description
mode
ro
for read-only and rw
for read-write. If omitted, rw
is used as a default.
image
$ gcloud compute images list
. It is best practice to use image when a specific version of an image is needed. If both image and image-family flags are omitted a blank disk will be created.
image-family
image-project
gcloud compute images list
.
size
KB
for kilobyte, MB
for megabyte, GB
for gigabyte, or TB
for terabyte. For example, 10GB
will produce a 10 gigabyte disk. Disk size must be a multiple of 1 GB. If not specified, the default image size will be used for the new disk.
type
pd-standard
.
device-name
persistent-disk-N
is used.
provisioned-iops
provisioned-throughput
disk-resource-policy
https://www.googleapis.com/compute/v1/projects/my-project/regions/us-central1/resourcePolicies/my-resource-policy
projects/my-project/regions/us-central1/resourcePolicies/my-resource-policy
For more information, see the following docs:
auto-delete
yes
, this persistent disk will be automatically deleted when the instance is deleted. However, if the disk is later detached from the instance, this option won't apply. The default value for this is yes
.
architecture
storage-pool
interface
boot
yes
, indicates that this is a boot disk. The instance will use the first partition of the disk for its root file system. The default value for this is no
.
kms-key
This can either be the fully qualified path or the name.
The fully qualified Cloud KMS cryptokey name format is:
.projects/<kms-project>/locations/<kms-location>/keyRings/<kms-keyring>/ cryptoKeys/<key-name>
If the value is not fully qualified then kms-location, kms-keyring, and optionally kms-project are required.
See https://cloud.google.com/compute/docs/disks/customer-managed-encryption for more details.
kms-project
If the project is not specified then the project where the disk is being created will be used.
If this flag is set then key-location, kms-keyring, and kms-key are required.
See https://cloud.google.com/compute/docs/disks/customer-managed-encryption for more details.
kms-location
All Cloud KMS cryptokeys are reside in a 'location'. To get a list of possible locations run 'gcloud kms locations list'. If this flag is set then kms-keyring and kms-key are required. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption for more details.
kms-keyring
If this flag is set then kms-location and kms-key are required.
See https://cloud.google.com/compute/docs/disks/customer-managed-encryption for more details.
replica-zones
--description
=DESCRIPTION
--discard-local-ssds-at-termination-timestamp
=DISCARD_LOCAL_SSDS_AT_TERMINATION_TIMESTAMP
true
and only allowed for VMs that have one or more local SSDs, use --instance-termination-action=STOP, and use either --max-run-duration or --termination-time.
This flag indicates the value that you want Compute Engine to use for the --discard-local-ssd
flag in the automatic gcloud compute instances stop
command. This flag only supports the true
value, which discards local SSD data when automatically stopping this VM during its terminationTimestamp
.
For more information about the --discard-local-ssd
flag, see https://cloud.google.com/compute/docs/disks/local-ssd#stop_instance.
--disk
=[auto-delete
=AUTO-DELETE
],[boot
=BOOT
],[device-name
=DEVICE-NAME
],[interface
=INTERFACE
],[mode
=MODE
],[name
=NAME
]
name
projects/myproject/regions/us-central1/disks/my-regional-disk
.
mode
ro
for read-only mode and rw
for read-write mode. If omitted, rw
is used as a default value. If you use rw
when creating more than one instance, you encounter errors.
boot
yes
, you attach a boot disk. The virtual machine then uses the first partition of the disk for the root file systems. The default value for this is no
.
device-name
persistent-disk-N
is used.
auto-delete
yes
, the persistent disk is automatically deleted when the instance is deleted. However, if you detach the disk from the instance, deleting the instance doesn't delete the disk. The default value is yes
.
interface
--[no-]enable-nested-virtualization
--enable-nested-virtualization
to enable and --no-enable-nested-virtualization
to disable.
--[no-]enable-uefi-networking
--enable-uefi-networking
to enable and --no-enable-uefi-networking
to disable.
--external-ipv6-address
=EXTERNAL_IPV6_ADDRESS
--external-ipv6-prefix-length
=EXTERNAL_IPV6_PREFIX_LENGTH
--external-ipv6-address
. Only the /96 IP address range is supported, and the default value is 96.
--host-error-timeout-seconds
=HOST_ERROR_TIMEOUT_SECONDS
--instance-template-region
=INSTANCE_TEMPLATE_REGION
--instance-termination-action
=INSTANCE_TERMINATION_ACTION
INSTANCE_TERMINATION_ACTION
must be one of:
DELETE
STOP
--internal-ipv6-address
=INTERNAL_IPV6_ADDRESS
--internal-ipv6-prefix-length
=INTERNAL_IPV6_PREFIX_LENGTH
--ipv6-network-tier
=IPV6_NETWORK_TIER
IPV6_NETWORK_TIER
must be (only one value is supported):
PREMIUM
--key-revocation-action-type
=POLICY
POLICY
must be one of:
none
stop
--labels
=[KEY
=VALUE
,…]
Keys must start with a lowercase character and contain only hyphens (-
), underscores (_
), lowercase characters, and numbers. Values must contain only hyphens (-
), underscores (_
), lowercase characters, and numbers.
--local-ssd
=[device-name
=DEVICE-NAME
],[interface
=INTERFACE
],[size
=SIZE
]
device-name
interface
is SCSI
. If omitted, a device name of the form local-ssd-N
will be used.
interface
SCSI
and NVME
. SCSI is the default and is supported by more guest operating systems. NVME might provide higher performance.
size
375GB
. Specify the --local-ssd
flag multiple times if you need multiple 375GB
local SSD partitions. You can specify a maximum of 24 local SSDs for a maximum of 9TB
attached to an instance.
--local-ssd-recovery-timeout
=LOCAL_SSD_RECOVERY_TIMEOUT
--machine-type
=MACHINE_TYPE
--maintenance-policy
=MAINTENANCE_POLICY
MAINTENANCE_POLICY
must be one of:
MIGRATE
TERMINATE
--max-run-duration
=MAX_RUN_DURATION
30m
for a duration of 30 minutes or specify 1d2h3m4s
for a duration of 1 day, 2 hours, 3 minutes, and 4 seconds. Alternatively, to specify a timestamp, use --termination-time instead.
If neither --max-run-duration nor --termination-time is specified (default), the VM instance runs until prompted by a user action or system event. If either is specified, the VM instance is scheduled to be automatically terminated at the VM's termination timestamp (terminationTimestamp
) using the action specified by --instance-termination-action.
Note: The terminationTimestamp
is removed whenever the VM is stopped or suspended and redefined whenever the VM is rerun. For --max-run-duration specifically, the terminationTimestamp
is the sum of MAX_RUN_DURATION and the time when the VM last entered the RUNNING
state, which changes whenever the VM is rerun.
--metadata
=KEY
=VALUE
,[KEY
=VALUE
,…]
--metadata key-1=value-1,key-2=value-2,key-3=value-3
. The combined total size for all metadata entries is 512 KB.
In images that have Compute Engine tools installed on them, such as the official images, the following metadata keys have special meanings:
startup-script
--metadata-from-file
can be used to pull the value from a file.
startup-script-url
startup-script
except that the script contents are pulled from a publicly-accessible location on the web. For startup scripts on Windows instances, the following metadata keys have special meanings: windows-startup-script-url
, windows-startup-script-cmd
, windows-startup-script-bat
, windows-startup-script-ps1
, sysprep-specialize-script-url
, sysprep-specialize-script-cmd
, sysprep-specialize-script-bat
, and sysprep-specialize-script-ps1
. For more information, see Running startup scripts.
--metadata-from-file
=KEY
=LOCAL_FILE_PATH
,[…]
--metadata
except that the value for the entry will be read from a local file. This is useful for values that are too large such as startup-script
contents.
--min-cpu-platform
=PLATFORM
gcloud compute zones describe ZONE --format="value(availableCpuPlatforms)"
Default setting is "AUTOMATIC".
CPU platform selection is available only in selected zones.
You can find more information on-line: https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform
--min-node-cpu
=MIN_NODE_CPU
--network
=NETWORK
--subnet
is also specified, subnet must be a subnetwork of the network specified by this --network
flag. If neither is specified, the default network is used.
--network-interface
=[PROPERTY
=VALUE
,…]
--address
, --network
, --network-tier
, --subnet
, --private-network-ip
, --stack-type
, --ipv6-network-tier
, --internal-ipv6-address
, --internal-ipv6-prefix-length
, --ipv6-address
, --ipv6-prefix-length
, --external-ipv6-address
, --external-ipv6-prefix-length
, --ipv6-public-ptr-domain
. This flag can be repeated to specify multiple network interfaces.
The following keys are allowed:
address
network
no-address
network-tier
NETWORK_TIER
must be one of: PREMIUM
, STANDARD
. The default value is PREMIUM
.
private-network-ip
subnet
nic-type
NIC_TYPE
must be one of: GVNIC
, VIRTIO_NET
.
queue-count
stack-type
STACK_TYPE
must be one of: IPV4_ONLY
, IPV4_IPV6
, IPV6_ONLY
. The default value is IPV4_ONLY
.
ipv6-network-tier
IPV6_NETWORK_TIER
must be PREMIUM
(currently only one value is supported).
internal-ipv6-address
internal-ipv6-prefix-length
external-ipv6-address
external-ipv6-prefix-length
ipv6-public-ptr-domain
nic0
.
aliases
For example:
--aliases="10.128.1.0/24;range1:/32"Each IP alias range consists of a range name and a CIDR netmask (e.g.
/24
) separated by a colon or just the netmask. The range name is the name of the range within the network interface's subnet from which to allocate an IP alias range. If unspecified, it defaults to the primary IP range of the subnet. The IP allocator will pick an available range with the specified netmask and allocate it to this network interface.
network-attachment
--network
and --subnet
flags.
--network-performance-configs
=[PROPERTY
=VALUE
,…]
total-egress-bandwidth-tier
--network-tier
=NETWORK_TIER
NETWORK_TIER
must be one of: PREMIUM
, STANDARD
. The default value is PREMIUM
.
--performance-monitoring-unit
=PERFORMANCE_MONITORING_UNIT
PERFORMANCE_MONITORING_UNIT
must be one of:
architectural
enhanced
standard
--preemptible
--private-ipv6-google-access-type
=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE
PRIVATE_IPV6_GOOGLE_ACCESS_TYPE
must be one of: enable-bidirectional-access
, enable-outbound-vm-access
, inherit-subnetwork
.
--private-network-ip
=PRIVATE_NETWORK_IP
--provisioning-model
=PROVISIONING_MODEL
PROVISIONING_MODEL
must be one of:
RESERVATION_BOUND
SPOT
STANDARD
--region
=REGION
To avoid prompting when this flag is omitted, you can set the
property:compute/region
gcloud config set compute/region REGION
A list of regions can be fetched by running:
gcloud compute regions list
To unset the property, run:
gcloud config unset compute/region
Alternatively, the region can be stored in the environment variable
.CLOUDSDK_COMPUTE_REGION
--resource-manager-tags
=[KEY
=VALUE
,…]
--resource-policies
=[RESOURCE_POLICY
,…]
--restart-on-failure
--no-restart-on-failure
to disable.
--shielded-integrity-monitoring
gcloud compute instances update --shielded-learn-integrity-policy
. On Shielded VM instances, integrity monitoring is enabled by default. For information about how to modify Shielded VM options, see https://cloud.google.com/compute/docs/instances/modifying-shielded-vm. For information about monitoring integrity on Shielded VM instances, see https://cloud.google.com/compute/docs/instances/integrity-monitoring."
--shielded-secure-boot
--shielded-vtpm
--source-instance
=SOURCE_INSTANCE
--source-instance-zone
=SOURCE_INSTANCE_ZONE
compute/zone
property value for this command invocation.
--stack-type
=STACK_TYPE
STACK_TYPE
must be one of:
IPV4_IPV6
IPV4_ONLY
IPV6_ONLY
--subnet
=SUBNET
--network
is also specified, subnet must be a subnetwork of the network specified by the --network
flag.
--tags
=TAG
,[TAG
,…]
gcloud compute firewall-rules create
(1) for more details.
To read more about configuring network tags, read this guide: https://cloud.google.com/vpc/docs/add-remove-network-tags
To list instances with their respective status and tags, run:
gcloud compute instances list --format='table(name,status,tags.list())'
To list instances tagged with a specific tag, tag1
, run:
gcloud compute instances list --filter='tags:tag1'
--termination-time
=TERMINATION_TIME
If neither --termination-time nor --max-run-duration is specified (default), the VM instance runs until prompted by a user action or system event. If either is specified, the VM instance is scheduled to be automatically terminated at the VM's termination timestamp (terminationTimestamp
) using the action specified by --instance-termination-action.
Note: The terminationTimestamp
is removed whenever the VM is stopped or suspended and redefined whenever the VM is rerun. For --termination-time specifically, the terminationTimestamp
remains the same whenever the VM is rerun, but any requests to rerun the VM fail if the specified timestamp is in the past.
--threads-per-core
=THREADS_PER_CORE
For more information about configuring SMT, see: https://cloud.google.com/compute/docs/instances/configuring-simultaneous-multithreading.
--turbo-mode
=TURBO_MODE
To achieve all-core-turbo frequency for more consistent CPU performance, set the field to ALL_CORE_MAX. The field is unset by default, which results in maximum performance single-core boosting.
--visible-core-count
=VISIBLE_CORE_COUNT
--address
=ADDRESS
--no-address
--boot-disk-kms-key
=BOOT_DISK_KMS_KEY
To set the kms-key
attribute:
--boot-disk-kms-key
on the command line.This flag argument must be specified if any of the other arguments in this group are specified.
--boot-disk-kms-keyring
=BOOT_DISK_KMS_KEYRING
To set the kms-keyring
attribute:
--boot-disk-kms-key
on the command line with a fully specified name;--boot-disk-kms-keyring
on the command line.--boot-disk-kms-location
=BOOT_DISK_KMS_LOCATION
To set the kms-location
attribute:
--boot-disk-kms-key
on the command line with a fully specified name;--boot-disk-kms-location
on the command line.--boot-disk-kms-project
=BOOT_DISK_KMS_PROJECT
To set the kms-project
attribute:
--boot-disk-kms-key
on the command line with a fully specified name;--boot-disk-kms-project
on the command line;core/project
.--confidential-compute
The --confidential-compute flag will soon be deprecated. Please use --confidential-compute-type=SEV
instead
--confidential-compute-type
=CONFIDENTIAL_COMPUTE_TYPE
CONFIDENTIAL_COMPUTE_TYPE
must be one of:
SEV
SEV_SNP
TDX
--custom-cpu
=CUSTOM_CPU
For some machine types, shared-core values can also be used. For example, for E2 machine types, you can specify micro
, small
, or medium
.
This flag argument must be specified if any of the other arguments in this group are specified.
--custom-memory
=CUSTOM_MEMORY
This flag argument must be specified if any of the other arguments in this group are specified.
--custom-extensions
--custom-vm-type
=CUSTOM_VM_TYPE
n1
. For more information about custom machine types, see: https://cloud.google.com/compute/docs/general-purpose-machines#custom_machine_types
--image-project
=IMAGE_PROJECT
gcloud projects list
.
--image
=IMAGE
$ gcloud compute images list
. It is best practice to use --image
when a specific version of an image is needed.
When using this option,
and --boot-disk-device-name
can be used to override the boot disk's device name and size, respectively.--boot-disk-size
--image-family
=IMAGE_FAMILY
--image-family
when the latest version of an image is needed.
By default,
is assumed for this flag.debian-12
At most one of these can be specified:
--node
=NODE
--node-affinity-file
=PATH_TO_FILE
The file should contain a list of a JSON/YAML objects. For an example, see https://cloud.google.com/compute/docs/nodes/provisioning-sole-tenant-vms#configure_node_affinity_labels. The following list describes the fields:
key
operator
IN
: Requires Compute Engine to seek for matched nodes. NOT_IN
: Requires Compute Engine to avoid certain nodes.
values
Use a full or relative path to a local file containing the value of node_affinity_file.
--node-group
=NODE_GROUP
--reservation
=RESERVATION
--reservation-affinity=specific
.
--reservation-affinity
=RESERVATION_AFFINITY
; default="any"
RESERVATION_AFFINITY
must be one of:
any
none
specific
--scopes
=[SCOPE
,…]
SCOPE can be either the full URI of the scope or an alias. Default
scopes are assigned to all instances. Available aliases are:
Alias URI bigquery https://www.googleapis.com/auth/bigquery cloud-platform https://www.googleapis.com/auth/cloud-platform cloud-source-repos https://www.googleapis.com/auth/source.full_control cloud-source-repos-ro https://www.googleapis.com/auth/source.read_only compute-ro https://www.googleapis.com/auth/compute.readonly compute-rw https://www.googleapis.com/auth/compute datastore https://www.googleapis.com/auth/datastore default https://www.googleapis.com/auth/devstorage.read_only https://www.googleapis.com/auth/logging.write https://www.googleapis.com/auth/monitoring.write https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/service.management.readonly https://www.googleapis.com/auth/servicecontrol https://www.googleapis.com/auth/trace.append gke-default https://www.googleapis.com/auth/devstorage.read_only https://www.googleapis.com/auth/logging.write https://www.googleapis.com/auth/monitoring https://www.googleapis.com/auth/service.management.readonly https://www.googleapis.com/auth/servicecontrol https://www.googleapis.com/auth/trace.append logging-write https://www.googleapis.com/auth/logging.write monitoring https://www.googleapis.com/auth/monitoring monitoring-read https://www.googleapis.com/auth/monitoring.read monitoring-write https://www.googleapis.com/auth/monitoring.write pubsub https://www.googleapis.com/auth/pubsub service-control https://www.googleapis.com/auth/servicecontrol service-management https://www.googleapis.com/auth/service.management.readonly sql (deprecated) https://www.googleapis.com/auth/sqlservice sql-admin https://www.googleapis.com/auth/sqlservice.admin storage-full https://www.googleapis.com/auth/devstorage.full_control storage-ro https://www.googleapis.com/auth/devstorage.read_only storage-rw https://www.googleapis.com/auth/devstorage.read_write taskqueue https://www.googleapis.com/auth/taskqueue trace https://www.googleapis.com/auth/trace.append userinfo-email https://www.googleapis.com/auth/userinfo.emailDEPRECATION WARNING: https://www.googleapis.com/auth/sqlservice account scope and
sql
alias do not provide SQL instance management capabilities and have been deprecated. Please, use https://www.googleapis.com/auth/sqlservice.admin or sql-admin
to manage your Google SQL Service instances.
--no-scopes
--service-account
=SERVICE_ACCOUNT
If not provided, the instance will use the project's default service account.
--no-service-account
--service-proxy
=[enabled
],[access-log
=ACCESS-LOG
],[network
=NETWORK
],[proxy-port
=PROXY-PORT
],[serving-ports
=SERVING-PORTS
],[tracing
=TRACING
]
enabled
serving-ports
For example:
serving-ports="80;8080"
The service proxy will intercept inbound traffic, then forward it to the specified serving port(s) on localhost. If not provided, no incoming traffic is intercepted.
proxy-port
tracing
generate_request_id
documentation for the Envoy proxy. Allowed values are ON
and OFF
.
access-log
network
--service-proxy-labels
=[KEY
=VALUE
, …,…]
key=value
pairs that you want to set as proxy metadata (for example, for use with config filtering). You might use these flags for application and version labels: app=review
and/or version=canary
.
--access-token-file
, --account
, --billing-project
, --configuration
, --flags-file
, --flatten
, --format
, --help
, --impersonate-service-account
, --log-http
, --project
, --quiet
, --trace-token
, --user-output-enabled
, --verbosity
.
Run $ gcloud help
for details.
gcloud alpha compute instance-templates create
gcloud beta compute instance-templates create
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4