Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Sky prioritize regions with quota available? #664

Closed
infwinston opened this issue Mar 30, 2022 · 6 comments
Closed

Can Sky prioritize regions with quota available? #664

infwinston opened this issue Mar 30, 2022 · 6 comments

Comments

@infwinston
Copy link
Member

infwinston commented Mar 30, 2022

Kevin's question:
I asked for V100 but Sky kept spending minutes on regions that I don't have quota.
Is there any way to specify regions for Sky to prioritize?
(my translation: sky launch is too slow)

@infwinston
Copy link
Member Author

infwinston commented Mar 30, 2022

Two possible solutions:

  1. Sky looks up quotas for each cloud and prioritize those regions/clouds with available quota.
  2. Sky lets users to specify desirable regions.

For 1) I survey a couple commands that can be useful for Sky to query quotas.

> gcloud alpha services quota list --service=compute.googleapis.com --consumer=projects/intercloud-320520 --format json
 
{
  "defaultLimit": "8",
  "dimensions": {
    "region": "us-west1"
  },
  "effectiveLimit": "8"
}

> aws service-quotas list-service-quotas --service-code ec2 --region us-east-1 --query "Quotas[*].{ServiceName:ServiceName,QuotaName:QuotaName,QuotaCode:QuotaCode,Value:Value}" --output json

{
    "ServiceName": "Amazon Elastic Compute Cloud (Amazon EC2)",
    "QuotaName": "Running On-Demand P instances",
    "QuotaCode": "L-417A185B",
    "Value": 128.0
},

> az vm list-usage --location "East US" -o table

Standard NCSv3 Family vCPUs               0               192
Standard NDSv2 Family vCPUs               0               40

each command takes 3~6s. seems reasonable.

@gmittal
Copy link
Collaborator

gmittal commented Mar 30, 2022

This may also be helpful: https://github.com/brennerm/aws-quota-checker

@github-actions
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label May 14, 2023
@infwinston
Copy link
Member Author

Being resolved by #1953!

@github-actions
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 13, 2023
@Michaelvll
Copy link
Collaborator

This should be resolved by #2187 #2187. Closing this issue now. Will file another issue for more fine-grained quota check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants