I want to know how to specify a subset of regions in which Skypilot can search within to find resources. Currently, I can only specify one region at a time, but I want to search within multiple regions simultaneously.
Nikhil
Asked on Mar 13, 2024
To specify a subset of regions for Skypilot to search within to find resources, you can use the any_of
directive in the Skypilot configuration file. Here is an example configuration that specifies multiple regions to search within:
resources:
accelerators: {A10g:8, A10:8, L4:8, A100:8}
any_of:
# AWS:
- region: us-east-1
- region: us-east-2
- region: us-west-1
- region: us-west-2
# GCP
- region: us-central1
- region: us-east1
- region: us-east4
- region: us-west1
- region: us-west2
- region: us-west3
- region: us-west4