Skip to main content

astroctl cloud gcp machines list

List GCP machine types

Synopsis​

List available GCP machine types with pricing information. The ACCELERATORS column shows kind/vendor/model, device count, and memory per accelerator; reuse those displayed values with the accelerator filters.

Terminal
astroctl cloud gcp machines list [flags]

Examples​

Terminal

# List machine types in us-central1
astroctl cloud gcp machines list -r us-central1

# Filter by CPU and memory
astroctl cloud gcp machines list -r us-central1 --cpuMin 2 --memMax 4096 --category GeneralPurpose

# Start here: list GPU machines and read kind/vendor/model from ACCELERATORS
astroctl cloud gcp machines list -r us-central1 --category GPU

# Discover non-GPU accelerators such as TPUs
astroctl cloud gcp machines list -r us-central1 --category AcceleratorOptimized

# Find H100 machines with at least 8 GPUs and 80 GiB per GPU; category is not required
astroctl cloud gcp machines list -r us-central1 --accelerator-kind gpu --accelerator-model h100 --accelerator-count-min 8 --accelerator-memory-mib-min 81920

# Find non-GPU TPU machines with at least 16 GiB per chip
astroctl cloud gcp machines list -r us-central1 --accelerator-kind tpu --accelerator-memory-mib-min 16384

# Get specific machine type info
astroctl cloud gcp machines list -r us-central1 -m n2-standard-2

# Output as JSON
astroctl cloud gcp machines list -r us-central1 -o json

Options​

Terminal
--accelerator-count-max int Maximum accelerators per machine
--accelerator-count-min int Minimum accelerators per machine
--accelerator-kind string Accelerator kind (for example: gpu, tpu, inference)
--accelerator-memory-mib-max int Maximum memory per accelerator in MiB
--accelerator-memory-mib-min int Minimum memory per accelerator in MiB
--accelerator-model string Normalized accelerator model shown in the ACCELERATORS column (for example: l4, a100, h100)
--accelerator-vendor string Accelerator vendor (for example: nvidia, amd, aws, google)
--architecture string Architecture filter: x86_64, arm64
--category string Category filter: GeneralPurpose, ComputeOptimized, MemoryOptimized, AcceleratorOptimized, GPU
--cpuMax int Maximum CPU cores
--cpuMin int Minimum CPU cores
-h, --help help for list
-m, --machinetype string Specific machine type to get info for
--memMax int Maximum memory (MB)
--memMin int Minimum memory (MB)
-o, --output string Output format (table|wide|json|yaml) (default "table")
-r, --region string GCP region (required)
-z, --zone string Zone to scope the listing or lookup to (default: every zone in the region)

SEE ALSO​