ybm region

Query regions and instance types

This page documents the preview (v2.21) version. Preview includes features under active development and is for development and testing only. For production, use the stable (v2024.1) version.

Use the region resource to query cloud provider region information.

Syntax

Usage: ybm region [command] [flags]

Examples

List AWS regions:

ybm region list \
  --cloud-provider AWS

List AWS instance types in us-west-2:

ybm region instance list \
  --cloud-provider AWS \
  --region us-west-2

Commands

list

List the regions available for the specified cloud provider.

Flag Description
--cloud-provider Required. Cloud provider. AWS, AZURE, or GCP.

instance list

List the available instance types for the specified cloud provider and region.

Flag Description
--cloud-provider Required. Cloud provider. AWS, AZURE, or GCP.
--region Required. The region from which to fetch instance types.
--tier Type of cluster. Sandbox or Dedicated (default).
--show-disabled Whether to show disabled instance types. true (default) or false.