skypilot-users

Is there a way to specify multiple regions?

Like if I want to run spot instance only in US regions?

At

Attiq ur-Rehman

Asked on Nov 24, 2023

Yes, you can specify multiple regions when running spot instances. You can use the --region flag in the AWS CLI or specify the region in your code when using the AWS SDK. Here's an example using the AWS CLI:

aws ec2 run-instances --region us-west-1,us-west-2 --instance-type t2.micro --image-id ami-1234567890abcdef0
Dec 19, 2023Edited by