Skip to main content

astroctl cloud

Cloud provider operations

Synopsis

Cloud provider-specific commands for account connection, discovery, and utilities.

Provider Commands:

aws - Amazon Web Services operations
gcp - Google Cloud Platform operations
azure - Microsoft Azure operations

Each provider includes:

connect - Connect your cloud account for cluster provisioning
credentials - Get temporary credentials for debugging
k8s-versions - Get supported Kubernetes versions
regions - List regions and zones
machines - List machine types with pricing

Examples


# Connect your AWS account
astroctl cloud aws connect --account-id 123456789012 --region us-east-1 --cluster-name prod

# Connect your GCP project
astroctl cloud gcp connect --project-id my-project --region us-central1 --cluster-name prod

# Get supported Kubernetes versions
astroctl cloud aws k8s-versions
astroctl cloud gcp k8s-versions
astroctl cloud azure k8s-versions

# List AWS regions (no -p flag needed!)
astroctl cloud aws regions list

# List zones in AWS region
astroctl cloud aws regions zones list -r us-west-2

# List AWS machine types
astroctl cloud aws machines list -r us-east-1 --cpuMin 2

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

# List Azure zones
astroctl cloud azure regions zones list -r eastus

# List Azure machine types
astroctl cloud azure machines list -r eastus

Options

-h, --help help for cloud

Options inherited from parent commands

-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO